Forum Discussion

Rami_Nasser1's avatar
12 years ago

Exit Status: 48 (client hostname could not be found)

Hi all,

I have an environment consist of cluster master server windows 2008 and 5 media servers and 2 5020 appliances.I installed agent on the linux redhat client and and i added all server list to bp.conf and etc/hosts in the client and i added the client name in the master server host file.when i'm trying to ping from the client every thing working fine,but i couldnot do this from the master to client.then when i configured the policy the jobs failed with status

Exit Status: 48 (client hostname could not be found)

then I ran command bptestbpcd -client from master with -debug i got this result:

C:\Program Files\Veritas\NetBackup\bin\admincmd>bptestbpcd -client BEC13-ENC2-2
-debug
16:09:32.930 [3444.5668] <2> bptestbpcd: VERBOSE = 0
16:09:32.946 [3444.5668] <2> copy_preferred_network_list: ../../libvlibs/nbconf.
c.1610: pseudo PN for : bec12-encx-v37
16:09:32.946 [3444.5668] <2> copy_preferred_network_list: ../../libvlibs/nbconf.
c.1610: pseudo PN for : bec12-encx-v37
16:09:32.961 [3444.5668] <2> copy_preferred_network_list: ../../libvlibs/nbconf.
c.1610: pseudo PN for : bec12-encx-v37
16:10:02.963 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:10:14.964 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:10:14.964 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:10:45.965 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:10:57.966 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:10:57.966 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:11:08.982 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:11:38.984 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:11:53.984 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:11:57.985 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:12:05.001 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:12:35.002 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:12:43.002 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:12:46.003 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:13:07.004 [3444.5668] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_
ERROR returned 10060 0x274c
16:13:07.004 [3444.5668] <16> connect_to_service: connect failed STATUS (18) CON
NECT_FAILED
        status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed o
ut.; FROM 172.20.124.11 TO BEC13-ENC2-2 172.20.165.4 bpcd VIA pbx
        status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed o
ut.; FROM 172.20.124.11 TO BEC13-ENC2-2 172.20.165.4 bpcd VIA vnetd
        status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed o
ut.; FROM 172.20.124.11 TO BEC13-ENC2-2 172.20.165.4 bpcd
16:13:07.004 [3444.5668] <8> vnet_connect_to_bpcd: [vnet_connect.c:279] connect_
to_service() failed 18 0x12
16:13:07.004 [3444.5668] <2> local_bpcr_connect: Can't connect to client BEC13-E
NC2-2
16:13:07.004 [3444.5668] <2> ConnectToBPCD: bpcd_connect_and_verify(BEC13-ENC2-2
, BEC13-ENC2-2) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(BEC13-ENC2-2) failed: 25
16:13:07.004 [3444.5668] <16> bptestbpcd main: Function ConnectToBPCD(BEC13-ENC2
-2) failed: 25
<2>bptestbpcd: cannot connect on socket
16:13:07.004 [3444.5668] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
16:13:07.004 [3444.5668] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

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

 

please advice what is missed???

Regards,

  • Is status 48 now resolved?

    For some or other reason I got distracted from original status 48.

    'Client hostname not found' is resolved by adding client IP and hostname to DNS or to master and media server's hosts files as well as double-checking policy for typo errors as far as Client hostname is concerned.
    After changes to hosts files (or DNS) were made, refresh NBU host cache on master and media server:
    bpclntcmd -clear_host_cache

    Status 25 is a separate issue and points to port connectivity.
    You have selected NBU 7.5 in your opening post.
    If this is correct, you ONLY need port 1556 between master and client as well as between media server and client.

    Check that bpcd and vnetd processes as well as pbx processes on the client are running.

    This points to problem on the client:

     status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 172.20.124.11 TO BEC13-ENC2-2 172.20.165.4 bpcd VIA pbx

    Please confirm the NBU version on the client as well as processes running on the client.

    Do the following from master and media server:

    bpstestbpcd -client <client-name> -debug -verbose

16 Replies

Replies have been turned off for this discussion