Forum Discussion

Venki009's avatar
Venki009
Level 4
11 years ago
Solved

Backup failing with 58

Hi Team,

Everthing is fine but bacupup failing with 58

./bptestbpcd -client SAPBACKUP -debug

17:29:28.167 [19005578] <2> bptestbpcd: VERBOSE = 0

17:29:28.169 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:28.170 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:28.171 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:29.172 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:29.172 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:29.173 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:31.173 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:31.174 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:31.174 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:35.176 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:35.177 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:35.177 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:45.822 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:45.824 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:48.824 [19005578] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 79 0x4f

17:29:48.824 [19005578] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED

        status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd VIA pbx

        status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd VIA vnetd

        status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd

17:29:48.824 [19005578] <8> vnet_connect_to_bpcd: [vnet_connect.c:279] connect_to_service() failed 18 0x12

17:29:48.824 [19005578] <2> local_bpcr_connect: Can't connect to client SAPBACKUP

17:29:48.824 [19005578] <2> ConnectToBPCD: bpcd_connect_and_verify(SAPBACKUP, SAPBACKUP) failed: 25

<16>bptestbpcd main: Function ConnectToBPCD(SAPBACKUP) failed: 25

17:29:48.824 [19005578] <16> bptestbpcd main: Function ConnectToBPCD(SAPBACKUP) failed: 25

<2>bptestbpcd: cannot connect on socket

17:29:48.825 [19005578] <2> bptestbpcd: cannot connect on socket

<2>bptestbpcd: EXIT status = 25

17:29:48.825 [19005578] <2> bptestbpcd: EXIT status = 25

cannot connect on socket

 

 

thanks

  • As per above extract - you can see that 1st attempt was made on port 1556 (pbx). That failed. 
    Then NBU on server tried port 1724 (vnetd). That failed.
    Then NBU on server tried port 13782 (bpcd). That failed.

    So, this is a firewall issue. For sure.

    Either company firewall or firewall software on the client.

    For Database Agent backup, you need bi-directional comms on port 1556 between master and client, and the same between media server and client.

4 Replies

  • Back to basics.  If the server was recently restarted, make sure the NetBackup Client service is running.
     

  •   status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd VIA pbx

            status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd VIA vnetd

            status: FAILED, (42) CONNECT_REFUSED; system: (79) A remote host refused an attempted connect operation.; FROM 0.0.0.0 TO SAPBACKUP 172.23.55.55bpcd

     

    as per these logs, It is a firewall issue.

    Disable the firwall on client or make exception for port 1556.

    What is OS of client ?

  • As per above extract - you can see that 1st attempt was made on port 1556 (pbx). That failed. 
    Then NBU on server tried port 1724 (vnetd). That failed.
    Then NBU on server tried port 13782 (bpcd). That failed.

    So, this is a firewall issue. For sure.

    Either company firewall or firewall software on the client.

    For Database Agent backup, you need bi-directional comms on port 1556 between master and client, and the same between media server and client.