Forum Discussion

Sharad_Singh7's avatar
10 years ago

Backup getting failed with error 59

Backup getting failed with error 59 from a particular media server while from  rest of media servers backups are fine.

 

Client's bp.conf entry:

 

[!]e3015382: cat bp.conf
SERVER = mkefislnbuma01-bkup.fnfis.com
SERVER = mkefislnbums02-bkup.fnfis.com
SERVER = mkefislnbums01-bkup.fnfis.com
SERVER = mkefiswnbums01-bkup.fnfis.com
REQUIRED_INTERFACE = mkeux418-bkup.fnfis.com
CLIENT_NAME = mkeux418-bkup.fnfis.com
REVERSE_NAME_LOOKUP = PROHIBITED
CLIENT_RESERVED_PORT_WINDOW = 512 1023

 

Media server from which backup is getting failed ---mkefiswnbums01-bkup.fnfis.com

 

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd -client mkeux418-bkup
.fnfis.com -debug
09:52:58.047 [13256.9380] <2> bptestbpcd: VERBOSE = 0
09:52:58.047 [13256.9380] <2> ConnectionCache::connectAndCache: Acquiring new co
nnection for host mkefislnbuma01.corp.efunds.com, query type 223
09:52:58.078 [13256.9380] <2> vnet_pbxConnect: pbxConnectEx Succeeded
09:52:58.078 [13256.9380] <2> logconnections: BPDBM CONNECT FROM 10.80.32.76.580
67 TO 10.80.32.73.1556 fd = 584
09:52:58.094 [13256.9380] <2> db_CLIENTsend: reset client protocol version from
0 to 7
09:52:58.141 [13256.9380] <2> db_end: Need to collect reply
09:52:58.141 [13256.9380] <2> db_freeEXDB_INFO: ?
09:52:58.141 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.141 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\14c\d1
e5a54c+0,1,2,0,1,0+mkeux418-bkup.fnfis.com.txt
09:52:58.234 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.234 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\14c\d1
e5a54c+veritas_pbx,1,0,2,1,0+mkeux418-bkup.fnfis.com.txt
09:52:58.265 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.265 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\1be\52
93bbe+0,1,2,0,1,0+10.80.176.26.txt
09:52:58.312 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.312 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\14c\d1
e5a54c+vnetd,1,0,2,1,0+mkeux418-bkup.fnfis.com.txt
09:52:58.343 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.343 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\14c\d1
e5a54c+bpcd,1,0,2,1,0+mkeux418-bkup.fnfis.com.txt
09:52:58.421 [13256.9380] <2> vnet_pbxConnect: ../../libvlibs/vnet_pbx.c.666: pb
xSetAddrEx/pbxConnectEx return error 0:The operation completed successfully.
09:52:58.421 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1718
: 0: vnet_pbxConnect() failed: 18 0x00000012
09:52:58.421 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1719
: 0: save_errno: 0 0x00000000
09:52:58.421 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1720
: 0: use_vnetd: 0 0x00000000
09:52:58.421 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1721
: 0: cr->vcr_service: bpcd
09:52:58.421 [13256.9380] <2> vnet_async_connect: ../../libvlibs/vnet_connect.c.
1353: 0: do_service failed: 18 0x00000012
09:52:58.624 [13256.9380] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vne
td.c.1957: 0: VN_REQUEST_SERVICE_SOCKET: 6 0x00000006
09:52:58.624 [13256.9380] <2> vnet_vnetd_service_socket: ../../libvlibs/vnet_vne
td.c.1971: 0: service: bpcd
09:52:58.858 [13256.9380] <2> logconnections: BPCD CONNECT FROM 10.80.183.227.58
069 TO 10.80.176.26.13724 fd = 624
09:52:58.858 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.858 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\1be\52
93bbe+veritas_pbx,1,0,2,1,0+10.80.176.26.txt
09:52:58.889 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
669: 0: fopen() failed: 2 0x00000002
09:52:58.889 [13256.9380] <2> file_to_addrinfo: ../../libvlibs/vnet_addrinfo.c.6
670: 0: fopen() failed: C:\Program Files\Veritas\NetBackup\var\host_cache\1be\52
93bbe+vnetd,1,0,2,1,0+10.80.176.26.txt
09:52:58.952 [13256.9380] <2> vnet_pbxConnect: ../../libvlibs/vnet_pbx.c.666: pb
xSetAddrEx/pbxConnectEx return error 0:The operation completed successfully.
09:52:58.952 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1718
: 0: vnet_pbxConnect() failed: 18 0x00000012
09:52:58.952 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1719
: 0: save_errno: 0 0x00000000
09:52:58.952 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1720
: 0: use_vnetd: 1 0x00000001
09:52:58.952 [13256.9380] <2> do_pbx_service: ../../libvlibs/vnet_connect.c.1721
: 0: cr->vcr_service: vnetd
09:52:58.952 [13256.9380] <2> vnet_async_connect: ../../libvlibs/vnet_connect.c.
1353: 0: do_service failed: 18 0x00000012
09:52:59.186 [13256.9380] <2> do_vnetd_service: ../../libvlibs/vnet_connect.c.16
75: 0: connect: VNETD CONNECT FROM 10.80.183.227.58071 TO 10.80.176.26.13724 fd
= 640
09:52:59.217 [13256.9380] <2> vnet_vnetd_connect_forward_socket_begin: ../../lib
vlibs/vnet_vnetd.c.445: 0: VN_REQUEST_CONNECT_FORWARD_SOCKET: 10 0x0000000a
09:52:59.420 [13256.9380] <2> vnet_vnetd_connect_forward_socket_begin: ../../lib
vlibs/vnet_vnetd.c.462: 0: ipc_string: 49322
09:53:00.106 [13256.9380] <2> ConnectToBPCD: bpcd_connect_and_verify(mkeux418-bk
up.fnfis.com, mkeux418-bkup.fnfis.com) failed: 46
<16>bptestbpcd main: Function ConnectToBPCD(mkeux418-bkup.fnfis.com) failed: 46
09:53:00.106 [13256.9380] <16> bptestbpcd main: Function ConnectToBPCD(mkeux418-
bkup.fnfis.com) failed: 46
<2>bptestbpcd: server not allowed access
09:53:00.106 [13256.9380] <2> bptestbpcd: server not allowed access
<2>bptestbpcd: EXIT status = 46
09:53:00.106 [13256.9380] <2> bptestbpcd: EXIT status = 46
server not allowed access

