PowerProtect Linux File System registration fails with "preferred address is invalid"

Riepilogo: The Linux File System Agent registration with the fully qualified domain name (FQDN) or IP fails with "preferred address is invalid."

Questo articolo si applica a Questo articolo non si applica a Questo articolo non è legato a un prodotto specifico. Non tutte le versioni del prodotto sono identificate in questo articolo.

Sintomi

The PowerProtect Data Manager is used to protect the Linux Servers with the file system agent (application agent). The application agent registration with the fully qualified domain name (FQDN) or IP fails with "preferred address is invalid."

[root@my-application-agent]# /opt/dpsapps/agentsvc/register.sh --enable
AgentService is already commissioned.
Enter the PowerProtect Data Manager server FQDN or IP address: my-ppdm.my-domain.com
The PowerProtect Data Manager server FQDN or IP address that is used by the application agent host is my-ppdm.my-domain.com
To use the Fully Qualified Domain Name (FQDN) as the preferred address for the agent host, in the PowerProtect Data Manager UI, go to Infrastructure > Application Agents and select Configure DNS Name Resolution.
Enter the preferred FQDN or IP address of the application host: my-application-agent.my-domain.com
preferred address is invalid
Enter the preferred FQDN or IP address of the application host: XXX.XXX.XXX.XXX
preferred address is invalid
Failed to get a valid preferred address of the application host even after 2 attempts. Failing registration

The name resolution between the application agent and PowerProtect Data Manager is working properly. The PowerProtect Data Manager Application Agents page shows a registration with the application agent IP address and localhost.localdomain.

PowerProtect Data Manager Application Agent page showing the localhost.localdomain entry
 

Causa

The application agents /etc/hosts file contains a 127.0.0.1 loopback entry for localhost.localdomain. The localhost.localdomain is causing the application agent configuration to use the incorrect name during the registration.

[root@my-application-agent]# cat /etc/hosts
127.0.0.1	localhost.localdomain locoalhost
::1		localhost.localdomain locoalhost
XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent

Risoluzione

The application agents /etc/hosts file lines for localhost.localdomain should be commented or updated to reflect the application agents name.

[root@my-application-agent]# cat /etc/hosts
#127.0.0.1	localhost.localdomain locoalhost
#::1		localhost.localdomain locoalhost
XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent

or

[root@my-application-agent]# cat /etc/hosts
XXX.XXX.XXX.XXX my-application-agent.my-domain.com my-application-agent
127.0.0.1	my-application-agent.my-domain.com my-application-agent
::1		my-application-agent.my-domain.com my-application-agent
Proprietà dell'articolo
Numero articolo: 000225590
Tipo di articolo: Solution
Ultima modifica: 17 nov 2025
Versione:  2
Trova risposta alle tue domande dagli altri utenti Dell
Support Services
Verifica che il dispositivo sia coperto dai Servizi di supporto.