Forum Discussion

Andy__'s avatar
Andy__
Level 2
8 years ago

New LINUX client connect failure

Hi, I have installed the Netbackup client on a Red Hat LINUX server, but when I attempt a backup it fails to connect with the following errors: 12/07/2016 12:34:52 - Info bpbrm (pid=8316) connect failed STATUS (18) CONNECT_FAILED 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10036) A blocking operation is currently executing. ; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA pbx 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10036) A blocking operation is currently executing. ; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA vnetd 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd 12/07/2016 12:34:52 - Error bpbrm (pid=8316) Cannot connect to rhel-dell I can ping in both directions. I’ve included some info below that seems to be relevant based on searching for the errors. Any ideas would be most welcome. Thanks. [root@rhel-dell bin]# ./bpclntcmd -self yp_get_default_domain failed: (12) Local domain name not set NIS does not seem to be running: (1) Request arguments bad gethostname() returned: rhel-dell host rhel-dell: rhel-dell at 10.129.216.55 aliases: rhel-dell 10.129.216.55 getfqdn(rhel-dell) returned: rhel-dell.ptcorp.local [root@rhel-dell bin]# ./bpclntcmd -pn expecting response from server spcdcbkp001 rhel-dell rhel-dell 10.129.216.55 55137 [root@rhel-dell bin]# ./bpclntcmd -ip 10.129.216.55 host 10.129.216.55: rhel-dell at 10.129.216.55 aliases: rhel-dell 10.129.216.55 [root@rhel-dell bin]# ./bpclntcmd -sv 7.6 [root@rhel-dell bin]# cat ../bp.conf SERVER = spcdcbkp001 CLIENT_NAME = rhel-dell CONNECT_OPTIONS = localhost 1 0 2 [root@rhel-dell bin]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT icmp -- anywhere anywhere ACCEPT all -- anywhere anywhere ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh REJECT all -- anywhere anywhere reject-with icmp-host-prohibited Chain FORWARD (policy ACCEPT) target prot opt source destination REJECT all -- anywhere anywhere reject-with icmp-host-prohibited Chain OUTPUT (policy ACCEPT) target prot opt source destination [root@rhel-dell logs]# ps -ef|grep netb root 2676 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/vnetd -standalone root 2679 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/bpcd -standalone root 2698 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/nbdisco [root@rhel-dell logs]# netstat -an|egrep 'vnetd|bpcd|1556' | grep LISTEN tcp 0 0 0.0.0.0:1556 0.0.0.0:* LISTEN tcp 0 0 :::1556 :::* LISTEN unix 2 [ ACC ] STREAM LISTENING 18116 /usr/openv/var/vnetd/terminate_vnetd.uds unix 2 [ ACC ] STREAM LISTENING 18135 /usr/openv/var/vnetd/terminate_bpcd.uds unix 2 [ ACC ] STREAM LISTENING 15563 public/cleanup unix 2 [ ACC ] STREAM LISTENING 18144 /usr/openv/var/vnetd/bpcd.uds D:\PROGRA~1\Veritas\NetBackup\bin\admincmd>bptestbpcd -verbose -debug -client rh el-dell 12:36:30.973 [7788.4324] <2> bptestbpcd: VERBOSE = 0 12:37:01.034 [7788.4324] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ ERROR returned 10060 0x274c . . 12:40:07.332 [7788.4324] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ ERROR returned 10060 0x274c 12:40:07.332 [7788.4324] <16> connect_to_service: connect failed STATUS (18) CON NECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd 12:40:07.332 [7788.4324] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12 12:40:07.332 [7788.4324] <2> local_bpcr_connect: Can't connect to client rhel-dell 12:40:07.332 [7788.4324] <2> ConnectToBPCD: bpcd_connect_and_verify(rhel-dell, rhel-dell) failed: 25 <16>bptestbpcd main: Function ConnectToBPCD(rhel-dell) failed: 25 12:40:07.332 [7788.4324] <16> bptestbpcd main: Function ConnectToBPCD(rhel-dell) failed: 25 <16>bptestbpcd main: cannot connect on socket 12:40:07.363 [7788.4324] <16> bptestbpcd main: cannot connect on socket <2>bptestbpcd: cannot connect on socket 12:40:07.379 [7788.4324] <2> bptestbpcd: cannot connect on socket <2>bptestbpcd: EXIT status = 25 12:40:07.379 [7788.4324] <2> bptestbpcd: EXIT status = 25
  • I would suggest disabling iptables to make sure that it isn't interfering.  *** I've seen that happen on local lab systems even when it appears that the connection should work looking at the iptables output.  The lab systems also exited with a status 25.

    I assume the master is also the media server in this case?

     

    *** PS - great information - might be a little easier to read if you post it as an attachment next time :)

     

  • Andy__'s avatar
    Andy__
    8 years ago

    Hi Deb,

    You are a genius.

    I stopped the iptables service and the backup has worked!

    I'll know where to come next time I have an issue.

    Thank you very much!

    Andy

10 Replies

