Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Trouble with Veritas 6.5.3

Created: 18 Dec 2012 • Updated: 29 Jan 2013 | 36 comments
This issue has been solved. See solution.

OK, before you go saying I need to upgrade, I can't. We are in the middle of implementing a new product, I walked in last week and things were broken since well before I got here. To top that support ran out back in October.

 

Heres the problem. I have a client server that won't allow access by the Master. When I try to connect from the master I get and error 46. When the job tries to run at night it spits out an error 59. I have tried: (1) Unistalling and reinstalling the client (2) setting the services to automatically attempt restart upon failure (3) create a new Local account, give it local admin and backup operator rights and set it to run the 'Netbackup Client Service (4) I can see through the system event logs that the PBX service was randomly stopping, I solved that by uninstalling, rebooting, reinstalling. Still no luck. 

 

The client and master are on different domain (trust is configured), and can only talk when FQDN is used for PING. So I have them configured to talk in the client software using FQDN. 

 

Current config:

Client: webSERV1.clientdomain.com

Master: BackupMASTER.masterdomain.com

 

Set to use FQDN to talk to each other, encryption is disabled as is the Network Access Control service. The Private Branch Exchange service is staying up 100% of the time. the Client service is set to use the account 'webSERV1\netbackupadmin' with local admin privelages and backup operators privelages. 

 

The log is below:

 

