Code 57
Code 57
Page 1 of 7
Table of Contents
1 Detailed explanation............................................................................................................................... 3 2 Verify client software is installed and running ....................................................................................3 2.1 Windows clients.................................................................................................................................. 3 2.2 UNIX clients....................................................................................................................................... 3 2.3 Linux clients....................................................................................................................................... 4 2.4 Standalone clients.............................................................................................................................. 4 3 Windows Privileges and Rights............................................................................................................. 4 4 Name Resolution.................................................................................................................................... 5 4.1 Windows forward and reverse lookups............................................................................................... 5 4.2 UNIX forward and reverse lookups..................................................................................................... 5 5 Verify bpcd port configuration.............................................................................................................. 5 5.1 Windows services entries................................................................................................................... 5 5.2 UNIX services entries ........................................................................................................................ 6 5.2.1 UNIX and Linux systems.............................................................................................................. 6 5.2.2 Client using bpcd in standalone mode......................................................................................... 6 6 Verifying connectivity to bpcd............................................................................................................... 6 6.1 Telnet test from a Windows server..................................................................................................... 6 6.2 Telnet test from a UNIX server........................................................................................................... 6 7 Non-windows or UNIX considerations.................................................................................................. 7 7.1 NDMP policy type............................................................................................................................... 7 7.2 Catalog backup file list....................................................................................................................... 7 8 Enabling logging..................................................................................................................................... 7 9 Links........................................................................................................................................................ 7
Page 2 of 7
1 Detailed explanation
A NetBackup process was unable to connect to the NetBackup Client Service process bpcd. The NetBackup Client Service (bpcd) listens vicariously through the local service manager (like inetd in UNIX or bpinetd in Windows) on port 13782 for other NetBackup processes to contact it. The bpcd process could also be run standalone without a service manager like xinetd running. This contact can be host-to-host communication or IPC communication within a single host. If the requesting process fails to successfully connect to bpcd through port 13782, a Status 57 is generated. This can occur because there is no bpcd process listening on port 13782 or there are more connections to the bpcd port then the network subsystem can handle with the listen() call. In Figure 1, you can see how the NetBackup processes connect through bpinetd during a normal backup:
Page 3 of 7
If bpcd is not in LISTEN status then check the startup configuration. Check the /etc/inetd.conf file to ensure that inetd has been configured to find and start bpcd. Also verify the /etc/services file has the bpcd service defined. In /etc/inetd.conf, there should be an entry similar to this:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
If these entries are missing, reinstall the client software. This should add the bpcd and other required services to the inetd.conf and services file.
If this file does not exist try reinstalling the client software. This should add the bpcd and other required services to the /etc/xinetd.d directory. Check the NetBackup OS Compatibility Guide to ensure the client is running a supported version.
The standalone flag is used to make bpcd run as a persistent daemon, rather than being started automatically by inetd or xinetd.
Page 4 of 7
The default account for the NetBackup Client Service is LocalSystem. To verify what user is set go to the Start menu and select Settings > Control Panel > Administrative Tools > Services to launch the Services tool. Scroll through the Windows Services list and check what user is listed under Log On As for the NetBackup Client Service.
4 Name Resolution
NetBackup is fully dependent on accurate forward and reverse hostname resolution. Incorrect name resolution can lead to a Status Code 57 if the address resolved is that of a reachable machine that happens to not be running bpcd. Use the bpclntcmd command to test forward and reverse name resolution from the server side of the connection.
The following command can be used to test reverse IP lookup of the system.
% <install path>\netbackup\bin\bpclntcmd ip <IP Address returned by hn command>
These commands should be run from the master server and also the media server that is handling the backup. The results should display the correct hostname and IP address for the host.
The following command can be used to test reverse IP lookup of the system.
# /usr/openv/netbackup/bin/bpclntcmd ip <IP Address returned by hn command>
These commands should be run from the master server and also the media server that is handling the backup. The results should display the correct hostname and IP address for the host.
Page 5 of 7
If bpinetd/bpcd is listening, the screen will turn blank with a blinking cursor in the top left corner. Press Ctrl-c to return to a command prompt. If bpinetd/bpcd is not listening, the following message will be received:
Connecting To <hostname>...Could not open connection to the host, on port 13782 : Connect failed
This will automatically return to a prompt since a connection to bpcd could not be established.
The cursor will flash, press [Enter] to return to a command prompt. If bpcd is not listening, the following message will be received:
# telnet <hostname> 13782 Trying x.x.x.x... telnet: Unable to connect to remote host: Connection refused
This will automatically return to a prompt since a connection to bpcd could not be established.
Page 6 of 7
8 Enabling logging
There is no client logging information that will help in troubleshooting a status 57 issue. The bpcd log on the client will show nothing as thats the process that cannot be connected to. Sometimes, the system log on the client may show why bpcd is having problems starting up. Enable the bpbrm daemon the media server that is handling the backup. This will show the connection to the client. The logconnections line can be used to verify the IP address that is being connected to.
<2> logconnections: BPCD ACCEPT FROM x.x.x.x.607 TO y.y.y.y.113782
Verify the sending and receiving IP addresses match the expected hosts. These IP addresses can also be used in the bpclntcmd testing in Section 4 of this document.
9 Links
Click here to Search for other documents on Status 57
Also, click below to perform a search on the following relevant items: Status Code 57 client connection refused
Page 7 of 7