cancel
Showing results for 
Search instead for 
Did you mean: 

Backup failure with error code 58(Linux client)

ankur1809
Level 5

I am having a client whose backup is failing with error code 58. Client is linux client. I am getting this issue from last two days only.
bptestbpcd result Error code 25(Cannot connect to socket)
telnet 13782 is also failing
bpclntcmd -ip <client IP> results OK which defines name resolution is Ok

I donot have access to the Linux client but i am sure that client is UP and running. 
Kindly suggest as what could be the reason for its failure.

1 ACCEPTED SOLUTION

Accepted Solutions

sksujeet
Level 6
Partner Accredited Certified

03:25:00.063 [12043] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA pbx
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA vnetd
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd
03:25:00.063 [12043] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 18 0x12

Please check with you system admin or network admin to check the firewall, do telnet and port query on 1556 and tell them that you are not able to connect. Ask them to open that port to get the connection going

View solution in original post

9 REPLIES 9

sksujeet
Level 6
Partner Accredited Certified

please post bptestbpcd -client -debug and bpcd logs from the client to troubleshoot.

Also check if it is failing bptestbpcd from one media server or from all the media and master servers.

do the nslookup from master/medai to client and vice versa using the name and ip and post the output

Can you do the bpclntcmd from client to master/media?

Is any thing changed recently? Any firewall on linux client.

what version of NBU/OS ?

 

Walker_Yang1
Level 5
Employee

hello,

For these similar problems, we could try the following steps to troubleshoot.

1. Check Windows Firewall is turned off, or make sure the relevant nbu ports is not blocked.

2. Check forward and reverse lookup works fine between master/media/client.

3. Using "bpclntcmd" command to verify name resolution for nbu systems.
http://www.symantec.com/docs/TECH27430

4. Using "bptestbpcd" command to test client connections.
Please create bpcd log folder on the client under /usr/openv/netbackup/logs

Run bptestbpcd again on master:
bptestbpcd -client -debug -verbose

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

5. If any changes to hostname/IP/DNS, using the following command to clear cache.
bpclntcmd -clear_host_cache

Thanks

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

NBU 7.6 will attempt connection on port 1556. 

Check that firewall is open in both directions.
If no firewall, check that OS firewall on client is stopped and disabled. On Linux that will be iptables.

ankur1809
Level 5

Please find bptestbpcd -client -debug output: 03:24:45.054 [12043] <2> bptestbpcd: VERBOSE = 0 03:24:45.054 [12043] <2> read_client: dname=OA_0, offline=0, online_at=0 offline_at=0 03:24:45.054 [12043] <2> read_client: dname=.., offline=0, online_at=0 offline_at=0 03:24:45.054 [12043] <2> read_client: dname=host_info, offline=0, online_at=0 offline_at=0 03:24:45.054 [12043] <2> read_client: dname=CO_0, offline=0, online_at=0 offline_at=0 03:24:45.054 [12043] <2> read_client: dname=., offline=0, online_at=0 offline_at=0 03:24:45.054 [12043] <2> db_freeEXDB_INFO: ? 03:24:45.058 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:45.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:45.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:46.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:46.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:46.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:48.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:48.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:48.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:52.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:52.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:24:52.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:25:00.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:25:00.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:25:00.063 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f 03:25:00.063 [12043] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd 03:25:00.063 [12043] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 18 0x12 03:25:00.063 [12043] <2> local_bpcr_connect: Can't connect to client dalapmtest 03:25:00.063 [12043] <2> ConnectToBPCD: bpcd_connect_and_verify(dalapmtest, dalapmtest) failed: 25 <16>bptestbpcd main: Function ConnectToBPCD(dalapmtest) failed: 25 03:25:00.063 [12043] <16> bptestbpcd main: Function ConnectToBPCD(dalapmtest) failed: 25 <16>bptestbpcd main: cannot connect on socket 03:25:00.072 [12043] <16> bptestbpcd main: cannot connect on socket <2>bptestbpcd: cannot connect on socket 03:25:00.072 [12043] <2> bptestbpcd: cannot connect on socket <2>bptestbpcd: EXIT status = 25 03:25:00.072 [12043] <2> bptestbpcd: EXIT status = 25 cannot connect on socket Connectivity is failing from master server and other media servers as well NSlookup result is OK. I Doubt two days before these servers were patched,may be something got changed after patching.

Michael_G_Ander
Level 6
Certified

Get hold of the linux administrator, get verification that client is up and running, get the bpcd log created on the client, run bptestbpcd again, get the resulting bpcd log file, also ask if anything was changed on the client two days ago.

The standard questions: Have you checked: 1) What has changed. 2) The manual 3) If there are any tech notes or VOX posts regarding the issue

ankur1809
Level 5

Result for bptestbpcd -client -debug:

03:24:45.054 [12043] <2> bptestbpcd: VERBOSE = 0
03:24:45.054 [12043] <2> read_client: dname=OA_0, offline=0, online_at=0 offline_at=0
03:24:45.054 [12043] <2> read_client: dname=.., offline=0, online_at=0 offline_at=0
03:24:45.054 [12043] <2> read_client: dname=host_info, offline=0, online_at=0 offline_at=0
03:24:45.054 [12043] <2> read_client: dname=CO_0, offline=0, online_at=0 offline_at=0
03:24:45.054 [12043] <2> read_client: dname=., offline=0, online_at=0 offline_at=0
03:24:45.054 [12043] <2> db_freeEXDB_INFO: ?
03:24:45.058 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:45.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:45.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:46.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:46.059 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:46.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:48.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:48.060 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:48.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:52.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:52.061 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:24:52.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:25:00.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:25:00.062 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:25:00.063 [12043] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
03:25:00.063 [12043] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA pbx
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA vnetd
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd
03:25:00.063 [12043] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 18 0x12
03:25:00.063 [12043] <2> local_bpcr_connect: Can't connect to client dalapmtest
03:25:00.063 [12043] <2> ConnectToBPCD: bpcd_connect_and_verify(dalapmtest, dalapmtest) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(dalapmtest) failed: 25
03:25:00.063 [12043] <16> bptestbpcd main: Function ConnectToBPCD(dalapmtest) failed: 25
<16>bptestbpcd main: cannot connect on socket
03:25:00.072 [12043] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
03:25:00.072 [12043] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
03:25:00.072 [12043] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

 

Connectivity failure is from master server and other media servers as well. 

nslookup result is Ok.

Two days before these servers were patched i beleive this would be the reason for the failure.

 

sksujeet
Level 6
Partner Accredited Certified

03:25:00.063 [12043] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA pbx
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd VIA vnetd
        status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO dalapmtest 10.30.5.124 bpcd
03:25:00.063 [12043] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 18 0x12

Please check with you system admin or network admin to check the firewall, do telnet and port query on 1556 and tell them that you are not able to connect. Ask them to open that port to get the connection going

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

Have you seen my post above?

NBU 7.6 will attempt connection on port 1556. 

Check that firewall is open in both directions.
If no firewall, check that OS firewall on client is stopped and disabled. On Linux that will be iptables.

ankur1809
Level 5
Issue is resolved as Linux admin checked as on VM end network was disabled.