01:19:03.312 [5600.3140] <2> bpcd main: offset to GMT 18000
01:19:03.312 [5600.3140] <2> bpcd main: Got socket for input 504
01:19:03.312 [5600.3140] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.3201 TO AAA.DDD.EEE.70.13724
01:19:03.312 [5600.3140] <2> bpcd main: setup_sockopts complete
01:19:03.312 [5600.3140] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 3201
01:19:03.312 [5600.3140] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:19:09.000 [5600.3140] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:19:09.000 [5600.3140] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:19:09.000 [5600.3140] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:19:09.000 [5600.3140] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
01:19:09.000 [5600.3140] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
01:19:09.000 [5600.3140] <2> bpcd main: output socket port number = 1
01:19:09.000 [5600.3140] <2> bpcd main: Duplicated vnetd socket on stderr
01:19:09.000 [5600.3140] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
01:19:09.000 [5600.3140] <2> bpcd main: VERBOSE = 0
01:19:09.000 [5600.3140] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
01:19:09.000 [5600.3140] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
01:19:09.000 [5600.3140] <16> bpcd main: Server access denied
01:19:15.578 [5164.2396] <2> bpcd main: offset to GMT 18000
01:19:15.578 [5164.2396] <2> bpcd main: Got socket for input 512
01:19:15.578 [5164.2396] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.3393 TO AAA.DDD.EEE.70.13724
01:19:15.578 [5164.2396] <2> bpcd main: setup_sockopts complete
01:19:15.578 [5164.2396] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 3393
01:19:15.578 [5164.2396] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:19:15.578 [5164.2396] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:19:15.578 [5164.2396] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:19:15.578 [5164.2396] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:19:15.578 [5164.2396] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
01:19:15.578 [5164.2396] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
01:19:15.875 [5164.2396] <2> bpcd main: output socket port number = 1
01:19:16.093 [5164.2396] <2> bpcd main: Duplicated vnetd socket on stderr
01:19:16.093 [5164.2396] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
01:19:16.093 [5164.2396] <2> bpcd main: VERBOSE = 0
01:19:16.093 [5164.2396] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
01:19:16.093 [5164.2396] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
01:19:16.093 [5164.2396] <16> bpcd main: Server access denied
01:56:35.453 [4776.5676] <2> bpcd main: offset to GMT 18000
01:56:35.453 [4776.5676] <2> bpcd main: Got socket for input 508
01:56:35.453 [4776.5676] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.3276 TO AAA.DDD.EEE.70.13724
01:56:35.453 [4776.5676] <2> bpcd main: setup_sockopts complete
01:56:35.453 [4776.5676] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 3276
01:56:35.453 [4776.5676] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:56:41.718 [4776.5676] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:56:41.718 [4776.5676] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
01:56:41.718 [4776.5676] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
01:56:41.718 [4776.5676] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
01:56:41.718 [4776.5676] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
01:56:41.718 [4776.5676] <2> bpcd main: output socket port number = 1
01:56:41.718 [4776.5676] <2> bpcd main: Duplicated vnetd socket on stderr
01:56:41.718 [4776.5676] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
01:56:41.718 [4776.5676] <2> bpcd main: VERBOSE = 0
01:56:41.718 [4776.5676] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
01:56:41.718 [4776.5676] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
01:56:41.718 [4776.5676] <16> bpcd main: Server access denied
02:11:29.156 [4536.1648] <2> bpcd main: offset to GMT 18000
02:11:29.156 [4536.1648] <2> bpcd main: Got socket for input 504
02:11:29.156 [4536.1648] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.4279 TO AAA.DDD.EEE.70.13724
02:11:29.156 [4536.1648] <2> bpcd main: setup_sockopts complete
02:11:29.156 [4536.1648] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 4279
02:11:29.156 [4536.1648] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:11:29.156 [4536.1648] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:11:29.156 [4536.1648] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:11:29.156 [4536.1648] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:11:29.156 [4536.1648] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
02:11:29.156 [4536.1648] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
02:11:29.359 [4536.1648] <2> bpcd main: output socket port number = 1
02:11:29.578 [4536.1648] <2> bpcd main: Duplicated vnetd socket on stderr
02:11:29.578 [4536.1648] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:11:29.578 [4536.1648] <2> bpcd main: VERBOSE = 0
02:11:29.578 [4536.1648] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:11:29.578 [4536.1648] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:11:29.578 [4536.1648] <16> bpcd main: Server access denied
02:23:39.015 [5208.1772] <2> bpcd main: offset to GMT 18000
02:23:39.015 [5208.1772] <2> bpcd main: Got socket for input 512
02:23:39.015 [5208.1772] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.4819 TO AAA.DDD.EEE.70.13724
02:23:39.015 [5208.1772] <2> bpcd main: setup_sockopts complete
02:23:39.015 [5208.1772] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 4819
02:23:39.015 [5208.1772] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:23:45.656 [5208.1772] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:23:45.656 [5208.1772] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:23:45.656 [5208.1772] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:23:45.656 [5208.1772] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
02:23:45.656 [5208.1772] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
02:23:45.656 [5208.1772] <2> bpcd main: output socket port number = 1
02:23:45.656 [5208.1772] <2> bpcd main: Duplicated vnetd socket on stderr
02:23:45.656 [5208.1772] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:23:45.656 [5208.1772] <2> bpcd main: VERBOSE = 0
02:23:45.656 [5208.1772] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:23:45.656 [5208.1772] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:23:45.656 [5208.1772] <16> bpcd main: Server access denied
02:35:44.828 [4880.5676] <2> bpcd main: offset to GMT 18000
02:35:44.828 [4880.5676] <2> bpcd main: Got socket for input 508
02:35:44.828 [4880.5676] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.1749 TO AAA.DDD.EEE.70.13724
02:35:44.828 [4880.5676] <2> bpcd main: setup_sockopts complete
02:35:44.843 [4880.5676] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 1749
02:35:44.843 [4880.5676] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:35:44.843 [4880.5676] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:35:44.843 [4880.5676] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:35:44.843 [4880.5676] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:35:44.843 [4880.5676] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
02:35:44.843 [4880.5676] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
02:35:45.140 [4880.5676] <2> bpcd main: output socket port number = 1
02:35:45.375 [4880.5676] <2> bpcd main: Duplicated vnetd socket on stderr
02:35:45.375 [4880.5676] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:35:45.375 [4880.5676] <2> bpcd main: VERBOSE = 0
02:35:45.375 [4880.5676] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:35:45.375 [4880.5676] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:35:45.375 [4880.5676] <16> bpcd main: Server access denied
02:48:05.421 [5408.2880] <2> bpcd main: offset to GMT 18000
02:48:05.421 [5408.2880] <2> bpcd main: Got socket for input 504
02:48:05.421 [5408.2880] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.2477 TO AAA.DDD.EEE.70.13724
02:48:05.421 [5408.2880] <2> bpcd main: setup_sockopts complete
02:48:05.421 [5408.2880] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 2477
02:48:05.421 [5408.2880] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:48:11.578 [5408.2880] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:48:11.578 [5408.2880] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
02:48:11.578 [5408.2880] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
02:48:11.578 [5408.2880] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
02:48:11.578 [5408.2880] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
02:48:11.593 [5408.2880] <2> bpcd main: output socket port number = 1
02:48:11.593 [5408.2880] <2> bpcd main: Duplicated vnetd socket on stderr
02:48:11.593 [5408.2880] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:48:11.593 [5408.2880] <2> bpcd main: VERBOSE = 0
02:48:11.593 [5408.2880] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:48:11.593 [5408.2880] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:48:11.593 [5408.2880] <16> bpcd main: Server access denied
09:42:49.437 [5200.2836] <2> bpcd main: offset to GMT 18000
09:42:49.437 [5200.2836] <2> bpcd main: Got socket for input 512
09:42:49.437 [5200.2836] <2> logconnections: BPCD ACCEPT FROM AAA.BBB.CCC.200.3350 TO AAA.DDD.EEE.70.13724
09:42:49.437 [5200.2836] <2> bpcd main: setup_sockopts complete
09:42:49.453 [5200.2836] <2> bpcd peer_hostname: Connection from host BackupMASTER.masterdomain.com (AAA.BBB.CCC.200) port 3350
09:42:49.453 [5200.2836] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
09:42:55.578 [5200.2836] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
09:42:55.578 [5200.2836] <2> bpcd valid_server: comparing ohatapemgr and BackupMASTER.masterdomain.com
09:42:55.578 [5200.2836] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)
09:42:55.578 [5200.2836] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
09:42:55.578 [5200.2836] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
09:42:55.578 [5200.2836] <2> bpcd main: output socket port number = 1
09:42:55.578 [5200.2836] <2> bpcd main: Duplicated vnetd socket on stderr
09:42:55.578 [5200.2836] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
09:42:55.578 [5200.2836] <2> bpcd main: VERBOSE = 0
09:42:55.578 [5200.2836] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
09:42:55.578 [5200.2836] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
09:42:55.578 [5200.2836] <16> bpcd main: Server access denied
 
