Forum Discussion

MaykelF0209's avatar
12 years ago

bptestbpcd: EXIT status = 25 cannot connect on socket

I'm currently runnning NB 7.5.0.4.  I'm getting the "bptestbpcd: EXIT status = 25 cannot connect on socket" error when running the commands as specified by Symantec.

I'm able to resolve from the master/media server (which is the same) see below

 

C:\Program Files\Veritas\NetBackup\bin>bpclntcmd -hn hcndc02
host hcndc02: hcndc02 at 192.168.100.226
aliases:     hcndc02     192.168.100.226
 
However I get the following when running the command and checking the logs
 
16:35:39.583 [3948.3296] <2> bpcd main: accept sock = 380
16:35:39.598 [3660.3528] <2> setup_debug_log: switched debug log file for bpcd
16:35:39.598 [3660.3528] <2> bpcd main: VERBOSE = 0
16:35:39.598 [3660.3528] <2> logparams: C:\Program Files\Veritas\NetBackup\bin\bpcd.exe -standalone 
16:35:39.598 [3660.3528] <2> process_requests: offset to GMT 18000
16:35:39.614 [3660.3528] <2> logconnections: BPCD ACCEPT FROM 192.168.100.226.61837 TO 192.168.100.226.13782 fd = 380
16:35:39.614 [3660.3528] <2> process_requests: setup_sockopts complete
16:35:39.614 [3660.3528] <2> bpcd peer_hostname: Connection from host HCNDC02.hcnetwork.org (192.168.100.226) port 61837
16:35:39.614 [3660.3528] <2> bpcd valid_server: comparing hcntape01 and HCNDC02.hcnetwork.org
16:35:39.614 [3660.3528] <4> bpcd valid_server: HCNDC02.hcnetwork.org is not a master server
16:35:39.614 [3660.3528] <16> bpcd valid_server: HCNDC02.hcnetwork.org is not a media server either
16:35:39.614 [3660.3528] <2> process_requests: output socket port number = 3291
16:35:39.614 [3660.3528] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1583] in failed file cache ERR=10109 NAME=NULL SVC=testdaemon
16:35:39.614 [3660.3528] <8> vnet_cached_get_service_port: [vnet_addrinfo.c:2387] vnet_cached_getaddrinfo failed STAT=6 RV=10109 NAME=testdaemon
16:35:39.614 [3660.3528] <8> is_pbxable_service: [vnet_connect.c:2159] vnet_cached_get_service_port() failed 6 0x6
16:35:39.614 [3660.3528] <8> is_pbxable_service: [vnet_connect.c:2160] service 3291
16:35:39.614 [3660.3528] <8> file_to_cache_item: [vnet_addrinfo.c:6555] fopen() failed ERRNO=2 FILE=C:\Program Files\Veritas\NetBackup\var\host_cache\189\fcd93f89+3291,1,400,2,1,0+192.168.100.226.txt
16:35:39.614 [3660.3528] <2> process_requests: <---- NetBackup 7.5 0 ------------initiated
16:35:39.614 [3660.3528] <2> process_requests: VERBOSE = 0
16:35:39.614 [3660.3528] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
16:35:39.614 [3660.3528] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
16:35:39.614 [3660.3528] <16> process_requests: Server access denied
16:35:39.614 [3948.3296] <2> bpcd main: accept sock = 380
16:35:39.645 [2428.3596] <2> setup_debug_log: switched debug log file for bpcd
16:35:39.645 [2428.3596] <2> bpcd main: VERBOSE = 0
16:35:39.645 [2428.3596] <2> logparams: C:\Program Files\Veritas\NetBackup\bin\bpcd.exe -standalone 
16:35:39.645 [2428.3596] <2> process_requests: offset to GMT 18000
16:35:39.645 [2428.3596] <2> logconnections: BPCD ACCEPT FROM 192.168.100.226.61839 TO 192.168.100.226.13782 fd = 380
16:35:39.645 [2428.3596] <2> process_requests: setup_sockopts complete
16:35:39.645 [2428.3596] <2> bpcd peer_hostname: Connection from host HCNDC02.hcnetwork.org (192.168.100.226) port 61839
16:35:39.645 [2428.3596] <2> bpcd valid_server: comparing hcntape01 and HCNDC02.hcnetwork.org
16:35:39.645 [2428.3596] <4> bpcd valid_server: HCNDC02.hcnetwork.org is not a master server
16:35:39.645 [2428.3596] <16> bpcd valid_server: HCNDC02.hcnetwork.org is not a media server either
16:35:39.645 [2428.3596] <2> process_requests: output socket port number = 1224
16:35:39.645 [2428.3596] <8> vnet_cached_getaddrinfo_and_update: [vnet_addrinfo.c:1583] in failed file cache ERR=10109 NAME=NULL SVC=testdaemon
16:35:39.645 [2428.3596] <8> vnet_cached_get_service_port: [vnet_addrinfo.c:2387] vnet_cached_getaddrinfo failed STAT=6 RV=10109 NAME=testdaemon
16:35:39.645 [2428.3596] <8> is_pbxable_service: [vnet_connect.c:2159] vnet_cached_get_service_port() failed 6 0x6
16:35:39.645 [2428.3596] <8> is_pbxable_service: [vnet_connect.c:2160] service 1224
16:35:39.645 [2428.3596] <8> file_to_cache_item: [vnet_addrinfo.c:6555] fopen() failed ERRNO=2 FILE=C:\Program Files\Veritas\NetBackup\var\host_cache\189\fcd93f89+1224,1,400,2,1,0+192.168.100.226.txt
16:35:39.645 [2428.3596] <2> process_requests: <---- NetBackup 7.5 0 ------------initiated
16:35:39.645 [2428.3596] <2> process_requests: VERBOSE = 0
16:35:39.645 [2428.3596] <2> bpcd exit_bpcd: exit status 46  ----------->exiting
16:35:39.645 [2428.3596] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
 