C:\Program Files\Veritas\NetBackup\bin\admincmd>

 

C:\Program Files\Veritas\NetBackup\bin>bpclntcmd -hn mkeux418-bkup.fnfis.com
host mkeux418-bkup.fnfis.com: mkeux418-bkup.fnfis.com at 10.80.176.26
aliases:     mkeux418-bkup.fnfis.com     10.80.176.26

C:\Program Files\Veritas\NetBackup\bin>bpclntcmd -ip 10.80.176.26
host 10.80.176.26: mkeux418-bkup.fnfis.com at 10.80.176.26
aliases:     mkeux418-bkup.fnfis.com     10.80.176.26

C:\Program Files\Veritas\NetBackup\bin>

 

 

Output from client 

 

 

[!]e3015382: ./bpclntcmd -hn mkefiswnbums01-bkup.fnfis.com
host mkefiswnbums01-bkup.fnfis.com: mkefiswnbums01-bkup.fnfis.com at 10.80.183.227
aliases:     mkefiswnbums01-bkup.fnfis.com     10.80.183.227

 

 

 

  • Enable the bpcd log on the client. Then rerun a bptestbpcd -client clientname. From thr media server. Then goo check the incoming IP in the bpcd log on the client. Does it resolve to the SERVER hostnames in the bp.conf ?

9 Replies

  • Enable the bpcd log on the client. Then rerun a bptestbpcd -client clientname. From thr media server. Then goo check the incoming IP in the bpcd log on the client. Does it resolve to the SERVER hostnames in the bp.conf ?
  • if possible try by adding all interfaces of server "mkefiswnbums01-bkup.fnfis.com" in bp.conf file of client.

    also check output of 

    bpclntcmd -hn mkefiswnbums01-bkup.fnfis.com

    bpclntcmd -ip ip_address_of_mkefiswnbums01-bkup.fnfis.com

    on client and see if it is resolving it.

  • If possible add the prod FQDNs and the alias small names if any in the bp.conf and run the below command from the master server.

    /usr/openv/netbackup/bin/admincmd/bpcoverage -c <client name>

    If the above command resolves with the proper output, then start the backups.

     

    Cheers...!!!

  • Can u give bpclntcmd -hn mkefislnbums02-bkup.fnfis.com o/p ..the media server from which backup is successful ?

  • A status code 59 occurs when client communicate with Master /media serer ,because client doesn`t have the Master /Media server properties properly defined in the configurtion files, /usr/openv/netbackup/bp.conf

    Then check the network connectivity between client & Media /Master , 

    telnet hostname portnumber(bpcd) from other server.

  • Why do you have this setting in the client bp.conf?

      REVERSE_NAME_LOOKUP = PROHIBITED

     

     

     

     

    From Technote (emphasis added)

    The Prohibited property indicates that the NetBackup host does not try reverse host name lookup at all. The host resolves the host names of the known server list to IP addresses using forward lookups.

    The NetBackup host then compares the IP address of the connecting server to the list of known server IP addresses.

    If the comparison fails, the NetBackup host rejects the connection from the server and the connection fails.

  • 'bpclntcmd -hn ' will only check forward name lookup.

    You need to check reverse name lookup on the client: 
    bpclntcmd -ip 10.80.183.227

    I cannot see how this will work without reverse lookup - NBU client receives connection request from media server IP address. Reverse lookup is needed to resolve IP to hostname that appears in bp.conf.

    You need client's bpcd log to see how media server IP is resolved and to see how resolved name is compared with bp.conf entries.

  • on the master server go to the host properties and check media servers are listed or not, if not then add it.

    This error occurs because client may not having the entries of master and media server in its /usr/openv/netbackup/bp.conf file..pleas emake entry of these.

    From the server use command--> telent <client>

    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.

    “bpclntcmd” is a useful utility that can be run from any Client. 

    bpclntcmd -pn


    bpclntcmd -hn <hostname_of_masterserver>

    bpclntcmd -hn <hostname_of_mediaserver>

    bpclntcmd -hn <hostname_of_client>

     

  • just enable the bpcd log on the client server. send us the bpcd logs o/p .. then only will tell u what need to add in client bp.conf entries.. as EC 59 come when client doesn`t have the Master /Media server properly defined in the bp.conf  ..