The crappy part of this is, I've had this fix work on three other systems no problem. 

 

 

Comments 36 CommentsJump to latest comment

mph999's picture

 I coud be wrong, but this looks to be the issue ...

01:19:09.000 [5600.3140] <2> hosts_equal: gethostbyname failed for BackupMASTER.masterdomain.com: The requested name is valid, but no data of the r (0)

Seems to be some name resolution issue  - gethostbyname is a OS system call, it appears to be failing in some way.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
eagle470's picture

OK, so the systems have been added to each others host files, and still an issue. Thoughs on what else I could look at?

mph999's picture

OK, has the log chaged ?

As a change has been made, have to recheck the log I'm afraid ...

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
eagle470's picture

Negative, I kinda forgot about the host file thing. I did that late last night. I'm a little burned out on this issue here.

mph999's picture

OK, from the master run:

/usr/openv/netbackup/bin/support/nbdna - the output location of the logs is given when it finishes.

Might not tell us anything new, but until we run it we will not know.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
eagle470's picture

The master is a windows 2003 server. how do I run that command?

Will Restore's picture

On Windows systems, the directory path to this command is <install_path>\NetBackup\bin\support\nbdna

 

<install_path>  is typically C:\Program Files\

 

Will Restore -- where there is a Will there is a way

mph999's picture

... try ....\netbackup\bin\support directory.

Go from the command line, and thinking about is, run

nbdna -phase 2

If the command is not there download from here :

 

http://www.symantec.com/docs/TECH125454

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
AAlmroth's picture

Is the master in fact listed as a valid server in the NBU config on the client. Checking the log, it seems to successfully lookup the name, but it compares to a completely different name.

So on the client, what does the master server entry say in the BAR GUI?

/A

 