16:35:39.645 [2428.3596] <16> process_requests: Server access denied
 
 
 
 
Any help with this will be highly appreciated
 
Thanks
  • The NetBackup client service is enough but as other are dependant on that you are better to use bpdown then bpup (while no jobs are running of course)

    Also check for firewalls, Anti-Virus etc. in case anything else is blocking communications

  •  

    16:35:39.645 [2428.3596] <2> bpcd valid_server: comparing hcntape01 and HCNDC02.hcnetwork.org
    16:35:39.645 [2428.3596] <4> bpcd valid_server: HCNDC02.hcnetwork.org is not a master server
    16:35:39.645 [2428.3596] <16> bpcd valid_server: HCNDC02.hcnetwork.org is not a media server either
    Your client has a SERVER entry for  hcntape01. 
    Client has NO Server entry for HCNDC02.hcnetwork.org.
    Use same Backup Archive and Restore GUI on the Client, click on ''Edit Server list' and add HCNDC02.hcnetwork.org.
     
  • Ok thanks for the prompt response again guys.

    It was setup as you indicated, I didn't have to make any changes.

    My Master and Media server is one and the same: hcntape01

    See attached screenshots of the registry ... 

     

     

    Marianne, I have already done as you indicated.  see screenshot 3

     

    Thank you again for your help so far...

  • Your very first log on the thread says:

    16:35:39.614 [3660.3528] <2> bpcd valid_server: comparing hcntape01 and HCNDC02.hcnetwork.org
    16:35:39.614 [3660.3528] <4> bpcd valid_server: HCNDC02.hcnetwork.org is not a master server
    16:35:39.614 [3660.3528] <16> bpcd valid_server: HCNDC02.hcnetwork.org is not a media server either

    So where ever you had that from believes it is being conected to by a server named hcndc02.hcnetwork.org - it compares this to the only server it knows, hcntape01 and refuses connection

    So what where is it getting that name from, because it is that name that it is rejecting - does it have a bad hosts file entry or is your DNS playing up.

    The error 25 that this thread is about comes down to that client rejecting a connection from hcndc02 - it is that which needs to be corrected

  • Maybe you have installed it as a Media Server (or worse still a Master) - do you only have the BAR GUI available on the Start Menu or do you have an admin console as well - if so what happens when you open that up?

  • Ok so I did noticed a difference on my registry entries for different clients.  The first client everything is working perfectly (both servers are 2008 R2)

    I only have a few items on the config key (see pic 1)

    Why do I have so many more entries on the config of the server giving me the problems?

    (see pic 2 for the problematic server)

     

     

    Never mind... what creates the extra entries is selecting the client server in the BAR gui.

    Once I deselect it the entries in the registries go away, I select and they come back

     

  • No, not a media or master server. Just a client with the latest maint release

    I need to mention is a domain controller btw.  We have 5 and all other 4 are working correctly

    No admin console installed.

    I'm having to go back to not having the vnetd and bcpd ports show as open or listening

    When I run a netstat -a those ports do not show up as active ports 

    I think the problem lies there ....

    How do I make sure those ports are open and enabled.  Firewall is turned off btw... same as the other 4 DC servers that are working

     

  • You have showed 'Browser' and 'Client' entry. Not Server entries.

    bpcd log shows connection request from IP address 192.168.100.226 TO 192.168.100.226.

     

    16:35:39.614 [3660.3528] <2> logconnections: BPCD ACCEPT FROM 192.168.100.226.61837 TO 192.168.100.226.13782 fd = 380
    .....
    16:35:39.614 [3660.3528] <2> bpcd peer_hostname: Connection from host HCNDC02.hcnetwork.org (192.168.100.226) port 61837

     

    So - SAME IP address?
    This means SERVER software is installed on 
    HCNDC02 and it now wants to backup itself? 

  • Issue resolved.  

     

    Windows firewall was turned off.  I enabled Windows firewall and perform the test and it continued to fail.

    I went ahead an disabled it immediately after I performed the command it started working.

     

    For some reason when the domain setting on the firewall was turned off it didnt really "turn itself off" I guess.

    A enabled/disable of the firewall and VOILA !

     

    Thanks for your help on this matter guys !!!