Sei sulla pagina 1di 8

Status Code: 25

Cannot connect on socket


This error occurs when a Netbackup process times out while attempting to connect to another
Netbackup process. A Status 25 can occur when a NetBackup process tries to connect to the
NetBackup Request daemon (bprd) or NetBackup Database Manager daemon (bpdbm) on the
Master Server and that daemon is not running. This error can also occur if a network or server
has slow response time or resource issues. The initial goal of troubleshooting this issue should
be to identify which machines are involved with the failure. For example, if the failure always
involves the same Client or Media Server, this is where to concentrate efforts. Once this failure
point is identified, then further troubleshooting can be done to identify the specific cause. The
most common causes are discussed in this document.

Status Code: 25 Client backup was not attempted because the backup window closed

Page 1 of

Table of Contents
1.

NetBackup processes are not responding............................................................................3


NetBackup Processes are not running.............................................................................3
The bpcd process is not listening on the client.................................................................3
Server List Issues................................................................................................................. 5
Network Communication issues.............................................................................................. 6
3.1
Ensuring communication to bpcd.....................................................................................6
3.2
Firewall............................................................................................................................ 6
3.3
Name Resolution............................................................................................................. 7
System Resource issues........................................................................................................ 7
4.1 Minimum System Requirements.......................................................................................7
4.2 RAM and CPU.................................................................................................................. 7
4.3 Drive Fragmentation (Windows).......................................................................................8
Links...................................................................................................................................... 8
1.1
1.2

2.
3.

4.

5.

Status Code: 25 Client backup was not attempted because the backup window closed

Page 2 of

NetBackup processes are not responding

1.1 NetBackup Processes are not running


A connection can not be made to a process if that process is not running. It is important to
ensure that processes are running on the Master Server. Recall from above that if the
NetBackup Request Manager (bprd) and NetBackup Database Manager (bpdbm) are not
running, the Status 25 can occur.
Ensuring that processes are running on a Windows Master Server:
1. From the desktop, right-click on My Computer and choose Manage.
2. Expand Services and Applications and highlight Services.
3. Locate the NetBackup services and verify that they are started.
4. If services are not started, right-click on the service(s) and choose Start.
Ensuring that processes are running on a Unix Master Server:
Run the following command:
/usr/openv/netbackup/bin/bpps -a
This will show the running NetBackup and Media Manager Processes. Ensure that the
bprd and bpdbm processes are running.
Additionally, the command below will check for bpcd and bpjava processes:
netstat -a |grep bp
If any necessary daemons are not running on the UNIX machine, start them with
the following command:
# /usr/openv/netbackup/bin/goodies/netbackup start

1.2 The bpcd process is not listening on the client


If the bpcd process on a client is not listening, a Status 25 can occur.
Run the command below on the client to check if the bpcd port is listening:
Windows: netstat -a > c:\netstat.txt
UNIX: netstat a > /tmp/netstat.out
The text file that gets created should list processes that are running (bpcd,
vnetd, vopied, bpjava-msvc). Search this file to determine if bpcd is in a
listen or listening status:
Windows: TCP hostname:bpcd hostname.domain.com:0 LISTENING
UNIX:
*bpcd *.* 0 0 49152 LISTEN
If bpcd isnt listening, it may need to be stopped and restarted. Within Windows, bpcd can
be cycled by stopping and restarting the Client service.
In a UNIX environment, bpcd is controlled by the UNIX inetd/xinetd service daemon. If
bpcd is not listening, then inetd/xinetd may need to be restarted to reread its config files
(/etc/inetd.conf).

Status Code: 25 Client backup was not attempted because the backup window closed

Page 3 of

1.3 General Instability

If a general instability or issue outside of NetBackup has occurred on the


NetBackup Master Server, Media Server or Client, then it may be necessary to
reboot that machine to regain functionality. In some cases, it may only be
necessary to restart the NetBackup Services/daemons. In either case, ensure
that no backup jobs or other NetBackup activity is taking place on the host prior
to rebooting or restarting services.
Restarting the services in Windows:
1. From the desktop, right-click on My Computer and choose Manage.
2. Expand Services and Applications and highlight Services.
3. Locate the NetBackup services.
4. Right-click on each NetBackup service to stop and restart.
Restarting the daemons in UNIX:
Stopping Daemons:

# /usr/openv/netbackup/bin/goodies/netbackup stop

Starting Daemons:
# /usr/openv/netbackup/bin/goodies/netbackup start

Status Code: 25 Client backup was not attempted because the backup window closed

Page 4 of

2. Server List Issues


Verify that the NetBackup Master Servers hostname is listed first (In Unix) or
as current (in Windows) in the server list on the Client or Media Servers
involved with the issue. Follow the appropriate platform-specific instructions
below to verify the proper placement of the Master Server name in the server
list.
UNIX Clients and Media Servers
Edit the /usr/openv/netbackup/bp.conf file and ensure that there is a
SERVER= line for any Master and Media Servers that connect to the
machine in question. The Master Server name should be the first SERVER
entry in the server list, followed by an entry for any Media Servers that will
connect to this machine.
Example bp.conf excerpt:
SERVER = NBUMASTER
SERVER = NBUMEDIA01
SERVER = NBUMEDIA02

NetWare and OS/2 Clients