mph999's picture

Yes, it normally does that ..

However, good idea to check what the first SERVER entry is.

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

Opps, spot the mistake, run the nbdna from the client ...

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
revaroo's picture

Whatever the incoming IP address resolves to on the client (hostname), it's not in the clients Server list.

That is the issue.

mph999's picture

OK ... do this ...

Check on the client what the first SERVER entry is listed (in the registry).

hkey_local_machine > software > veritas >netbackup > currentversion > config

If the correct name of the master server is listed, than the name resolution is not working.

If it is not the correct name of the master server, then change it so that it is.

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Marianne's picture

We see the following on the opening post:

 

02:48:11.578 [5408.2880] <4> bpcd valid_server: BackupMASTER.masterdomain.com is not a master server
02:48:11.578 [5408.2880] <16> bpcd valid_server: BackupMASTER.masterdomain.com is not a media server either
 
So compare the actual name that you see in client's bpcd log with SERVER entries in client's registry.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION
RamNagalla's picture

along with marianne suggestion also check

if you are able to ping BackupMASTER.masterdomain.com from client

and also check by pining your Mater server IP from client and make sure that is resolving the name of your master server that you keep in  Registory.

if those are not happening, you may need to look in etc/hosts file and add the entry of the master name and IP in client hosts file.

 

Hope this helps.. 

eagle470's picture

Alright so I had to quit yesterday and go home, I was just seeing the same thing and was burned out and tired. BUT walked in this morning, went through the below steps:

 

 

Check on the client what the first SERVER entry is listed (in the registry).

hkey_local_machine > software > veritas >netbackup > currentversion > config

If the correct name of the master server is listed, than the name resolution is not working.

If it is not the correct name of the master server, then change it so that it is.

 

And it turned out I had completely missed that the log said the client was looking for BackupMASTER and  BackupMASTER.legacydomain.com. When it should have been looking for Backupmaster.masterdomain.com. Now when I looked at the registry entries it said:

 

Backupmaster

Backupmaster

 

No domains or anything. Went through the BAR entries and the only entry in there is the one for Backupmaster. I also did a search of the registry for Backupmaster.legacydomain.com and no such luck. So where is it pulling that from? I think if I fix that it should solve the issue. 

 

Will Restore's picture

in Windows Registry item

  HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\Server

change  BackupMASTER to  BackupMASTER.masterdomain.com

 

Will Restore -- where there is a Will there is a way

Marianne's picture

1. Check client's hosts file
2. Check DNS reverse lookup from client:
nslookup 'master-ip-address'.

You may want to update Client's hosts file as this is normally used first.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

eagle470's picture

OK, so I found that other registry entry under 

HKLM\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\Server

and fixed that by making sure it specified the correct server and domain.

 

I already manually input the the systems into each other's host files this morning. 

Nothing has pointed to why the client was EVER looking for MasterServer.LEGACYDOMAIN.com

It should never have been looking there in the first place as the Master Server never lived on the domain from what I'm told. I'm looking for a .dll, .cab or .ini file that may be incorrect. All settings in the registry are correct, so the registry has been ruled out. There are no references to legacydomain.com at all in the registry.

After running nslookup 'master-ip' it comes up correctly.

revaroo's picture

check in the file c:\Windows\System32\drivers\etc\hosts

Is that IP resolving the the fully qualified DNS name, if it is then that is why you are seeing it in the log.

Marianne's picture

NBU uses OS system call called 'gethostbyaddr' for reverse lookup. 

So, you need to find out what your OS uses for this system call. Default is normally hosts file, then DNS.

See: http://www.symantec.com/docs/TECH27430

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

eagle470's picture

OK, I've already added them to the host file. I'm 95% sure it was not the issue in the first place as there were no incorrect entries in the hostfile. It has to be somewhere other than DNS or the host file.

 

On a side note, as I said before I had two systems I fixed before with this method. NOW one of them have crapped out again, I'm going to set it to run logs tonight. detials to follow.

Marianne's picture

Why not just add the resolved hostname that you see in bpcd log to client's SERVER entries?

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Ah45's picture

Lets go basic

 

