Symptoms
Incorrect IP address was set in the /etc/hosts file.
NetWorker services are failing to startThe \nsr\logs\daemon.log reports:
1040723144359 MM/DD/YYYY HH:MM:SS nsrctld NSR error Scheduling restart of daemon /opt/nsr/authc-server/bin/authservice in 5 seconds
137911 MM/DD/YYYY HH:MM:SS nsrctld NSR critical Aborting startup sequence: Process /opt/nsr/rabbitmq-server-3.6.14/bin/rabbitmq-server exited in less than 10 seconds at startup: exit code 1
127108 MM/DD/YYYY HH:MM:SS nsrctld NSR critical Failed to start all daemons; shutting down...
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: Stopping and halting node rabbit@NW_SERVER_HOSTNAME
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: Error: unable to connect to node rabbit@NW_SERVER_HOSTNAME: nodedown
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq:
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: DIAGNOSTICS
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: ===========
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq:
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: attempted to contact: [rabbit@NW_SERVER_HOSTNAME]
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq:
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: rabbit@NW_SERVER_HOSTNAME:
0 MM/DD/YYYY HH:MM:SS nsrctld NSR notice rmq: * unable to connect to epmd (port 4369) on NW_SERVER_HOSTNAME: address (cannot connect to host/port)
NetWorker: How to use nsr_render_log
Cause
This issue can happen due to a hostname resolution error. Even if DNS resolves correctly with nslookup, check the NetWorker server's local hosts file for any entries for the NetWorker server.
Resolution
1. Stop any NetWorker services that started:
Linux: nsr_shutdownWindows: net stop nsrexecd /y
2. Ensure that the NetWorker server is resolving the correct FQDN, shortname, and reverse lookup (IP) addresses
a. Use nslookup to confirm FQDN, shortname, and IP address resolve correctly:
nslookup FQDNnslookup SHORT_NAMEnslookup IP_ADDRESS
b. Check the NetWorker server's local hosts file for any incorrect IP addresses/hostnames for the NetWorker server:
Linux: /etc/hostsWindows: C:\Windows\System32\drivers\etc\hosts
NOTE: Correct any incorrect entries and save the file. If a host appears multiple times in a hosts file, only the first entry is read. Avoid having multiple entries for the same system/address.
Troubleshooting DNS and Name Resolution Issues
3. Start NetWorker:
Linux: systemctl start networkerWindows: net start nsrd(*Windows only, if NMC is installed on same host): net start gstd