03-02-2012 02:55 PM
Master Server: udin06 - (Solaris10 – NBU 7.1)
Client: sdib, or sdin (two interfaces, B at end is the backup interface) – Solaris10
Backup failing with Status 25, cannot connect or socket. Through GUI hostproperties too, it doesnt connect.
IP address and Names have been changed for security reasons.
I won’t be able to provide the logs, but let me know what specifically are you loking for? Or give me sometime, i’ll change few things and would post asap. Would appreciate if it could be done without the logs cause they’re too big to change IPs and hostnames. Although the problem doesn’t seem difficult to tackle but I’ve spent days just to get this error fixed, but all in waste. Seems like a firewall issue but not sure.
All the commands were run from Master server.
Me@udin06:/usr/openv/netbackup/bin> sudo ./bpclntcmd -hn sdib01
host sdib01: sdib01.my.company.com at 192.160.170.40
aliases: sdib01.my.company.com sdib01 192.160.170.40
Me@udin06:/usr/openv/netbackup/bin> sudo ./bpclntcmd -hn sdin01
host sdin01: sdin01.my.company.com at 155.60.210.100
aliases: sdin01.my.company.com sdin01 155.60.210.100
Me@udin06:/usr/openv/netbackup/bin> sudo ./bpclntcmd -ip 192.160.170.40
host 192.160.170.40: sdib01.my.company.com at 192.160.170.40
aliases: sdib01.my.company.com 192.160.170.40
Me@udin06:/usr/openv/netbackup/bin> sudo ./bpclntcmd -ip 155.60.210.100
host 155.60.210.100: sdin01.my.company.com at 155.60.210.100
aliases: sdin01.my.company.com 155.60.210.100
-
Me@udin06:/usr/openv/netbackup/bin/admincmd> sudo ./bptestbpcd -client sdin01
<16>bptestbpcd main: Function ConnectToBPCD(sdin01) failed: 25
cannot connect on socket
ping
Me@udin06:/usr/openv/netbackup/bin/admincmd> sudo ./bptestbpcd -client sdib01
^C
-
Me@udin06:/usr/openv/netbackup/bin/admincmd> telnet sdin01 bpcd
Trying 155.60.210.100...
telnet: Unable to connect to remote host: Connection refused
Me@udin06:/usr/openv/netbackup/bin/admincmd> telnet sdib01 bpcd
Trying 192.160.170.40...
telnet: Unable to connect to remote host: Connection timed out
Solved! Go to Solution.
03-07-2012 05:11 AM
This means udin06 can not communicate with sdib01. There are no available route from udin06 to sdib01.
You should talk with network team, and OS team as well.
03-02-2012 06:58 PM
Kindly ensure the following:
03-02-2012 09:20 PM
Please create bpcd log file on client.
Run bptestbpcd again to sdib01 and post client's bpcd log file.
If you run bptestbpcd with -verbose -debug, you will notice that 1st connection attempt is on PBX (1556), then vnetd (13724). Please ensure that those 2 ports are open in both directions between server and client.
Also run the following on client and post output:
bpclntcmd -self
03-03-2012 08:47 PM
$ ./bpclntcmd -hn udin06
host udin06: udin06.my.company.com at 155.60.200.10 (0x9b60ca22)
aliases:
$ ./bpclntcmd -ip 155.60.200.10
checkhaddr: host : udin06: udin06.my.company.com at 155.60.200.10 (0x9b60ca22)
checkhaddr: aliases:
$ ./bpclntcmd -self
yp_get_default_domain failed: (6) internal yp server or client error
NIS does not seem to be running: (1) args to yp function are bad
gethostname() returned: sdib01
host sdib01: sdib01 at 192.160.170.40 (0xc0a6af4b)
aliases: sdib01.my.company.com
$ ./bpclntcmd -pn
(((no response, the client just hangs)))
03-03-2012 09:08 PM
I don't have access to client, so it would take some time. But i have a 5 days old bpcd log from client.
The NBU 6.5.5 is the old master server's (udin02) version where client used to be. the client had not been backed up for the last 10 days, am not sure before that.
...
14:44:59.975 [13160] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
14:44:59.975 [13160] <2> bpcd main: VERBOSE = 0
14:44:59.975 [13160] <2> bpcd exit_bpcd: exit status 46 ----------->exiting
14:44:59.975 [13160] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
14:44:59.975 [13160] <16> bpcd main: Server access denied
14:46:59.932 [13189] <2> bpcd main: offset to GMT 28800
14:46:59.932 [13189] <2> logconnections: BPCD ACCEPT FROM 192.160.10.70.48860 TO 192.160.170.40.13724
14:46:59.933 [13189] <2> bpcd main: setup_sockopts complete
14:46:59.934 [13189] <2> bpcd peer_hostname: Connection from host udib02.my.company.com (192.160.10.70) port 48860
14:46:59.934 [13189] <2> bpcd valid_server: comparing udin06 and udib02.my.company.com
14:46:59.938 [13189] <2> bpcd valid_server: comparing udin06.my.company.com and udib02.my.company.com
14:46:59.939 [13189] <4> bpcd valid_server: udib02.my.company.com is not a master server
14:46:59.939 [13189] <16> bpcd valid_server: udib02.my.company.com is not a media server either
14:46:59.953 [13189] <2> bpcd main: output socket port number = 1
14:46:59.991 [13189] <2> bpcd main: Duplicated vnetd socket on stderr
14:46:59.991 [13189] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
14:46:59.991 [13189] <2> bpcd main: VERBOSE = 0
14:46:59.991 [13189] <2> bpcd exit_bpcd: exit status 46 ----------->exiting
14:46:59.991 [13189] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
14:46:59.991 [13189] <16> bpcd main: Server access denied
14:48:59.950 [13267] <2> bpcd main: offset to GMT 28800
14:48:59.950 [13267] <2> logconnections: BPCD ACCEPT FROM 192.160.10.70.50647 TO 192.160.170.40.13724
14:48:59.950 [13267] <2> bpcd main: setup_sockopts complete
14:48:59.951 [13267] <2> bpcd peer_hostname: Connection from host udib02.my.company.com (192.160.10.70) port 50647
14:48:59.951 [13267] <2> bpcd valid_server: comparing udin06 and udib02.my.company.com
14:48:59.953 [13267] <2> bpcd valid_server: comparing udin06.my.company.com and udib02.my.company.com
14:48:59.954 [13267] <4> bpcd valid_server: udib02.my.company.com is not a master server
14:48:59.954 [13267] <16> bpcd valid_server: udib02.my.company.com is not a media server either
14:48:59.954 [13267] <2> bpcd main: output socket port number = 1
14:49:04.694 [13267] <2> bpcd main: Duplicated vnetd socket on stderr
14:49:04.694 [13267] <2> bpcd main: <---- NetBackup 6.5 0 ------------initiated
14:49:04.694 [13267] <2> bpcd main: VERBOSE = 0
14:49:04.694 [13267] <2> bpcd exit_bpcd: exit status 46 ----------->exiting
14:49:04.694 [13267] <4> bpcd exit_bpcd: FTL - BPCD EXIT STATUS 46
14:49:04.694 [13267] <16> bpcd main: Server access denied
...
03-03-2012 09:13 PM
03-03-2012 09:48 PM
txt file attached.
03-04-2012 09:04 AM
bptestbpcd is telling us that the server is first trying PBX (1556), then vnetd (13724), then bpcd (13782).
OLD bpcd log from client that shows connection attempt from OLD master (udib02.my.company.com) is not going to help anybody.
We need client's bpcd log file that corresponds with bptestbpcd from udin06.my.company.com.
03-04-2012 03:36 PM
^ ok that bp.conf was of the master server.
here's for the client sdin01. :|
cat bp.conf
SERVER = udin06
SERVER = udin06.my.company.com
SERVER = udib06
SERVER = udib06.my.company.com
CLIENT_NAME = sdib01
REQUIRED_INTERFACE = sdib01.my.company.com
VERBOSE = 5
DAYS_TO_KEEP_LOGS = 3
03-04-2012 03:38 PM
Ok, i got what you asked for. I ran the bptestbpcd at around 14:39:55 and it ran till 14:45:07. Providing you the BPCD log file around that time.
Lol, there is a blunder in bp.conf file at client side, but what else beside that mistake? :)
Attaching both files.
03-04-2012 08:03 PM
bpcd log looks like the master server's log. We need the client's bpcd log.
03-04-2012 09:08 PM
No, it is client's log. for sure.. :(
03-04-2012 09:10 PM
but are you sure, since i did not pull up the log, sys admin did. did ask him to get it from theclient, but may be he got confused cause i asked him to place in My server's directory which happens to be master's server in this case here.. :|
03-04-2012 11:16 PM
First entry in bpcd log is bptm being called to report tape drives. This only happens on a media server.
The only connections that are logged is the server connecting to itself:
logconnections: BPCD ACCEPT FROM 155.60.200.10.65065 TO 155.60.200.10.13782 fd = 0
03-05-2012 12:17 AM
Grrr... I so wanna smack the sys admin now. :(
Wait lemme get the client one now. :|
03-05-2012 12:36 AM
Ok, I just requested for a BPCD log of client, and its the same. May be it's not configured properly? Have a look at the bp.conf file? :)
03-05-2012 12:38 AM
I just got to know, the IP of the client is not included in any VLAN, so it cannot be backed up obviously, no? But now here am looking if there are other problems too. :(
03-05-2012 12:40 AM
This is the only entry i find relating to bptm. are you talking about this?
14:50:13.932 [29277] <2> process_requests: immed cmd = /usr/openv/netbackup/bin/bptm -delete_all_expired 1>/dev/null 2>/dev/null
03-05-2012 12:58 AM
if i mention this, would this bypass any firewall settings configured. currently i don't see anything here in Solaris10:
03-05-2012 03:42 AM
bptm binary only exists on master and media server, not on a system where only client binaries are installed. bpcd on a media server calls bptm periodically to check drive status.
If we get the actual client's bpcd log, we should be able to see if there is a port problem (/etc/hosts.allow) or hostname/SERVER entry problem.
The client's bpcd log will look similar to the 1st one that you've posted.