277695-NetBackup Status Code 41
277695-NetBackup Status Code 41
277695-NetBackup Status Code 41
During Backup
Start of Backup
One
Go to Section 3 Many
Media Server Issues: - Check NBU configuration and timeout values. - Check OS network settings or filesystem access. Client Issues: - Check Network configuration - Check OS network settings or filesystem access.
Go to Section 1
Page 1 of 17
Table of Contents
1 2 3 4 NetBackup Status Code: 41 - Defined................................................................................................... 3 NetBackup Status Code: 41 - Overview ................................................................................................ 3 General Troubleshooting Steps: ............................................................................................................ 5 Resolving Network Naming & Communication Problems...................................................................... 5 4.1 UNIX Clients..................................................................................................................................... 6 4.2 Windows Clients............................................................................................................................... 8 4.3 Verifying Host Names and Services Entries .................................................................................. 10 4.4 Using bpclntcmd to confirm name resolution ................................................................................. 12 Suggested NetBackup Logging ........................................................................................................... 13 5.1 NetBackup logs Windows ........................................................................................................... 13 5.2 NetBackup logs UNIX ................................................................................................................. 14 The Network......................................................................................................................................... 15 6.1 Physical Network problems............................................................................................................ 15 6.2 Heavy Network Load...................................................................................................................... 15 Hardware related Issues ...................................................................................................................... 16 Firewalls and VNETD/VxPBX .............................................................................................................. 16 Links..................................................................................................................................................... 17
5 6 7 8 9
Page 2 of 17
Then retry the operation. The names /usr/openv/netbackup/logs/bpbkar/log.<date> file will contain the names of the files before bpbkar processes them. The last file SelectFile: entry in the log will be the file name that is causing problems. Note: This procedure can be used to isolate other, unknown bpbkar hangs.
Page 3 of 17
When NetBackup hangs on a file due to mandatory file locking NetBackup can be configured to skip the locked files by setting LOCKED_FILE_ACTION = SKIP in the /usr/openv/netbackup/bp.conf file on the client. The bpbkar client process may not be hung on a file with mandatory locking, but due to the number of files and directories it is scanning, it has not replied to the server within the configured timeout. This can occur during backups when directories have thousands of unmodified files, or during restores of sparse files that have thousands of holes. It has also been seen when backing up file systems or directories that reside on optical disk, which is considerably slower than magnetic disk. For this case, try adding or modifying the CLIENT_READ_TIMEOUT and CLIENT_CONNECT_TIMEOUT values in the servers /usr/openv/netbackup/bp.conf file. The default for the CLIENT_READ_TIMEOUT and CLIENT_CONNECT_TIMEOUT is 300 seconds. After investigating the problem, delete the /usr/openv/netbackup/logs/bpbkar directory, since the log files can become quite large and are not deleted automatically. Also delete /usr/openv/netbackup/bpbkar_path_tr so you do not generate larger log files than needed the next time you create directory /usr/openv/netbackup/logs/bpbkar. 2. On Windows systems, disable the following file: <install_path>\VERITAS\NetBackup\bin\tracker.exe Repair hard drive fragmentation. You could try an application called Diskeeper Lite, which is part of the Windows NT Resource Kit. Make sure there is enough space available in \temp. 3. If the server cannot connect to the client, create bpcd or bpbkar debug log directories on the client. Then retry the operation and check the resulting logs. If these logs do not provide a clue, create a bpbrm debug log on the media server. Then retry the operation again and check the resulting debug log. If the UNIX /usr/openv/netbackup/logs/bpbrm/log.<date> file has entries similar to the following then the problem is in the routing configuration on the server.
<2> bpbrm hookup_timeout: timed out waiting during the client hookup <2> bpbrm Exit: client backup EXIT STATUS 41: network connection timed out
Verify that the client IP address is correct in the name service that is being used. On UNIX, if both NIS and DNS files are used, verify that they match. Also, see Resolving Network Naming & Communication Problems Section 4. 4. When using an AIX token ring adapter and when the routed daemon is running, a timeout can occur because of the token ring adapter. The token ring adapter creates dynamic routes which can cause the routed daemon to crash. 5. For a FlashBackup client, this can happen if the file system being backed up is very large and has a very large number of files. It can also occur if a large number of concurrent data streams are active at the same time. The corrective action is to add CLIENT_READ_TIMEOUT to the /usr/openv/netbackup/bp.conf file and set it to increase the timeout interval. 6. Make sure all recommended NetBackup patches have been installed. Check the VERITAS support web site for current patch information. To download the latest version of NetBackup 4.5, visit the Support Web site: http://support.veritas.com/menu_ddProduct_NETBACKUPDC_view_DOWNLOAD.htm
Page 4 of 17
To download the latest version of NetBackup 5.x, visit the Support Web site: http://support.veritas.com/menu_ddProduct_NBUESVR_view_DOWNLOAD.htm Run the NetBackup Configuration Validation Utility (NCVU) for the associated NetBackup nodes. Section two of the NCVU output will show which patches are applied. 7. Add the CLIENT_READ_TIMEOUT values to the master server, media server and client when a NetBackup database extension product is installed. The values should all be the same for each server. The value set is dependent on the size of the database being backed up. See the NetBackup System Administrators Guide for more information on CLIENT_READ_TIMEOUT. 8. If enhanced authentication is being used, ensure that its configured correctly. See the Configuring the NetBackup-Java console chapter in the NetBackup System Administrator's Guide for details on enhanced authentication. For example: If host A is configured to use enhanced authentication with host B, but host B is not configured to use enhanced authentication with host A. Connections from host B to host A are likely to fail with status code 41. Connections from host A to host B are likely to fail with authentication errors (status code 160).
Page 5 of 17
2.
Then try ping from the server from the client. If ping succeeds in both instances, it verifies basic connectivity between the server and client. If ping fails, a network problem outside of NetBackup exists that must be resolved before proceeding. 3. Check that the client is listening on the correct port for connections to bpcd. This can be done by running each of the following commands. The output will vary depending on platform and operating system.
# netstat -a | grep bpcd # netstat -a | grep 13782
For example, assume the client is a Solaris system and you execute:
# netstat -a | grep bpcd
If the bpcd daemon is listening on the port, the results will be similar to:
*.bpcd *.* 0 0 49152 0 LISTEN
The LISTEN indicates that the client is listening for connections on this port. If there is a problem, this line does not appear and one of the following three conditions exists: The /etc/services or NIS services map does not have the correct bpcd entry. The correct /etc services entry is:
Page 6 of 17
The /etc/inetd.conf does not have the correct bpcd entry. The correct /etc/inetd.conf entry is:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
The /etc/inetd.conf was changed but was not reread. Correct this condition by executing one of the following depending on the operating system:
# /bin/ps -ef | grep inetd # kill -HUP <the_inetd_pid>
or
# /bin/ps -aux | grep inetd # kill -HUP <the_inetd_pid>
Note: On a Hewlett-Packard platform, use inetd -c to send a SIGHUP to inetd. For an AIX client, there are several ways to make this update. Use SMIT to verify that the InetServ object policy has been updated with the correct /etc/inetd.conf and /etc/services information about the bpcd process. After modifying the InetServ object policy, the inetexp command is automatically invoked. Edit the InetServ object policy using an ODM editor. Then run the inetexp command to export the InetServ object policy to the /etc/inetd.conf and /etc/services files. This keeps these files in sync with the InetServ object policy. Modifiy the files directly and then run the refresh -s inetd or kill -1 <the_inetd_pid> command to inform the inetd daemon of the changes to its configuration file. 4. Attempt to telnet to bpcd on the client. If it succeeds, keep the connection open until step 5 is performed.
# telnet <client_name> 13782
In this example, telnet can establish a connection to the client ant. If the telnet succeeds, then inetd on the client is configured correctly and is able to pass its connection to bpcd and NetBackup should also be able to establish a connection. If telnet doesnt work, ensure that the /etc/inetd.conf file and /etc/services files on both the server and client have correct and matching entries. Also, verify and update the applicable NIS maps. If all these files are correct and the connection is not successful to the client, a network problem outside of NetBackup exists that must be resolved before proceeding. 5. Check that the client is listening on the correct port for the telnet connection to bpcd. This can be done by running one of the following commands. These will vary depending on platform and operating system.
# netstat -a | grep bpcd # netstat -a | grep 13782
For example, assume the client in step 4 is a Solaris system named ant and the telnet is from a NetBackup server named whale:
# netstat -a | grep bpcd
Page 7 of 17
If the bpcd daemon is listening on the port, the results will be similar to:
*.bpcd ant.bpcd *.* 0 whale.33132 17520 0 0 49152 49640 0 LISTEN 0 ESTABLISHED
The LISTEN in the first line indicates that the client is listening for further connections on this port. The second line of the result, ESTABLISHED indicates that the telnet connection was established to bpcd through port 13782 on the client. Note: It is not recommended to change the port number for bpcd or other NetBackup services. Do so only if there is no alternative; and then, remember that all NetBackup servers and clients in the configuration must be updated use this new port assignment. 6. If there is a process other than bpcd using the port, try a reboot of the client. If the problem is still not fixed, the other process may be using the same port number as bpcd. It might be necessary to change one of the service numbers, preferably for this other service. This other process will need to be identified before attempting any changes to port numbers. 7. To verify basic client to master server communications, use the bpclntcmd utility. When run on a NetBackup client, the -pn and -sv options initiate inquiries to the NetBackup master server as configured in the bp.conf file on the client. The master server then returns information to the requesting client. For more information, see Using bpclntcmd Section 4.4.
The <hostname> is the name of the host as configured in the NetBackup policy configuration. This name should also match the WINS and DNS configuration or the hosts file in the system directory: %SystemRoot%\system32\drivers\etc\hosts (Windows NT/2000, XP, 2003) C:\Windows\hosts (default on Windows 98 and 95) If ping succeeds this verifies basic connectivity between the server and client. If ping fails, a network problem exists outside of NetBackup that must be resolved before proceeding. 4. On Microsoft Windows or NetWare clients, check the NetBackup Client service is working properly:
Page 8 of 17
a. Ensure that the service is active, either by checking the logs or as follows: On Windows NT/2000, XP or Windows Server 2003 clients, use the Services application in the Control Panel to verify that the NetBackup Client service is running and start it if necessary. On Windows 98 or 95 clients, check the system tray on the taskbar for the NetBackup client icon. If the icon is not there, run the NetBackup Client Job Tracker program from the NetBackup Program folder or the Start menu. When the icon is present, rightclick on the icon to start the NetBackup client daemon. On NetWare clients, enter load bpcd from the NetWare server console to start the NetBackup client daemon. b. Check the bpcd debug logs for problems or errors. See Using Logs and Reports chapter for instructions on enabling and using these logs. c. Verify that the same NetBackup client Service (bpcd) port number is specified on both the NetBackup client and server. To display this dialog, start the Backup, Archive, and Restore interface on the client and click File > NetBackup Client Properties > Network and check the NetBackup Client Service Port number. Verify that the setting on the Network tab matches the one in the services file. The services file is located in: %SystemRoot%\system32\drivers\etc\services (Windows NT/2000, XP or 2003) C:\Windows\services (Windows 98 and 95) On NetWare clients, see the BPCD setting in the openv\netback\bp.ini file. On UNIX NetBackup servers, the bpcd port number is in the /etc/services file. On Windows NetBackup servers, see the Client Properties dialog box in the Host Properties. If necessary, correct the port number and then, on Windows clients and servers, stop and restart the NetBackup Client service. On Microsoft Windows 98 or 95 and NetWare clients, stop and restart the NetBackup client daemon (bpcd). Note: Do not change NetBackup port assignments unless it is absolutely necessary in order to resolve conflicts with other applications. If these must be changed, do so on all NetBackup clients and servers. These numbers must be the same throughout your NetBackup configuration. 5. Verify that the NetBackup Request Service (bprd) Port number on Microsoft Windows and NetWare clients is the same as on the server (by default, 13720). 6. Verify that the hosts file or its equivalent contains the NetBackup server name. The hosts files for different operating systems are located in: %SystemRoot%\system32\drivers\etc\hosts (Windows NT/2000, XP or 2003) C:\Windows\hosts (Windows 98 or 95) SYS:etc\hosts (NetWare) /etc/hosts (UNIX) 7. Verify client-to-server connectivity by using ping, telnet or ftp from the client back to the server. 8. For a NetWare client, ensure that the server is not trying to connect when a backup or restore is already in progress on the client. Attempting more than one job at a time on these clients, results in a cant connect or similar error.
Page 9 of 17
9. Use the bpclntcmd utility to verify basic client to master server communications. When run on a NetBackup client, the -pn and -sv options initiate inquiries to the NetBackup master server configured in the server list on the client. The master server then returns information to the requesting client. For more information, see Using bpclntcmd section 4.5. 10. Verify that the client operating system is supported by the client software.
Make the above changes on the appropriate tabs in the properties dialog boxes on a Windows NetBackup server. On UNIX NetBackup servers and clients, and Macintosh clients, check the server and client name entries in the bp.conf file: Ensure there is a SERVER entry for the master server and each media server in the configuration. The master server must be the first name in the list. Remember, if you add or modify SERVER entries on the master server, you must stop and restart bprd and bpdbm before the changes take effect. Ensure that the CLIENT_NAME option (if included) is correct and matches what is in the policy client list on the master server. The bp.conf file is in the /usr/openv/netbackup directory on UNIX clients and it is in the Preferences:NetBackup folder on Macintosh clients. Users on UNIX clients can
Page 10 of 17
also have a personal bp.conf file in their home directory. A CLIENT_NAME option in $HOME/bp.conf overrides the one in /usr/openv/netbackup/bp.conf. On NetWare clients, check the openv\netback\bp.ini file to ensure that: There is a SERVER entry for the master server and each media server in the configuration. The master server must be the first name in the list. The ClientName entry and the entries in the [clients] section are correct and match what is in the policy client list on the master server. On the master server, see if someone has created any required /usr/openv/netbackup/db/altnames files (UNIX) <install_path>\NetBackup\db\altnames files (Windows). Pay particular attention to requirements for host.xlate file entries. 2. Verify that each server and client has the required entries for NetBackup reserved port numbers. a. On NetBackup servers, check the services files to ensure that they have entries for: bpcd and bprd vmd bpdbm Processes for configured robots (for example, tl8cd). See the Media Manager System Administrators Guide for a list of these processes. b. On UNIX, Windows, and NetWare clients, verify the NetBackup client daemon or service number, and the request daemon or service port number. On UNIX clients, check the bprd and bpcd entries in the /etc/services file. On Microsoft Windows clients, verify that the NetBackup Client Service Port number and NetBackup Request Service Port number on the Network tab in the NetBackup Client Properties dialog match the settings in the services file. To display this dialog, start the Backup, Archive, and Restore interface on the client and click NetBackup Client Properties on the File menu. The values on the Network tab are written to the services file when the NetBackup Client service starts. The services file is located in: %SystemRoot%\system32\drivers\etc\services (Windows NT/2000, XP or 2003) C:\Windows\services (Windows 98 and 95) openv\netbackup\bp.ini (NetWare clients, check the BPCD and BPRD entries) /etc/services (UNIX) 3. On UNIX servers and clients, verify the /etc/inetd.conf file to has the following entry:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
4. On Linux servers and clients, verify that the file /etc/xinetd.d/bpcd is correct. The file should look similar to the following:
{ disable socket_type protocol wait user server } = = = = = = no stream tcp no root /usr/openv/netbackup/bin/bpcd
5. On Windows servers and clients, verify that the NetBackup Client service is running.
Page 11 of 17
6. If you are using NIS in your network, update those services to include the NetBackup information that is added to the /etc/services file. 7. The hostname information in NIS, DNS and hosts files must correspond to what is in the policy configuration and the entries in the following: On Windows NetBackup servers, Microsoft Windows clients, and Non Target NetWare clients, check the General tab in the NetBackup Client Properties dialog and the Servers tab in the Specify NetBackup Machines and Policy Type dialog. To display these dialogs, start the Backup, Archive, and Restore interface on the client. For the General tab, click NetBackup Client Properties on the File menu; for Servers tab, click Specify NetBackup Machines and Policy Type on the File menu. The bp.conf file on UNIX servers and clients and Macintosh clients. The openv\netback\bp.ini file on NetWare clients. Also, verify that reverse DNS addressing is configured.
The -ip option looks up a specified IP address. The bpclntcmd uses gethostbyaddr() on the IP address and returns the hostname. This result is based on how the IP address is defined in the systems DNS, WINS, NIS, or local hosts file entries. No connection is established with the NetBackup server. This should return the same hostname and IP information as the hn option.
# bpclntcmd -hn <hostname>
The -hn option looks up a specific hostname. The bpclntcmd uses gethostbyname() on the hostname to obtain the IP address. This result is based on how the hostname is defined in the systems DNS, WINS, NIS, or local hosts file entries. No connection is established with the NetBackup server. This should return the same hostname and IP information as the ip option.
# bpclntcmd sv
Run on the client, the pn option verifies the ability of the NetBackup client to resolve and connect to the server, and at the same time verifies the servers ability to resolve the clients name and connect back to it. The pn first identifies the configured master in the bp.conf on the client, then resolves its IP address. Next, it sends connects to that IP address asking what system the query came from. The master then resolves the requesting clients hostname from the IP address, and sends the name it resolved back to the requesting address. For example:
bpclntcmd -pn expecting response from server rabbit.friendlyanimals.com dove.friendlyanimals.com dove 123.145.167.3 57141
Page 12 of 17
Where:
expecting response from server rabbit.friendlyanimals.com is the master server entry from the SERVER list on the client. dove.friendlyanimals.com is the hostname returned by the master server. The master server obtained this name through gethostbyaddr(). dove is the client name configured in the NetBackup policy client list. 123.145.167.3 is the IP address of the client connection at the master server. 57141 is the port number of the connection on the client.
Page 13 of 17
Page 14 of 17
6 The Network
A Status 41 can be triggered by a servers network card configuration. This would include incorrect link negotiation, outdated driver or firmware version or issues with vendor specific software such as network teaming. NIC Troubleshooting Overview: Check the NIC vendors web site for the latest drivers and firmware and update if necessary. Confirm that the NIC is hard-coded to the appropriate duplex setting. (Example: 100 megabyte Full Duplex) The default duplex setting is typically to auto negotiate which has been known to cause some problems and may trigger a status 41. If NIC teaming is being used confirm that the latest teaming software is being used. Network teaming software is used to team multiple network cards for either fail-over or load balancing. Network teaming software has been known to cause unexpected behavior with NetBackup. Network related errors such as a status code 41 have been seen as a result of using network teaming. If the server generating the status code 41 is using network teaming software, ensure that it is running the latest network teaming software. In troubleshooting network problems, it would also be a good idea to disable network teaming as a test and see if the problem persists.
Page 15 of 17
Page 16 of 17
From the NBU 6.0 Manual: NetBackup 6.0 contains features that are dependent on a new Common Services Framework (CSF) called, VERITAS Private Branch Exchange (VxPBX). VxPBX helps limit the number of TCP/IP ports used by many new features in NetBackup, such as IRM and EMM. VxPBX is required for all NetBackup uses. It is installed with NetBackup 6.0GA
9 Links
Click here to Search for other documents on Status 41
Also, you may click below to perform a search on the following relevant items: Status Code 41 network connection timed out Windows NT Client backups very slow, on the order of kb /sec rather than mb /sec., or exits with status 41. http://support.veritas.com/docs/203981 All backups fail when using the Microsoft (Internet Security and Acceleration server) firewall client http://library.veritas.com/docs/268872 When a Firewall is installed between Master/Media Server and Client, the network connection to the client times out, although no port restrictions are implemented on the Firewall. http://support.veritas.com/docs/245355
Page 17 of 17