Forum Discussion

Cappino's avatar
Cappino
Level 4
11 years ago

can't connect to client 58

Good Morning,

I have installed che netbackup agent on Linux x64 with OS Centos. 

I've used the same steps configuration for all server in my company.  But in this time, I have an error: can't connect to client 58.

The server ping and communicate with the master and media server, but on the GIU in the host property, the master have says "cannot connect on socket".

I have added in the bp.conf the  media server but not works.

This is the details status:

 

18-apr-2014 5.48.52 - started process bpbrm (pid=4084)
18-apr-2014 5.49.07 - Info bpbrm (pid=4084) connect failed STATUS (18) CONNECT_FAILED
18-apr-2014 5.49.07 - Info bpbrm (pid=4084)     status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO otrstestnew.cogetech.it 10.10.12.94 bpcd VIA pbx
18-apr-2014 5.49.07 - Info bpbrm (pid=4084)     status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO otrstestnew.cogetech.it 10.10.12.94 bpcd VIA vnetd
18-apr-2014 5.49.07 - Info bpbrm (pid=4084)     status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO otrstestnew.cogetech.it 10.10.12.94 bpcd
18-apr-2014 5.49.07 - Error bpbrm (pid=4084) Cannot connect to otrstestnew.it
18-apr-2014 5.49.07 - Info bpbkar (pid=0) done. status: 58: can't connect to client
18-apr-2014 5.49.07 - end writing
can't connect to client  (58)

 

 

Thanks!!

 

Regards

  • The port 1556 it's ok with telnet from client to master/media.

     

    Have you tried the other way round?
    Did you telnet from the master and media server to client on port 1556?

    bptestbpcd shows us that client is refusing all connection attempts on pbx, vnetd and  bpcd.

    Did you remember to create bpcd log folder on the client before bptestbpcd?
    Was anything logged in client's bpcd log?
    If not, there is a firewall problem - either on the client (iptables) or company firewall.

  • Is the OS firewall (iptables) stopped and disabled?

    If there is a firewall, is port 1556 open between client and master/media server(s)?

    If firewalls have been checked, do the following:

    Create bpcd folder on the client under /usr/openv/netbackup/logs.
    Check that pbx, vnetd and bpcd are running on the client.
    Check that forward and reverse lookup is working correctly between client and server(s). 
    If no DNS, check /etc/hosts entries.

    Do the following on the master:

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

    Post output as well as contents of client's bpcd log.

    If nothing is logged in bpcd on the client, there is a firewall problem.

  • Hi all and thanks for the replies.

    Iptables is disabled on the client. 

    The port 1556 it's ok with telnet from client to master/media.

    I've followed your steps and I receive this error when I starts /bptestbpcd -client otrstestnew.it -debug -verbose

     

    09:09:43.009 [29643] <2> bptestbpcd: VERBOSE = 0
    09:09:43.010 [29643] <2> read_client: dname=.., offline=0, online_at=0 offline_at=0
    09:09:43.010 [29643] <2> read_client: dname=host_info, offline=0, online_at=0 offline_at=0
    09:09:43.010 [29643] <2> read_client: dname=CO_0, offline=0, online_at=0 offline_at=0
    09:09:43.010 [29643] <2> read_client: dname=OA_0, offline=0, online_at=0 offline_at=0
    09:09:43.010 [29643] <2> read_client: dname=., offline=0, online_at=0 offline_at=0
    09:09:43.010 [29643] <2> db_freeEXDB_INFO: ?
    09:09:43.012 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:43.012 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:43.012 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:44.014 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:44.014 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:44.015 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:46.016 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:46.016 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:46.017 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:50.018 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:50.019 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:50.019 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:58.021 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:58.021 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:58.022 [29643] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 111 0x6f
    09:09:58.022 [29643] <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 otrstestnew.it 10.10.12.94 bpcd VIA pbx
            status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO otrstestnew.it 10.10.12.94 bpcd VIA vnetd
            status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 0.0.0.0 TO otrstestnew.it 10.10.12.94 bpcd
    09:09:58.022 [29643] <8> vnet_connect_to_bpcd: [vnet_connect.c:279] connect_to_service() failed 18 0x12
    09:09:58.022 [29643] <2> local_bpcr_connect: Can't connect to client otrstestnew.it
    09:09:58.022 [29643] <2> ConnectToBPCD: bpcd_connect_and_verify(otrstestnew.it, otrstestnew.it) failed: 25
    <16>bptestbpcd main: Function ConnectToBPCD(otrstestnew.it) failed: 25
    09:09:58.022 [29643] <16> bptestbpcd main: Function ConnectToBPCD(otrstestnew.it) failed: 25
    <2>bptestbpcd: cannot connect on socket
    09:09:58.022 [29643] <2> bptestbpcd: cannot connect on socket
    <2>bptestbpcd: EXIT status = 25
    09:09:58.022 [29643] <2> bptestbpcd: EXIT status = 25
    cannot connect on socket

     

    This is strange, because the configuration is the same for all servers.

     

     

  • Have you done:

    > Try to hardcode the hostname/IP on both Master/Media and Client side.

    > bptestbpcd -client <client-name> -verbose

     

    Thanks,

    Nesel

  • Would cek this http://www.symantec.com/business/support/index?page=content&id=TECH58689 may be related with your error

  • The port 1556 it's ok with telnet from client to master/media.

     

    Have you tried the other way round?
    Did you telnet from the master and media server to client on port 1556?

    bptestbpcd shows us that client is refusing all connection attempts on pbx, vnetd and  bpcd.

    Did you remember to create bpcd log folder on the client before bptestbpcd?
    Was anything logged in client's bpcd log?
    If not, there is a firewall problem - either on the client (iptables) or company firewall.

  • Hello,

     

    your problem can be an asymetric routing when you have many network interfaces or you use many VLANs in the network architecture.

    you nbu server contact your client via an network interface and your client answer on another one.

     

    If it is right, just correct client interface.

     

    Steve

     

     

     

     

  • Hi,

    thanks all for the replyes, now the problem is resolved. The problem was of network, the port was not open from master/media to client.

    Thanks Marianne, you are the best in this comminuty :)