cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot connect to socket

Vinayak_Chennur
Level 4

I unable to connect to the client through the master server VIP. In host properties of clients i have seen that while clicking on the client i am getting error Cannot connect to socket. 

below mention i have tryed still facing issue.

All ports are open bi-directionaly.

Telnet working fine from master media server to client & client to master.

Even checked whether firewall are running on client ...but firewalls are disable.

1) I verified and made sure that all configuration is in place.

2) NBU master server and Client in question are resolving to correct host names for each other.

3) Both master server and Client trying to connect on correct Ip address.

used bpclntcmd -hn, bpclntcmd -pn for point 2 and 3.

4) Cleared host cache on Media server (which is Master server) and Clinet using bpclntcmd -clear_host_cache.

5) As Master server is in Cluster and that involves multiple NICS added preffred network entry under Host Properties for Master server and ran updated bprd using bprdreq -rereadconfig.

6) Restarted Client services including pbex.

7) Tryed even restart Services on NBU Media (Master server).

 

4 REPLIES 4

watsons
Level 6

What OS & NBU version is that client? 

I would do the following to test:

1)  ping <clienthostname>   (note the IP address)

2)  bptestbpcd -client <clienthostname> -debug  (this should give you error or tell you what could be wrong - and verify if it's that IP address above)

 

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

bpcd VIA pbx status: FAILED 
bpcd VIA vnetd status: FAILED


Which port numbers did you use to test telnet? 
We see in bptestbpcd output that connection to pbx (port 1556) and vnetd (13724) are both failing.

Did you create bpcd log folder before bptestbpcd test?

Was anything written to the log file in bpcd?

Which OS on the client?

Can you confirm that pbx, vnetd and bpcd are all running?

Vinayak_Chennur
Level 4

Hi Marianne ,

 

I have seen many post reply from you and they are very helpfull....thanks ...

Kindly find the below details :

 

[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# telnet XYZ CLIENT 1556
Trying 10.150.128.217...
Connected to XYZ CLIENT.
Escape character is '^]'.

Connection closed by foreign host.
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# telnet XYZ CLIENT 13782
Trying 10.150.128.217...
Connected to XYZ CLIENT.
Escape character is '^]'.

Connection closed by foreign host.
[root@ABCCLIENT admincmd]# cd ..
[root@ABCCLIENT bin]# ./bpclntcmd -clear_host_cache
[root@ABCCLIENT bin]# cd admincmd/
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT -verbose -debug
15:12:17.056 [6944] <2> bptestbpcd: VERBOSE = 0
15:12:17.067 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:17.067 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:17.067 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:18.068 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:18.068 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:18.068 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:20.069 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:20.069 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:20.069 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:24.069 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:24.070 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:24.070 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:32.070 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:32.071 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:32.071 [6944] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:12:32.071 [6944] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:12:32.071 [6944] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:12:32.071 [6944] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:12:32.071 [6944] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:12:32.071 [6944] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:12:32.078 [6944] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:12:32.078 [6944] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:12:32.078 [6944] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# cd ..
[root@ABCCLIENT bin]# ./bpclntcmd -clear_host_cache
[root@ABCCLIENT bin]# cd admincmd/
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT -verbose -debug
15:16:11.246 [7795] <2> bptestbpcd: VERBOSE = 0
15:16:11.257 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:11.258 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:11.258 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:12.258 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:12.259 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:12.259 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:14.259 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:14.259 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:14.260 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:18.260 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:18.260 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:18.260 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:26.261 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:26.261 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:26.261 [7795] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:16:26.262 [7795] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:16:26.262 [7795] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:16:26.262 [7795] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:16:26.262 [7795] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:16:26.262 [7795] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:16:26.270 [7795] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:16:26.270 [7795] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:16:26.270 [7795] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]# ping XYZ CLIENT
PING XYZ CLIENT (10.150.128.217) 56(84) bytes of data.

^C
--- XYZ CLIENT ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4817ms

[root@ABCCLIENT admincmd]# ping ABCCLIENT
PING ABCCLIENT (10.150.131.78) 56(84) bytes of data.
64 bytes from ABCCLIENT (10.150.131.78): icmp_seq=1 ttl=64 time=0.042 ms
64 bytes from ABCCLIENT (10.150.131.78): icmp_seq=2 ttl=64 time=0.037 ms
64 bytes from ABCCLIENT (10.150.131.78): icmp_seq=3 ttl=64 time=0.029 ms
64 bytes from ABCCLIENT (10.150.131.78): icmp_seq=4 ttl=64 time=0.026 ms
^C
--- ABCCLIENT ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3312ms
rtt min/avg/max/mdev = 0.026/0.033/0.042/0.008 ms
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# cd ../
[root@ABCCLIENT bin]#
[root@ABCCLIENT bin]#
[root@ABCCLIENT bin]# cd ../logs
[root@ABCCLIENT logs]# cd bpcd
-bash: cd: bpcd: No such file or directory
[root@ABCCLIENT logs]#
[root@ABCCLIENT logs]#
[root@ABCCLIENT logs]# mkdir bpcd
[root@ABCCLIENT logs]#
[root@ABCCLIENT logs]#
[root@ABCCLIENT logs]# cd ..
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]# echo "BPCD_VERBOSE = 5" >> bp.conf
[root@ABCCLIENT netbackup]# cat bp.conf | grep -i verbose
#VERBOSE = 5
BPCD_VERBOSE = 5
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]# cd bin/admincmd
[root@ABCCLIENT admincmd]# ./bprdreq -rereadconfig
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT -verbose -debug
15:20:27.406 [9537] <2> bptestbpcd: VERBOSE = 0
15:20:27.408 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:27.408 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:27.408 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:28.409 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:28.409 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:28.409 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:30.409 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:30.410 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:30.410 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:34.410 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:34.410 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:34.411 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:42.411 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:42.411 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:42.412 [9537] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:20:42.412 [9537] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:20:42.412 [9537] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:20:42.412 [9537] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:20:42.412 [9537] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:20:42.412 [9537] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:20:42.419 [9537] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:20:42.419 [9537] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:20:42.419 [9537] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# cd ../../logs/bpcd
[root@ABCCLIENT bpcd]# ls
[root@ABCCLIENT bpcd]# ls
[root@ABCCLIENT bpcd]# ls
root.052416_00001.log
[root@ABCCLIENT bpcd]# more root.052416_00001.log
15:20:52.220 [27340] <2> setup_debug_log: switched debug log file for bpcd
15:20:52.221 [27340] <2> daemon_resource_checker: last_brk = (nil), new_brk = 0x1058000
15:20:52.221 [27340] <2> daemon_resource_checker: last max_fd = 0, new_fd = 11
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]# cd ../
[root@ABCCLIENT logs]# cd ../
[root@ABCCLIENT netbackup]# cd bin/admincmd
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT -verbose -debug
15:21:24.364 [9960] <2> bptestbpcd: VERBOSE = 0
15:21:24.366 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:24.366 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:24.367 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:25.367 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:25.367 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:25.368 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:27.368 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:27.368 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:27.368 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:31.369 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:31.369 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:31.369 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:39.370 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:39.370 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:39.370 [9960] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:21:39.370 [9960] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:21:39.370 [9960] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:21:39.370 [9960] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:21:39.370 [9960] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:21:39.371 [9960] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:21:39.378 [9960] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:21:39.378 [9960] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:21:39.378 [9960] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]# cd ../../../
[root@ABCCLIENT openv]# cd logs/bpcd
-bash: cd: logs/bpcd: No such file or directory
[root@ABCCLIENT openv]# cd netbaclup/logs/bpcd
-bash: cd: netbaclup/logs/bpcd: No such file or directory
[root@ABCCLIENT openv]# ^C
[root@ABCCLIENT openv]#
[root@ABCCLIENT openv]#
[root@ABCCLIENT openv]#
[root@ABCCLIENT openv]#
[root@ABCCLIENT openv]# cd netbackup/logs/bpcd
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]# ls
root.052416_00001.log
[root@ABCCLIENT bpcd]# more root.052416_00001.log
15:20:52.220 [27340] <2> setup_debug_log: switched debug log file for bpcd
15:20:52.221 [27340] <2> daemon_resource_checker: last_brk = (nil), new_brk = 0x1058000
15:20:52.221 [27340] <2> daemon_resource_checker: last max_fd = 0, new_fd = 11
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]#
[root@ABCCLIENT bpcd]# cd ../../
[root@ABCCLIENT netbackup]# cd bin/admincmd
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT -verbose -debug
15:23:05.326 [10047] <2> bptestbpcd: VERBOSE = 0
15:23:05.328 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:05.328 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:05.328 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:06.328 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:06.329 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:06.329 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:08.329 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:08.330 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:08.330 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:12.330 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:12.330 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:12.331 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:20.331 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:20.331 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:20.331 [10047] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:23:20.332 [10047] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:23:20.332 [10047] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:23:20.332 [10047] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:23:20.332 [10047] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:23:20.332 [10047] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:23:20.340 [10047] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:23:20.340 [10047] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:23:20.340 [10047] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]# cd ../...
-bash: cd: ../...: No such file or directory
[root@ABCCLIENT admincmd]# cd ../..
[root@ABCCLIENT netbackup]# vi bp.conf
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]#
[root@ABCCLIENT netbackup]# cd bin/admincmd
[root@ABCCLIENT admincmd]# ./bprdreq -rereadconfig
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]#
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT  -connect_options 1 0 2 -verbose -debug
15:24:43.837 [10198] <2> bptestbpcd: VERBOSE = 0
15:24:43.839 [10198] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:24:44.839 [10198] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:24:46.839 [10198] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:24:50.840 [10198] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:24:58.840 [10198] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:24:58.840 [10198] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:24:58.841 [10198] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:24:58.841 [10198] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:24:58.841 [10198] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:24:58.841 [10198] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:24:58.848 [10198] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:24:58.848 [10198] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:24:58.848 [10198] <2> bptestbpcd: EXIT status = 25
cannot connect on socket
[root@ABCCLIENT admincmd]# ./bptestbpcd -host XYZ CLIENT  -connect_options 1 1 1 -verbose -debug
15:25:11.914 [10223] <2> bptestbpcd: VERBOSE = 0
15:25:11.915 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:11.915 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:11.916 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:12.916 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:12.916 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:12.916 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:14.917 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:14.917 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:14.917 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:18.918 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:18.918 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:18.918 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:26.918 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:26.919 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:26.919 [10223] <8> async_connect: [vnet_connect.c:1700] getsockopt SO_ERROR returned 111 0x6f
15:25:26.919 [10223] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (111) Connection refused; FROM 10.150.131.95 TO XYZ CLIENT 10.150.128.217 bpcd
15:25:26.919 [10223] <8> vnet_connect_to_bpcd: [vnet_connect.c:296] connect_to_service() failed 18 0x12
15:25:26.919 [10223] <2> local_bpcr_connect: Can't connect to client XYZ CLIENT
15:25:26.919 [10223] <2> ConnectToBPCD: bpcd_connect_and_verify(XYZ CLIENT, XYZ CLIENT) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
15:25:26.920 [10223] <16> bptestbpcd main: Function ConnectToBPCD(XYZ CLIENT) failed: 25
<16>bptestbpcd main: cannot connect on socket
15:25:26.928 [10223] <16> bptestbpcd main: cannot connect on socket
<2>bptestbpcd: cannot connect on socket
15:25:26.928 [10223] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
15:25:26.928 [10223] <2> bptestbpcd: EXIT status = 25

Vinayak_Chennur
Level 4

Hi Marianne,

 

Thanks it was due to the port issue it was not bi directionally opened....& After service restarted on client servers now i am able to connect to the servers...

 

 

thanks 

 

vinayak chennuri