05-02-2013 09:23 AM
I'm getting the following error bptestbpcd: EXIT status = 24
when running C:\Program Files\Veritas\NetBackup\bin>bptestbpcd -client <client> -debug -verbose
After adding Verbose = 5 in the bp.conf file and running the command I get this errror in the logs:
05-02-2013 11:15 AM
At first glance it seems to be a name resolution issue.
Make sure the server you are running the command from can forward/ reverse lookup the target, and vice-versa.
gethostbyaddr failing is the operating system complaining, nbu is just reporting the issue.
Martin
05-02-2013 11:16 AM
05-02-2013 11:58 AM
Ok, thanks for the responses. I've modified the host files on both the Linux box and the media server. I restarted the network in the Linux box and I still get the same error.
There was no entry in the hosts files in the Linux box so I added it with the media server name and IP
05-02-2013 01:39 PM
Got it working, I had to add it to the host file with the FQDN and not just the host name
05-02-2013 01:40 PM
Hmm, the good new is revaroo agreed with me, the bad news is it still doesn't work ...
From the meachine you ran the command from lets run
nbdna -phase 2
This should go out and investigate what servers it knws about from the NBU config, when it finishes it geives the location of the output (shoudl be in the 'output' directory. In there there are several files, probably the best one to look at has 'progress' in its name. This should show any failures around name resolution.
Also, in /etc/resolve.conf, for the hosts entry, does it show 'files' first.
Martin
05-03-2013 12:46 AM
Excellent. These issues are 99% of the time hostname issues and looking at the hosts file to ensure you have the IP's referenced to a hostname (and that hostname entered as a SERVER entry in the bp.conf) solves the issue.