nbackup giving "connection denied" errors, not resolving DNS names

  • 3249910
  • 04-Jan-2008
  • 27-Apr-2012

Environment


Novell Open Enterprise Server 1 (OES1)
Novell Open Enterprise Server 2 (OES2)
Novell Open Enterprise Server (Linux based)

Situation

nbackup is not using the name server to resolve DNS names.
It does look in the /etc/hosts file but if it does not find it there then it
will fail with the following errors:

servername:/media/nss/VOL1 # /opt/novell/sms/bin/nbackup -cvf bufile.sidf -R x64-6.lab.novell.com -U admin.novell /media/nss/VOL/test

nbackup: Unable to retrieve the Target Service Name list from
x64-6.lab.novell.com

nbackup: Connection denied

If you add an entry to /etc/hosts for only the long name it will still fail.
10.0.0.100 x64-6.lab.novell.com

Resolution

Add an entry to /etc/hosts with the long name and a short name.
10.0.0.100 x64-6.lab.novell.com x64-6

Or use the IP address instead of the DNS name.
servername:/media/nss/VOL1 # /opt/novell/sms/bin/nbackup -cvf bufile.sidf -R 10.0.0.100 -U admin.novell /media/nss/VOL/test

Recommend putting entries in /etc/hosts on both source and destination servers.