cancel
Showing results for 
Search instead for 
Did you mean: 

bptestbpcd fails for client name but works for ip.

Sulivan77
Level 4

I have a host name that I have in dns and in /etc/hosts.  I ping it, and get the right ip, I nslookup on it and get the right ip.  

 

I bptestbpcd to the name and it fails 25, if  I do to the ip address and it works great.  I've cleared the host cache, I've validated dns, host, etc.  Ideas?

 

Sully 

fail output. system name replaced with fqdn.name placeholder. 

 bptestbpcd -host fqdn.name -verbose -debug
08:56:26.128 [21034] <2> bptestbpcd: VERBOSE = 0
08:59:35.131 [21034] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 110 0x6e
08:59:47.130 [21034] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 110 0x6e
08:59:59.130 [21034] <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 110 0x6e
 <8> async_connect: [vnet_connect.c:1653] getsockopt SO_ERROR returned 110 0x6e09:01:27.134 [21034] <8> async_connect: [vnet_connect.c:1219] ran out of time before connect 301 0x12d
09:01:27.134 [21034] <8> async_connect: [vnet_connect.c:1219] ran out of time before connect 301 0x12d
09:01:27.135 [21034] <8> async_connect: [vnet_connect.c:1219] ran out of time before connect 301 0x12d
09:01:27.135 [21034] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED
        status: FAILED, (44) CONNECT_TIMEOUT; system: (115) Operation now in progress; FROM 10.204.131.17 TO fqdn.name10.207.147.33 bpcd VIA pbx
        status: FAILED, (44) CONNECT_TIMEOUT; system: (115) Operation now in progress; FROM 10.204.131.17 TO fqdn.name 10.207.147.33 bpcd VIA vnetd
        status: FAILED, (44) CONNECT_TIMEOUT; system: (115) Operation now in progress; FROM 10.204.131.17 TO fqdn.name 10.207.147.33 bpcd
09:01:27.135 [21034] <8> vnet_connect_to_bpcd: [vnet_connect.c:279] connect_to_service() failed 18 0x12
09:01:27.135 [21034] <2> local_bpcr_connect: Can't connect to client fqdn.name
09:01:27.135 [21034] <2> ConnectToBPCD: bpcd_connect_and_verify(fqdn.name, fqdn.name) failed: 25
<16>bptestbpcd main: Function ConnectToBPCD(fqdn.name) failed: 25
09:01:27.135 [21034] <16> bptestbpcd main: Function ConnectToBPCD(fqdn.name) failed: 25
<2>bptestbpcd: cannot connect on socket
09:01:27.135 [21034] <2> bptestbpcd: cannot connect on socket
<2>bptestbpcd: EXIT status = 25
09:01:27.136 [21034] <2> bptestbpcd: EXIT status = 25
cannot connect on socket

 

 

3 REPLIES 3

Marianne
Moderator
Moderator
Partner    VIP    Accredited Certified

And you say 
 bptestbpcd -host 10.207.147.33 -verbose -debug
is working fine?

Have you create bpcd log on the client?

I would like to see what is logged in client's bpcd log when connection to IP address is working fine.
I assume nothing is logged when the command fails?

What does bpclntcmd commands on the client show?

bpclntcmd -self
bclntcmd -pn

 


 

mnolan
Level 6
Employee Accredited Certified

Just to confirm, the ip address NB is hitting, 10.207.147.33, is the same one you're testing manually?

If not, perhaps clear the host cache.

bpclntcmd -clear_host_cache

to pick up on your recent changes.

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

Can you try test with netcat / nc (depending on your os version)

 

netcat -zvv fqdn.name bpcd (or 1556)

netcat -zvv 10.207.147.33 bpcd (or 1556)

 

It might highlight some lookup or routing issues (even though you can connect using IP)

 

Also try iptables -F