Archivio DP: Il controllo di verifica dell'aggiornamento ha esito negativo con errore "Could not remove existing file"

Summary: Search non riesce a eseguire l'aggiornamento a una versione più recente a causa di errori riscontrati da un agente puppet.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

DPSearch non si avvia dopo un aggiornamento a una versione più recente. Lo script di verifica dell'aggiornamento riporta messaggi di errore simili ai seguenti:  

 
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




Errori generati dallo script di verifica dell'aggiornamento.

 

Cause

Il collegamento simbolico da /etc/puppet/modules/search_smart_upgrade/files/repository a /etc/puppet/repository è mancante.

Resolution

Per risolvere il problema, è possibile attenersi alla seguente procedura:

  1. Arrestare i servizi puppet e puppetmaster:
service puppet stop
service puppetmaster stop

 
  1. Creare un link simbolico:
ln /etc/puppet/modules/search_smart_upgrade/files/repository /etc/puppet/repository

 
  1. Verificare che il collegamento esista utilizzando il comando ls -l .
  2. Avviare i servizi di burattino e burattinaio:
service puppet start
service puppetmaster start


 
 

Affected Products

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 ...
Article Properties
Article Number: 000210179
Article Type: Solution
Last Modified: 22 Aug 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.