β01-30-2013 01:51 PM
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
Solved! Go to Solution.
β01-31-2013 06:20 AM
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
β01-30-2013 02:18 PM
it looks to be a fqdn issue, maybe use hosts file so that everything resolves with short and fqdn names all round
hope this helps
β01-31-2013 05:10 AM
Thanks for your prompt response.
I've added fqdn names to the host files as you mentioned on both the media server and the client and still get cannot connect on socket = 25 error
when I run the bpclntcmd -hn command it resolves ok now, showing both aliases now: with fqdn and without
Any other ideas?
Thanks
β01-31-2013 05:31 AM
After making the hosts file changes, did you restart the Netbackup services on the media server? I have had a similar issue and even after making the changes to update the hosts file, the connection would fail until services were restarted.
β01-31-2013 06:00 AM
I did not try that. I will have to wait until the current queued jobs finish to restart services...
Which of 33 services Netbackup installs do you recommend restarting?
Thanks
β01-31-2013 06:20 AM
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
β01-31-2013 08:01 AM
Thanks for the replies guy. However after reading more troubleshooting steps to take on this Symantec link
http://www.symantec.com/business/support/index?page=content&id=TECH68832
I ran the netstat command as specified but I am unabled to find the ports listed or as in listening mode, maybe this is the problem. I uninstalled the client and re-installed it with the recommended version. I'm running 7.5 M4
Thanks
β01-31-2013 08:07 AM
I wonder, do you have the bp.conf file updated with correct server access? It will be able to resolve using bpclntcmd but won't be able to connect until it is allowed.
β01-31-2013 08:13 AM
as pointed out by epsilon your client does need to know the Master and Media server names
Initially i put this down to FQDN as there were those options
Re-reading your first post the client only seems to have hcntape01 in its server list and doesnt know the other server
edit its bp.conf file (assuming it is unix - BAR GUI if not) with the Master at the top and any other valid servers below it and it should be OK
β01-31-2013 09:56 AM
Ok, it is on Windows so I looked into the BAR Gui and the sourc client for restores was not populated
I selected it and ran the command from the media server and it still gives me error 25 sock.
See screenshot attached, I have not been able to restart the services on the media server as backup to take library it is still running. I restarted the services on the client with the issues. Other servers are communicating ok with the media server.
β01-31-2013 10:40 AM
OK - the answer is on that screen - the server line shows hcntape01
This means that client believes that server is the Master Server
The quickest way to get this right is as follows:
On the client open regedit and go to HKLM\Software\Veritas\NetBackup\CurrentVersion\Config
Look at the Browser key and Client_Name key - these should both be set to the name of the client
Next look at the Server key - double click to open it up
You should see a different servers on each line - or maybe just hcntape01?
Edit the list with the Masters name first, hit <Return> and add in a media server (if you have one)
Do this until you have the Master at the top and the Media Server below
Next re-start the client service
You should now be able to connect to it
Let me know how you get on
β01-31-2013 10:40 AM
16:35:39.645 [2428.3596] <2> bpcd valid_server: comparing hcntape01 and HCNDC02.hcnetwork.org16:35:39.645 [2428.3596] <4> bpcd valid_server: HCNDC02.hcnetwork.org is not a master server16:35:39.645 [2428.3596] <16> bpcd valid_server: HCNDC02.hcnetwork.org is not a media server either
β01-31-2013 11:00 AM
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...
β01-31-2013 11:10 AM
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
β01-31-2013 11:34 AM
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?
β01-31-2013 11:34 AM
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
β01-31-2013 11:46 AM
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
β01-31-2013 12:12 PM
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?
β01-31-2013 12:21 PM
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 !!!