what are the output of

from client:

run: 

bpclntcmd -pn
bpclntcmd -hn  <master server hostname>

bpclntcmd -ip <master server ip>

bpclntcmd -self

 

from master server

 

bpclntcmd -hn  <client hostname>

bpclntcmd -ip  <client ip>

 

---------------------------------------------------------------------
netstat -an 

bptestbpcd -client <client name> -debug -verbose

----------------------------------

check client bp.conf
check client name with right interface

mansoor.sheik's picture

Hi,

Adding to Ah45, Please issue the below command.

bpclntcmd -clear_host_cache.

Marianne's picture

NBU 6.5 did not have clear_host_cache option. Was introduced in 7.0.1.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

mansoor.sheik's picture

Hi Marianne,

Thanks again for correcting me. 

eagle470's picture

OK, so I made some changes to the host file's on the servers, I tried something different on each one for the back up system. On one it now recognizes the backup server as a valid server, BUT I've run into this

 

 

01:19:16.859 [612.440] <2> bpcd main: offset to GMT 18000
01:19:16.859 [612.440] <2> bpcd main: Got socket for input 508
01:19:16.859 [612.440] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.2680 TO XXX.XXX.1.70.13724
01:19:16.859 [612.440] <2> bpcd main: setup_sockopts complete
01:19:16.859 [612.440] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 2680
01:19:16.859 [612.440] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
01:19:22.609 [612.440] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
01:19:22.609 [612.440] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
01:19:22.625 [612.440] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
01:19:22.625 [612.440] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
01:19:22.625 [612.440] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
01:19:22.625 [612.440] <2> bpcd main: output socket port number = 1
01:19:22.625 [612.440] <2> bpcd main: Duplicated vnetd socket on stderr
01:19:22.625 [612.440] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
01:19:22.625 [612.440] <2> bpcd main: VERBOSE = 0
01:19:22.625 [612.440] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
01:19:22.625 [612.440] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
01:19:22.625 [612.440] <16> bpcd main: Server access denied
01:19:38.343 [4664.5164] <2> bpcd main: offset to GMT 18000
01:19:38.343 [4664.5164] <2> bpcd main: Got socket for input 516
01:19:38.343 [4664.5164] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.3040 TO XXX.XXX.1.70.13724
01:19:38.343 [4664.5164] <2> bpcd main: setup_sockopts complete
01:19:38.343 [4664.5164] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 3040
01:19:38.343 [4664.5164] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
01:19:38.343 [4664.5164] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
01:19:38.343 [4664.5164] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
01:19:38.343 [4664.5164] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
01:19:38.343 [4664.5164] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
01:19:38.343 [4664.5164] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
01:19:38.656 [4664.5164] <2> bpcd main: output socket port number = 1
01:19:38.984 [4664.5164] <2> bpcd main: Duplicated vnetd socket on stderr
01:19:38.984 [4664.5164] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
01:19:38.984 [4664.5164] <2> bpcd main: VERBOSE = 0
01:19:38.984 [4664.5164] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
01:19:38.984 [4664.5164] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
01:19:38.984 [4664.5164] <16> bpcd main: Server access denied
02:07:58.859 [2804.4220] <2> bpcd main: offset to GMT 18000
02:07:58.859 [2804.4220] <2> bpcd main: Got socket for input 528
02:07:58.859 [2804.4220] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.3609 TO XXX.XXX.1.70.13724
02:07:58.859 [2804.4220] <2> bpcd main: setup_sockopts complete
02:07:58.859 [2804.4220] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 3609
02:07:58.859 [2804.4220] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
02:08:04.937 [2804.4220] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:08:04.937 [2804.4220] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
02:08:04.937 [2804.4220] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:08:04.937 [2804.4220] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
02:08:04.937 [2804.4220] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
02:08:04.937 [2804.4220] <2> bpcd main: output socket port number = 1
02:08:04.937 [2804.4220] <2> bpcd main: Duplicated vnetd socket on stderr
02:08:04.937 [2804.4220] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:08:04.937 [2804.4220] <2> bpcd main: VERBOSE = 0
02:08:04.937 [2804.4220] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:08:04.937 [2804.4220] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:08:04.937 [2804.4220] <16> bpcd main: Server access denied
02:21:29.328 [5324.4936] <2> bpcd main: offset to GMT 18000
02:21:29.328 [5324.4936] <2> bpcd main: Got socket for input 500
02:21:29.328 [5324.4936] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.4208 TO XXX.XXX.1.70.13724
02:21:29.328 [5324.4936] <2> bpcd main: setup_sockopts complete
02:21:29.343 [5324.4936] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 4208
02:21:29.343 [5324.4936] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
02:21:29.343 [5324.4936] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:21:29.343 [5324.4936] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
02:21:29.343 [5324.4936] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:21:29.343 [5324.4936] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
02:21:29.343 [5324.4936] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
02:21:29.640 [5324.4936] <2> bpcd main: output socket port number = 1
02:21:29.875 [5324.4936] <2> bpcd main: Duplicated vnetd socket on stderr
02:21:29.875 [5324.4936] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:21:29.875 [5324.4936] <2> bpcd main: VERBOSE = 0
02:21:29.875 [5324.4936] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:21:29.875 [5324.4936] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:21:29.875 [5324.4936] <16> bpcd main: Server access denied
02:34:40.453 [4484.5472] <2> bpcd main: offset to GMT 18000
02:34:40.453 [4484.5472] <2> bpcd main: Got socket for input 504
02:34:40.453 [4484.5472] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.4653 TO XXX.XXX.1.70.13724
02:34:40.453 [4484.5472] <2> bpcd main: setup_sockopts complete
02:34:40.453 [4484.5472] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 4653
02:34:40.453 [4484.5472] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
02:34:46.234 [4484.5472] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:34:46.234 [4484.5472] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
02:34:46.234 [4484.5472] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:34:46.234 [4484.5472] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
02:34:46.234 [4484.5472] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
02:34:46.234 [4484.5472] <2> bpcd main: output socket port number = 1
02:34:46.234 [4484.5472] <2> bpcd main: Duplicated vnetd socket on stderr
02:34:46.234 [4484.5472] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:34:46.234 [4484.5472] <2> bpcd main: VERBOSE = 0
02:34:46.234 [4484.5472] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:34:46.234 [4484.5472] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:34:46.234 [4484.5472] <16> bpcd main: Server access denied
02:47:53.843 [4164.5088] <2> bpcd main: offset to GMT 18000
02:47:53.843 [4164.5088] <2> bpcd main: Got socket for input 512
02:47:53.843 [4164.5088] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.1476 TO XXX.XXX.1.70.13724
02:47:53.843 [4164.5088] <2> bpcd main: setup_sockopts complete
02:47:53.843 [4164.5088] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 1476
02:47:53.843 [4164.5088] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
02:47:53.843 [4164.5088] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:47:53.843 [4164.5088] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
02:47:53.843 [4164.5088] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
02:47:53.843 [4164.5088] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
02:47:53.843 [4164.5088] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
02:47:54.046 [4164.5088] <2> bpcd main: output socket port number = 1
02:47:54.265 [4164.5088] <2> bpcd main: Duplicated vnetd socket on stderr
02:47:54.265 [4164.5088] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
02:47:54.265 [4164.5088] <2> bpcd main: VERBOSE = 0
02:47:54.265 [4164.5088] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
02:47:54.265 [4164.5088] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
02:47:54.265 [4164.5088] <16> bpcd main: Server access denied
03:01:11.078 [5744.5376] <2> bpcd main: offset to GMT 18000
03:01:11.078 [5744.5376] <2> bpcd main: Got socket for input 508
03:01:11.078 [5744.5376] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.2140 TO XXX.XXX.1.70.13724
03:01:11.078 [5744.5376] <2> bpcd main: setup_sockopts complete
03:01:11.093 [5744.5376] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 2140
03:01:11.093 [5744.5376] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
03:01:17.781 [5744.5376] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
03:01:17.781 [5744.5376] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
03:01:17.781 [5744.5376] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
03:01:17.781 [5744.5376] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
03:01:17.781 [5744.5376] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
03:01:17.781 [5744.5376] <2> bpcd main: output socket port number = 1
03:01:17.781 [5744.5376] <2> bpcd main: Duplicated vnetd socket on stderr
03:01:17.781 [5744.5376] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
03:01:17.781 [5744.5376] <2> bpcd main: VERBOSE = 0
03:01:17.781 [5744.5376] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
03:01:17.781 [5744.5376] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
03:01:17.781 [5744.5376] <16> bpcd main: Server access denied
 
