DPSearch:升級驗證檢查失敗,並顯示錯誤「無法移除現有檔案」

摘要: 由於 puppet 代理程式遭遇到錯誤,搜尋無法升級至較新版本。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

DPSearch 在升級至較新版本後不會啟動。升級驗證指令檔會報告類似以下內容的錯誤訊息:  

 
Error: Could not remove existing file
Error: /Stage[main]/Search_smart_upgrade/File[/etc/puppet/repository]/ensure: change from directory to link failed: Could not remove existing file
Warning:  /Stage[main]/Search_smart_upgrade/File[/etc/puppet/status] : Skipping because of failed dependencies.
Warning:  /Stage[main]/Search_smart_upgrade/File[/usr/local/search/tmp/smart_upgrade]: Skipping because of failed dependencies
Warning:  /Stage[main]/Search_smart_upgrade/Exec[bash upgrade.sh]: Skipping because of failed dependencies




升級驗證指令檔產生的錯誤。

 

原因

/etc/puppet/modules/search_smart_upgrade/files/repository/etc/puppet/repository 的符號連結遺失。

解析度

您可以遵循下列步驟來解決此問題:

  1. 停止 puppet 和 puppetmaster 服務:
service puppet stop
service puppetmaster stop

 
  1. 建立符號連結:
ln /etc/puppet/modules/search_smart_upgrade/files/repository /etc/puppet/repository

 
  1. 使用驗證連結是否存在 ls -l 命令為貴組織設定主要和次要 IT 連絡人。
  2. 啟動 puppet 和 puppetmaster 服務:
service puppet start
service puppetmaster start


 
 

受影響的產品

Data Protection Search, PowerProtect DP4400, Data Protection Search, PowerProtect DP5300, PowerProtect DP5800, PowerProtect DP8300, PowerProtect DP8800, PowerProtect Data Protection Software, Integrated Data Protection Appliance Family , Integrated Data Protection Appliance Software, PowerProtect DP5900, PowerProtect DP8400, PowerProtect DP8900 ...
文章屬性
文章編號: 000210179
文章類型: Solution
上次修改時間: 16 5月 2026
版本:  5
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。