cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR 59 Access to the client was not allowed

snawaz3
Level 6

one of my servers stopped backing up with an error code 59. i have attached the bpcd from the client nduhbss01 10.0.9.46. my master/media server is ndumgt001 10.0.9.171. i am not sure how to interept the log but i see 2 entries which do not seem write to me.

02:16:18.992 [4848.8064] <2> bpcd peer_hostname: Connection from host ndumgt007.ndu.edu (10.0.9.65) port 63031

02:16:18.992 [4848.8064] <2> bpcd valid_server: comparing NDUMGT001 and ndumgt007.ndu.edu

02:16:19.004 [4848.8064] <4> bpcd valid_server: ndumgt007.ndu.edu is not a master server

02:16:19.004 [4848.8064] <16> bpcd valid_server: ndumgt007.ndu.edu is not a media server either

mdumgt007 is the retina scan server. ndumgt001 10.0.9.171 is the netbackup server

15:13:01.291 [10232.10236] <4> bpcd valid_server: 10.0.9.171 is not a master server

15:13:01.291 [10232.10236] <16> bpcd valid_server: 10.0.9.171 is not a media server either

but that is not correct. ndumgt001 10.0.9.171 is the master and media server

can anyone help me out here.

Thanks

25 REPLIES 25

snawaz3
Level 6

see attach

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

02:16:19.004 [4848.8064] <16> bpcd valid_server: ndumgt007.ndu.edu is not a media server either

02:16:19.006 [5780.8620] <4> bpcd valid_server: ndumgt007.ndu.edu is not a master server

02:16:19.006 [5780.8620] <16> bpcd valid_server: ndumgt007.ndu.edu is not a media server either

 

 

02:16:18.992 [4848.8064] <2> bpcd valid_server: comparing NDUMGT001 and ndumgt007.ndu.edu

02:16:18.992 [5780.8620] <2> bpcd peer_hostname: Connection from host ndumgt007.ndu.edu (10.0.9.65) port 60729

02:16:18.992 [5780.8620] <2> bpcd valid_server: comparing NDUMGT001 and ndumgt007.ndu.edu

 

if you are sure..its the master or media server.. but the client is not aware of it.. because the entiry in registory (win) or bp.conf in unix client does not have ndumgt007.ndu.edu.

it only have NDUMGT001  in registory /bp.conf

add this entry..  and test it

 

snawaz3
Level 6

ndumgt is my master and media server. machines are win2008 r2. where do i add the entry?

snawaz3
Level 6

ndumgt001 is my master and media server.

snawaz3
Level 6

when I go Host Properties>Clients and try to connect to nduhbss01 i get the attached error

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

if your client is windows..

login to windows client 

open the registory. by start---> Run-->regedit

and  go the below path and add the server name in registory Key

HKEY_LOCAL_MACHINE\Software\VERITAS\NetBackup\CurrentVersion\Config\Server 

snawaz3
Level 6

ndumgt001 is already there in the server key

Will_Restore
Level 6

add this line

10.0.9.171  NDUMGT001

 

to client file

C:\Windows\System32\drivers\etc\hosts

 

snawaz3
Level 6

already exists

Will_Restore
Level 6

ok, please verify Name Resolution per this document

 

Name resolution should be closely analyzed if the requesting server appears in the client’s server list, but the Status 59 is still seen.  In this case, the hostname comparisons made on the client between the server list and resolved host name are not matching.
 

 

Using bpclntcmd

 

“bpclntcmd” is a useful utility that can be run from any Client.  It will help determine if name resolution is working properly from NetBackup’s perspective.


Windows command location: %install_path%\VERITAS\NetBackup\bin\

UNIX command location:  /usr/openv/netbackup/bin


Switches and variations:
 

bpclntcmd -pn

bpclntcmd -self

bpclntcmd -hn <hostname_of_masterserver>

bpclntcmd -hn <hostname_of_mediaserver>

bpclntcmd -hn <hostname_of_client>

bpclntcmd -ip <ip_of_masterserver>

bpclntcmd -ip <ip_of_mediaserver>

bpclntcmd -ip <ip_of_client>

 

Article URL http://www.symantec.com/docs/TECH39392


 

babu_beesetty
Level 4

Could you please check for forward nslookup and reverse nlookup for master/media server on client

and forward nslookup and reverse nlookup for client on master/media server.

 

could you please add master server entries to hosts file of client server and client entries to master/media server hosts file.

add this line

10.0.9.171  NDUMGT001.domain.com NDUMGT001

to client file

C:\Windows\System32\drivers\etc\hosts

Could you please provide the screen shot of Backup Archive restore window--Spedify netbackup machin-->Netbackup servers

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

you need to add ndumgt007.ndu.edu in registory..

above log is already saying that ndumgt001 is in registory... 

 

ndumgt007.ndu.edu is not in registory add it and try.. 

Marianne
Level 6
Partner    VIP    Accredited Certified

02:16:18.992 [4848.8064] <2> bpcd peer_hostname: Connection from host ndumgt007.ndu.edu (10.0.9.65) port 63031

02:16:18.992 [4848.8064] <2> bpcd valid_server: comparing NDUMGT001 and ndumgt007.ndu.edu

Seems you have a SERVER entry for NDUMGT001, but the client is resolving server's IP address to ndumgt007.ndu.edu.

You need to double-check DNS and/or hosts entries on the client. 

Oh! Connection request is received from IP address 10.0.9.65 - NOT 10.0.9.171! 

You need to find out why we are seeing this IP address!

Please do the following :

rename bpcd log on client (to ensure we have a new, clean log.

Run the following on server NDUMGT001:

bpclntcmd -self

bptestbpcd -client <client-name> -verbose -debug

Please post output of above 2 commands as well as client's bpcd log.

snawaz3
Level 6

the results are attached

Will_Restore
Level 6

Client is not resolving IP 10.0.9.171 to host NDUMGT001

 

Try pinging both the name and IP from the client. 

And run the bpclntcmd commands I mentioned above on the client.

snawaz3
Level 6

can ping mdumgt001 from the client resolves as 10.0.9.170

can ping 10.0.9.170 from client 10.0.9.46

attached are the bpclntcmd output

Will_Restore
Level 6

>> Client is not resolving IP 10.0.9.171 to host NDUMGT001

>> can ping mdumgt001 from the client resolves as 10.0.9.170

 

There is your problem. 

Will_Restore
Level 6

Extract from your log.  Please note the IP address. 

 

08:14:48.750 [5548.9456] <2> bpcd peer_hostname: Connection from host 10.0.9.171 (10.0.9.171) port 64583

08:14:48.750 [5548.9456] <2> bpcd valid_server: comparing NDUMGT001 and 10.0.9.171

08:14:48.751 [5548.9456] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6702: 0: fopen() failed: 2 0x00000002

08:14:48.751 [5548.9456] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6703: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\0e7\22bfc4e7+0,1,2,0,1,0+10.0.9.171.txt

08:14:48.755 [5548.9456] <4> bpcd valid_server: 10.0.9.171 is not a master server

08:14:48.755 [5548.9456] <16> bpcd valid_server: 10.0.9.171 is not a media server either 

snawaz3
Level 6

both ips 10.0.9.170 and 10.0.9.171 belong to master/media server. how can i force the client to connect to 10.0.9.170?