It seem's that this line:
02:34:46.234 [4484.5472] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
 
Indicates an error. But I have no idea what that error is....
Will Restore's picture

OK, first post says

Connection from host BackupMASTER.masterdomain.com

 

and your latest post says

Connection from host Masterserver.legacydomain.com

 

which is correct?  you need to sort this out with server admins.

 

 

Will Restore -- where there is a Will there is a way

eagle470's picture

The second is now correct since I edited the host file to direct it to the legacy domain.

Yasuhisa Ishikawa's picture

gethostbyname failed for Masterserver.legacydomain.com

Please check your hosts file. There are no entry for Masterserver.legacydomain.com in hosts file.
Also check if Masterserver.legacydomain.com exists in server list(SERVER line in bp.conf).

Authorized Symantec Consultant(ASC) Data Protection in Tokyo, Japan

Marianne's picture

@eagle470 - we are stitting at comment no 31 (this one will be 32) and we are no closer to a solution for an error code that should have been solved in no more that 2 - 3 posts....

I fully understand that you don't want to post actual host names and IP addresses but without seeing what you see, it's difficult to tell you why it is still not working.

My suggestion:

Please choose someone in this thread who you trust enough to send a Private Message with real info.

Please send the following:

1. Contents of Client's hosts file.
2. The 'Server' entries in Client's registry (use regedt32 (NOT regedit) for easy-to-copy list)