The instructions for Netware and OS/2 are nearly the same. Add or change
SERVER entries in the Sys\openv\netback\bp.ini file as needed.
Windows Clients and Media Servers
Ensure proper server list configuration on Windows Clients and Media Servers
by doing the following:
1. Open the Backup, Archive, and Restore interface on the machine in
question.
2. Select File > Specify NetBackup Machines and Policy Type.
3. Select the Servers tab.
4. Verify that the according Master and Media Server(s) are added to this
server list, and that the Master Server is set as current.
5. Click OK after adding any needed servers and then exit Backup, Archive
and Restore.
Note: If server entries are modified on a NetBackup Master Server, it is necessary
to stop and restart NetBackup services/processes. Services/processes do not need
to be restarted on a Media Server or Client after updating the server list.

Status Code: 25 Client backup was not attempted because the backup window closed

Page 5 of

3. Network Communication issues


If the above services are running, identify which hosts are involved with the communication
failure. Examine the All Log Entries or Problems reports in the NetBackup Administration
Console for more detail. Also, view the logging information detailed in the flow chart above
for error and failure information. These logs are important in order to determine the
underlying problem.

3.1 Ensuring communication to bpcd


As mentioned previously, a Status 25 can occur when bpcd can not be reached on a Client
or Media Server. A telnet command can be used to test the connection to the bpcd
process. The test is often run from the Media Server to the Clients bpcd process to
troubleshoot why a Status 25 occurs on backup. This test can also be performed from the
Master Server, to the Media Servers bpcd process to ensure a connection is made.
Command syntax:
telnet <server name or IP address> bpcd

Successful telnet output example from UNIX:


# telnet <server name> bpcd
Trying 10.10.100.20...
Connected to <server name>.
Escape character is '^]'.
Hit the Ctrl ] and then type quit to end
Unsuccessful telnet output example from UNIX:
# telnet <server name> bpcd
Trying 10.10.100.20...
telnet: Unable to connect to remote host: Connection refused
Successful telnet output example from Windows:
telnet <server name> bpcd
< If successful no displayed messages will be returned >
To stop telnet: hold down Ctrl key and press the ] key, then
release and type quit to end telnet session.
Unsuccessful telnet output example from Windows:
Connecting to <server name> . .Could not open a connection to host
on port 13782 : Connect failed
If a telnet test fails, ensure again that bpcd (The client service on Windows) is running and
listening. If so, it may be necessary to analyze the network configuration to determine why
the bpcd port (13782) can not be reached. A telnet test can also be used to test the
connection to other processes such as bprd (Master) and vnetd.

3.2 Firewall
If a firewall is present in the configuration, it will be necessary to open port ranges for
proper communication, or utilize the NetBackup vnetd daemon to lessen the amount of
ports being used. See the NetBackup System Administrators Guide for more details on
this.

Status Code: 25 Client backup was not attempted because the backup window closed

Page 6 of

3.3 Name Resolution


Name resolution should be closely analyzed if the Master Server appears first in
the Clients server list, but the Status 25 is still seen.

Using bpclntcmd

bpclntcmd is a useful utility that can be run from any host. It will help
determine if name resolution is working properly from NetBackups perspective.
Test bpclntcmd between hosts where problems exist. This is often between the
Client and Media Server.
Windows command location: %install_path%\VERITAS\NetBackup\bin\
UNIX command location: /usr/openv/netbackup/bin
Switches and variations:
bpclntcmd
bpclntcmd
bpclntcmd
bpclntcmd

-pn
-self
-hn <hostname_of_master server, media server, or client>
-ip <ip_of_master server, media server, or client>

The goal of these commands is to make sure the hostname is seen the same
way after each command with no errors. Below is an explanation of what each
switch does:
-pn - The client process on the host connects to the Master Server and asks the
question "Who am I?". The second line of the output is the result. This is how
the client process on the host is being seen by the Master Server.
-self - Checks how the local host can be resolved. Ideally, there should be only
1 unique hostname and 1 unique IP address.
-hn - Checks the given hostname and returns an IP.
-ip - Checks the given IP and returns a hostname.
If there is any inconsistency or errors in the results of these commands, it may
be necessary to add a local host entry in the operating system for the host to
ensure proper name resolution.

4. System Resource issues


4.1 Minimum System Requirements
Ensure that the minimum system requirements, as designated in the NetBackup Installation
Guide, have been met for all Servers and Clients. If they have not been met, then
unexpected behavior (including Status 25 socket errors) may occur.

4.2 RAM and CPU.


Windows
If system requirements have been met, use the Windows Task manager to investigate if
system resources are being depleted during NetBackup operations. If so, it may be
necessary to do one of the following:

Status Code: 25 Client backup was not attempted because the backup window closed

Page 7 of

Add more CPU or RAM to the Server in question.


Minimize resources being used by other Server applications.
Lessen the amount of concurrent backups or other NetBackup Operations.
Unix
Additionally, for Unix, VERITAS has suggested minimum kernel parameters for UNIX
machines. Review the technote for this in the related documents section in the web page
of this technote. As mentioned with Windows, if CPU and RAM resources continue to be
low, it may be necessary to do one of the following:
Add more CPU or RAM to the Server in question.
Minimize resources being used by other Server applications.
Lessen the amount of concurrent backups or other NetBackup Operations.

4.3 Drive Fragmentation (Windows)


On Windows 2000 and 2003 platforms, an overly fragmented drive on the Master Server,
Media Server or Client can cause issues. This is especially true when the volume in
question is the OS System volume, or the volume on which NetBackup is installed.
Within the Windows Disk Administrator, run an analyze on the drives for the machine in
question. Observe if fragmentation is excessive. If Windows recommends defragging the
volume, be sure to do so.

5. Links
Click here to Search for other documents on Status Code 25

Status Code: 25 Client backup was not attempted because the backup window closed

Page 8 of

Potrebbero piacerti anche