Replies have been turned off for this discussion
  • I would suggest disabling iptables to make sure that it isn't interfering.  *** I've seen that happen on local lab systems even when it appears that the connection should work looking at the iptables output.  The lab systems also exited with a status 25.

    I assume the master is also the media server in this case?

     

    *** PS - great information - might be a little easier to read if you post it as an attachment next time :)

     

    • Andy__'s avatar
      Andy__
      Level 2

      Hi Deb,

      Thanks for the prompt reply.

      Yes the server is both a master & media server, it's also a Windows server as you've probably gathered from the output.

      I'll look into disabling the iptables firewall.....

      Thanks.

      Andy

      • Deb_Wilmot's avatar
        Deb_Wilmot
        Level 6

        I'll keep my fingers crossed.  Let us know if disabling iptables (at least for a test) allows the connection to succeed.

  • Sorry for the formatting above, hopefully this is a bit clearer:

    I have installed the Netbackup client on a Red Hat LINUX server, but when I attempt a backup it fails to connect with the following errors:

    12/07/2016 12:34:52 - Info bpbrm (pid=8316) connect failed STATUS (18) CONNECT_FAILED 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10036) A blocking operation is currently executing. ; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA pbx 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10036) A blocking operation is currently executing. ; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA vnetd 12/07/2016 12:34:52 - Info bpbrm (pid=8316) status: FAILED, (44) CONNECT_TIMEOUT; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd 12/07/2016 12:34:52 - Error bpbrm (pid=8316) Cannot connect to rhel-dell

    I can ping in both directions.

    I’ve included some info below that seems to be relevant based on searching for the errors. Any ideas would be most welcome.

    Thanks

    . [root@rhel-dell bin]# ./bpclntcmd -self

    yp_get_default_domain failed: (12) Local domain name not set

    NIS does not seem to be running: (1) Request arguments bad gethostname() returned: rhel-dell

    host rhel-dell: rhel-dell at 10.129.216.55 aliases: rhel-dell 10.129.216.55 getfqdn(rhel-dell) returned: rhel-dell.ptcorp.local

    [root@rhel-dell bin]# ./bpclntcmd -pn expecting response from server spcdcbkp001 rhel-dell rhel-dell 10.129.216.55 55137

    [root@rhel-dell bin]# ./bpclntcmd -ip 10.129.216.55

    host 10.129.216.55: rhel-dell at 10.129.216.55 aliases: rhel-dell 10.129.216.55 [root@rhel-dell bin]# ./bpclntcmd -sv 7.6 [root@rhel-dell bin]

    # cat ../bp.conf SERVER = spcdcbkp001 CLIENT_NAME = rhel-dell CONNECT_OPTIONS = localhost 1 0 2 [root@rhel-dell bin]

    # iptables -L

    Chain INPUT (policy ACCEPT)

    target prot opt source destination

    ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED

    ACCEPT icmp -- anywhere anywhere

    ACCEPT all -- anywhere anywhere ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh

    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

    Chain FORWARD (policy ACCEPT)

    target prot opt source destination

    REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

    Chain OUTPUT (policy ACCEPT)

    target prot opt source destination

    [root@rhel-dell logs]# ps -ef|grep netb

    root 2676 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/vnetd -standalone

    root 2679 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/bpcd -standalone

    root 2698 1 0 07:21 ? 00:00:00 /usr/openv/netbackup/bin/nbdisco [root@rhel-dell logs]

    # netstat -an|egrep 'vnetd|bpcd|1556' | grep LISTEN

    tcp 0 0 0.0.0.0:1556 0.0.0.0:* LISTEN tcp 0 0 :::1556 :::* LISTEN unix 2 [ ACC ] STREAM LISTENING 18116 /usr/openv/var/vnetd/terminate_vnetd.uds unix 2 [ ACC ] STREAM LISTENING 18135 /usr/openv/var/vnetd/terminate_bpcd.uds unix 2 [ ACC ] STREAM LISTENING 15563 public/cleanup unix 2 [ ACC ] STREAM LISTENING 18144 /usr/openv/var/vnetd/bpcd.uds

    D:\PROGRA~1\Veritas\NetBackup\bin\admincmd>bptestbpcd -verbose -debug -client rh el-dell

    12:36:30.973 [7788.4324] <2> bptestbpcd: VERBOSE = 0 12:37:01.034 [7788.4324] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ ERROR returned 10060 0x274c . . 12:40:07.332 [7788.4324] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ ERROR returned 10060 0x274c 12:40:07.332 [7788.4324] <16> connect_to_service: connect failed STATUS (18) CON NECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO rhel-dell 10.129.216.55 bpcd 12:40:07.332 [7788.4324] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12 12:40:07.332 [7788.4324] <2> local_bpcr_connect: Can't connect to client rhel-dell 12:40:07.332 [7788.4324] <2> ConnectToBPCD: bpcd_connect_and_verify(rhel-dell, rhel-dell) failed: 25 <16>bptestbpcd main: Function ConnectToBPCD(rhel-dell) failed: 25 12:40:07.332 [7788.4324] <16> bptestbpcd main: Function ConnectToBPCD(rhel-dell) failed: 25 <16>bptestbpcd main: cannot connect on socket 12:40:07.363 [7788.4324] <16> bptestbpcd main: cannot connect on socket <2>bptestbpcd: cannot connect on socket 12:40:07.379 [7788.4324] <2> bptestbpcd: cannot connect on socket <2>bptestbpcd: EXIT status = 25 12:40:07.379 [7788.4324] <2> bptestbpcd: EXIT status = 25