DPSearch:升级验证检查失败,并显示错误“Could not remove existing file”(无法删除现有文件)

摘要: 由于 puppet 代理遇到错误,Search 无法升级到较新版本。

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

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
上次修改时间: 22 8月 2025
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。