Forum Discussion

Lou123's avatar
Lou123
Level 3
10 years ago

backup error 227

hi all i have a fail backup , bellows result of bptestbpcd command 

bptestbpcd -client DSP071 -debug -verbose
15:50:38.550 [5957] <2> bptestbpcd: VERBOSE = 5
15:50:38.550 [5957] <2> ConnectToBPCD: db_getCLIENT(DSP071) failed: 227
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1602] in failed file cache ERR=-3 NAME=DSP071 SVC=NULL
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo: [vnet_addrinfo.c:1271] vnet_cached_getaddrinfo_and_update() failed 6 0x6
15:50:38.551 [5957] <8> vnet_same_host_and_update: [vnet_addrinfo.c:2868] vnet_cached_getaddrinfo() failed STAT=6 RV=-3 NAME2=DSP071
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1548] in failed cache ERR=-3 NAME=DSP071 SVC=NULL
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo: [vnet_addrinfo.c:1271] vnet_cached_getaddrinfo_and_update() failed 6 0x6
15:50:38.551 [5957] <8> vnet_same_host_and_update: [vnet_addrinfo.c:2868] vnet_cached_getaddrinfo() failed STAT=6 RV=-3 NAME2=DSP071
15:50:38.551 [5957] <2> local_bpcr_connect: bpcr.c.333: connect_opts = 0x01000100 connect_opts2 = 0x01000100
15:50:38.551 [5957] <2> local_bpcr_connect: bpcr.c.340: connect_opts = 0x01000100
15:50:38.551 [5957] <2> local_bpcr_connect: bpcr.c.379: daemon_port_type = 0
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1548] in failed cache ERR=-3 NAME=DSP071 SVC=NULL
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo: [vnet_addrinfo.c:1271] vnet_cached_getaddrinfo_and_update() failed 6 0x6
15:50:38.551 [5957] <8> vnet_same_host_and_update: [vnet_addrinfo.c:2861] vnet_cached_getaddrinfo() failed STAT=6 RV=-3 NAME1=DSP071
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1548] in failed cache ERR=-3 NAME=DSP071 SVC=NULL
15:50:38.551 [5957] <8> vnet_cached_getaddrinfo: [vnet_addrinfo.c:1271] vnet_cached_getaddrinfo_and_update() failed 6 0x6
15:50:38.551 [5957] <8> init_connect_recs: [vnet_connect.c:738] vnet_cached_getaddrinfo() failed STAT=6 RV=-3 HOST=DSP071
15:50:38.551 [5957] <8> connect_to_service: [vnet_connect.c:562] init_connect_recs() failed 6 0x6
15:50:38.551 [5957] <8> vnet_connect_to_bpcd: [vnet_connect.c:297] connect_to_service() failed 6 0x6
15:50:38.551 [5957] <2> local_bpcr_connect: Can't connect to client DSP071
15:50:38.551 [5957] <2> ConnectToBPCD: bpcd_connect_and_verify(DSP071, DSP071) failed: 48
<16>bptestbpcd main: Function ConnectToBPCD(DSP071) failed: 48
15:50:38.551 [5957] <16> bptestbpcd main: Function ConnectToBPCD(DSP071) failed: 48
<16>bptestbpcd main: client hostname could not be found
15:50:38.559 [5957] <16> bptestbpcd main: client hostname could not be found
<2>bptestbpcd: client hostname could not be found
15:50:38.559 [5957] <2> bptestbpcd: client hostname could not be found
<2>bptestbpcd: EXIT status = 48
15:50:38.559 [5957] <2> bptestbpcd: EXIT status = 48

 

please help !!!

 

  • Are you using DNS or hosts file for name lookup?
    Verify name lookup in these files on the Linux server:

    # grep hosts /etc/nsswitch.conf
    # cat /etc/resolv.conf
    # grep DSP071 /etc/hosts

    Please show us ping results on this server.

    # ping DSP071 

    and

    # bpclntcmd -hn DSP071 

    If you are using DNS, show output of :
    # nslookup DSP071 

  • 1. Verify if the name->IP and IP->name is correct. Sometimes false DNS entries casue issues.

    2. Verify if the client has SERVER entry in the bp.conf file for the master server / server from where you are runing the bptestbpcd. In case of Windows server it is the SERVER key in netbackup\currentversion\config hive. Again make sure the IP name is correct and it can ping.

    3. run bpclntcmd -clear_host_cache on server and client after making any changes.

    4. Add the client entry and server entries respectively in hosts file to bypass DNS if it has issues.

    5. try with FQDN of the client and see the result. 

    This issue is always around name resolution or missing SERVER entry

  • Hostname not found. Can you ping this hostname from the server? If client name was recently added to hosts file or DNS, remember to clear NBU host cache : bpclntcmd -clear_host_cache
  • yes marianne 

    i ping this hostname , i clear nbu host cache but i had the same issue 

  • Are you using DNS or hosts file for name lookup?
    Verify name lookup in these files on the Linux server:

    # grep hosts /etc/nsswitch.conf
    # cat /etc/resolv.conf
    # grep DSP071 /etc/hosts

    Please show us ping results on this server.

    # ping DSP071 

    and

    # bpclntcmd -hn DSP071 

    If you are using DNS, show output of :
    # nslookup DSP071