3. This section of bpcd log file:

 

03:01:11.078 [5744.5376] <2> logconnections: BPCD ACCEPT FROM XXX.XXX.4.200.2140 TO XXX.XXX.1.70.13724
03:01:11.078 [5744.5376] <2> bpcd main: setup_sockopts complete
03:01:11.093 [5744.5376] <2> bpcd peer_hostname: Connection from host Masterserver.legacydomain.com (XXX.XXX.4.200) port 2140
03:01:11.093 [5744.5376] <2> bpcd valid_server: comparing Masterserver and Masterserver.legacydomain.com
03:01:17.781 [5744.5376] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
03:01:17.781 [5744.5376] <2> bpcd valid_server: comparing Masterserver.Masterdomain.com and Masterserver.legacydomain.com
03:01:17.781 [5744.5376] <2> hosts_equal: gethostbyname failed for Masterserver.legacydomain.com: The requested name is valid, but no data of the r (0)
03:01:17.781 [5744.5376] <4> bpcd valid_server: Masterserver.legacydomain.com is not a master server
03:01:17.781 [5744.5376] <16> bpcd valid_server: Masterserver.legacydomain.com is not a media server either
 
Thanks

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

eagle470's picture

For all o fyou who have helped me with this and finding where to look, thank you very much. A working backup system is the best christmas an admin could ever ask for! 

The solution was actually very simple. I simply added the Masterserver.legacydomain.com and it's IP address to the host file AND I added the Masterserver.legacydomain.com to the BAR and to the registry entries mentioned in the comments above. That enabled it to talk finally. Everything appears to be working and the one server that I tested it on intially was able to backup just fine last night. 

Today I made all the same changes to the other two systems and now they are connecting to the Master server with no issue! Thank you very much all!

mph999's picture

So my hostname lookup hunch was correct ... super, at one point I was getting a bit worried ...

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
eagle470's picture

Yeah, I just didn't have it added in enough locations correctly, and being a new environment, I was unaware that they had three NIC's setup on three different domains on the Master Server. Just took a while to figure out what I was dealing with.

Marianne's picture

@eagle470, please select one of the posts that pointed you in the right direction and mark that as solution (not your own...).

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links