cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to connect to Netbackup host

sxs
Level 2

Hello.

I have a 2012 Server with Netbackup 8 and a 2003 Server client with netbackup 7.6.1. When I try to create a policy and add the content to make the backup, the message always appears: "Unable to connect to Netbackup host"

I have tried almost everything.Add the corresponding entries in the different hosts files.Do a port scan.Test with different users.

...and nothing works.

Can someone help me?

7 REPLIES 7

Marianne
Level 6
Partner    VIP    Accredited Certified

@sxs

NBU master does not not normally try to connect to the client during policy creation.

Can you show us screenshots of the steps that you are following to create the policy?

Please also perform the following tests:

From cmd on master and client:
bpclntcmd -hn <remote-hostname>
bpclntcmd -ip <remote-IP>

On client: 
bpclntcmd -pn

Create bpcd log folder on the client, ensure NetBackup Client Service is running, then run this command on the master:
bptestbpcd -client <client-name> -debug -verbose

Show us output of commands as well as contents of bpcd log on the client.

If you browse to select backup items for the policy, NetBackup does connect to the client. There can be reasons on both sides of the connection attempt for failure. Try the test commands that @Marianne gave you first. If you don't find the issue there, look at the bpcd log on the client to see how it may have responded to any commands from the server. On the server side, I think you will find evidence of the Java Console's attempts to browse the client in the nbsl log.

First of all thank you for your interest.

The result of bptestbpcd command:

09:28:02.450 [28864.31600] <2> bptestbpcd: VERBOSE = 009:28:32.857 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:28:33.747 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:03.748 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:04.764 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:14.748 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:44.749 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:46.765 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:29:55.765 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:30:25.766 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:30:29.781 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:30:36.766 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:31:06.767 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:31:14.782 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:31:17.767 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:31:38.767 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c09:31:38.861 [28864.31600] <16> connect_to_service: connect failed STATUS (18) CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO xxxxxxxxx xxxxxxxxx bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO xxxxxxxxx xxxxxxxxx bpcd VIA vnetd status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO xxxxxxxxx xxxxxxxxx bpcd09:31:38.861 [28864.31600] <8> vnet_connect_to_bpcd: [vnet_connect.c:305] connect_to_service() failed 18 0x1209:31:38.877 [28864.31600] <16> local_bpcr_connect: vnet_connect_to_bpcd(xxxxxxxxxx) failed: 1809:31:38.877 [28864.31600] <2> local_bpcr_connect: Can't connect to client xxxxxxxxxxx09:31:38.877 [28864.31600] <2> ConnectToBPCD: bpcd_connect_and_verify(xxxxxxxxx, xxxxxxxxx) failed: 25<16>bptestbpcd main: Function ConnectToBPCD(xxxxxxxxx) failed: 2509:31:38.939 [28864.31600] <16> bptestbpcd main: Function ConnectToBPCD(xxxxxxxxxxx) failed: 25<16>bptestbpcd main: cannot connect on socket09:31:39.002 [28864.31600] <16> bptestbpcd main: cannot connect on socket<2>bptestbpcd: cannot connect on socket09:31:39.064 [28864.31600] <2> bptestbpcd: cannot connect on socket<2>bptestbpcd: EXIT status = 2509:31:39.064 [28864.31600] <2> bptestbpcd: EXIT status = 25cannot connect on socket

 

 

Amol_Nair
Level 6
Employee
Please try to telnet from master to client and vice versa for these ports

>> From master
telnet client_name 1556
telnet client_name 13724
telnet client_name 13782

>> From client
telnet master 1556
telnet master 13782
telnet master 13724

these ports must be open bidirectionally for the connection to be successful

do ensure that nbu services are running on the client machine or telnet would fail..

Marianne
Level 6
Partner    VIP    Accredited Certified

My guess is that the output on your screen was a bit more readable. Something like a number of repeats for this line:

09:29:46.765 [28864.31600] <8> async_connect: [vnet_connect.c:1709] getsockopt SO_ERROR returned 10060 0x274c

A bit further down: 

09:31:38.861 [28864.31600] <16> connect_to_service: connect failed STATUS (18)
CONNECT_FAILED status: FAILED, (42) CONNECT_REFUSED; system: (10060) Connection timed out.; FROM 0.0.0.0 TO xxxxxxxxx xxxxxxxxx bpcd VIA pbx status: FAILED, (42) CONNECT_REFUSED; system: (10060)

09:31:38.939 [28864.31600] <16> bptestbpcd main: Function ConnectToBPCD(xxxxxxxxxxx) failed: 25 <16>bptestbpcd main: cannot connect on socket

Connection attempts were made on all of these ports:
pbx (1556)
vnetd (13724)
bpcd (13782)

TCP error 10060 is normally indication of firewall or security software preventing port connection.

You need to find out if there is a firewall between the master and client or if Windows firewall (or any other security software) on the client is preventing connection.

RBuyyan
Level 2

you need a create a token file and copy the Token file to the agent while installation and paste the key.

Marianne
Level 6
Partner    VIP    Accredited Certified

@RBuyyan wrote:

you need a create a token file and copy the Token file to the agent while installation and paste the key.


@RBuyyan

Really? 
For a W2003 client running NBU 7.6.1? 

Seems @sxs has not been back since last post on 7 Feb...