NetBackup Troubleshoot Guide
NetBackup Troubleshoot Guide
Troubleshooting Guide
for UNIX and Windows
January 2003
Disclaimer
The information contained in this publication is subject to change without notice.
VERITAS Software Corporation makes no warranty of any kind with regard to this
manual, including, but not limited to, the implied warranties of merchantability and
fitness for a particular purpose. VERITAS Software Corporation shall not be liable for
errors contained herein or for incidental or consequential damages in connection with the
furnishing, performance, or use of this manual.
Copyright
Copyright © 1998 - 2003 VERITAS Software Corporation. All rights reserved. VERITAS,
VERITAS Software, the VERITAS logo, VERITAS NetBackup, and all other VERITAS
product names and slogans are trademarks or registered trademarks of VERITAS
Software Corporation.VERITAS, the VERITAS Logo, VERITAS NetBackup Reg. U.S. Pat.
& Tm. Off. Other product names and/or slogans mentioned herein may be trademarks or
registered trademarks of their respective companies.
Portions of this software are derived from the RSA Data Security, Inc. MD5
Message-Digest Algorithm. Copyright 1991-92, RSA Data Security, Inc. Created 1991. All
rights reserved.
VERITAS Software Corporation
350 Ellis Street
Mountain View, CA 94043
USA
Phone 650–527–8000 Fax 650–527–2901
www.veritas.com
Revision History
Revision History
The following table summarizes the revisions made to this manual. These revisions are
noted in this manual with revision marks in the left margin.
Feature Pack January 2003 This document version describes new features provided in the
4.5_3_F NetBackup Troubleshooting Guide Feature Pack 4.5_3_F. Ensure that
you are installing this feature pack for use with this document.
New Features:
- The UNIX and Windows versions of the NetBackup
Troubleshooting Guide have been merged into one document. From
now on, you will see information about all operating systems in the
description of each error message and its recommended actions in
this troubleshooting guide and also in the Troubleshooter error
messages.
- A new chapter on utilities has been added. The NetBackup
Configuration Validation Utility (NCVU) and the Analysis Utilities
for the NetBackup Debug Logs are available as troubleshooting
tools with this release.
Note Due to the global nature of the text changes for this release, no
change bars have been used.
iii
Revision History
Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Define the Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What was the Error Indication? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
v
What Were You Trying to Do When the Problem Occurred? . . . . . . . . . . . . . . . . . . 2
Record All Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Troubleshooting the Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Problem Report Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
General Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Gathering Information for NetBackup-Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Contents vii
Robotic Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Robotic Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Device Diagnostics Status Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .583
Contents ix
x NetBackup Troubleshooting Guide
About This Guide
This guide explains how to isolate and resolve problems encountered when installing,
configuring, or using VERITAS NetBackup™. This publication refers to VERITAS
NetBackup as NetBackup. This includes coverage for Media Manager, a component of
NetBackup used for media and device management.
Audience
This guide is intended primarily for the system administrator who is responsible for
installing, configuring, and managing NetBackup. The system administrator is assumed
to have a good working knowledge of both NetBackup and the operating system. Some
sections will also be useful to less-technical users who encounter problems when backing
up, archiving, or restoring files.
Organization
◆ Chapter 1, “Introduction,” explains how to define a problem and describes the
information you should gather during troubleshooting. Both administrators and
client users should read this chapter first.
◆ Chapter 2, “Troubleshooting Procedures,” includes procedures for isolating the
problem to a specific area.
◆ Chapter 3, “Using the Logs and Reports,” discusses the NetBackup logs and how to
interpret them.
◆ Chapter 4, “Using NetBackup Utilities,” describes the Analysis Utilities for the
NetBackup debug logs, and the NetBackup Configuration Validation utility.
◆ Chapter 5, “NetBackup Status Codes and Messages,” explains each NetBackup status
code and provides corrective actions for error conditions.
◆ Chapter 6, “Media Manager Status Codes and Messages,” explains each Media
Manager status code and provides corrective actions for error conditions.
xi
Related Documentation
Related Documentation
Refer to the NetBackup Release Notes for a complete list of NetBackup manuals.
Glossary
If you encounter unfamiliar terminology, consult the NetBackup online glossary. The
glossary contains terms and definititions for NetBackup and all additional NetBackup
options and agents.
The NetBackup online glossary is included in the NetBackup help file.
1. In the NetBackup Administration Console (or Backup, Archive, and Restore), click
Help > Help Topics.
Accessibility
NetBackup contains features that make the user interface easier to use by people who are
visually impaired and by people who have limited dexterity. Accessibility features
include:
◆ Support for assistive technologies such as screen readers and voice input (Windows
servers only)
◆ Support for keyboard (mouseless) navigation using accelerator keys and mnemonic
keys
For more information, see the NetBackup System Administrator’s Guide.
Online Documentation
In addition to online help, NetBackup provides copies of related NetBackup manuals in
Adobe Portable Document Format (PDF) on the NetBackup CD-ROM. For a complete list
of NetBackup documents see the NetBackup Release Notes.
On Windows
The released software contains on-line PDF and ASCII versions of the release notes and a
readme file for the client. If you choose to install the documentation during setup,
NetBackup installs it to the following locations on your disk:
◆ install_path\Help\
Adobe Acrobat Portable Document Format (PDF) copies of all related documents,
including the release notes.
◆ The readme files on install_path\NetBackup\ are:
- Readme.txt (The Readme.txt file (ASCII format) may be slightly more
up-to-date than the printed and pdf copies of the release notes.)
- Readme_Client.txt
- Readme_Server.txt
- Readme_SMS.txt
- Readme_Win2000.txt
On UNIX
During NetBackup installation, a text copy of the NetBackup Media Manager Device
Configuration Guide is installed in
/usr/openv/volmgr/MediaMgr_DeviceConfig_Guide.txt
You can copy example code from the device configuration guide if you need to
reconfigure the kernel to provide specific tape or optical peripheral support.
The product CD-ROM also contains PDF copies of these release notes and other
documents.
Note You will need Adobe Acrobat Reader to view the PDF documents. The latest
version of Acrobat Reader is available on the Adobe web site:
http://www.adobe.com.
VERITAS assumes no responsibility for the correct installation or use of the reader.
Conventions
The following section explains typographical and other conventions used in this guide.
Type Style
The table below describes type face and type style conventions.
Typeface Usage
Bold fixed width Input typed at the keyboard. For example, you might see, “Type cd to
change directories.”
Fixed width Paths, commands, filenames, or output. For example, you might see,
“The default installation directory is /opt/openv.”
Italics Book titles, new terms, or terms used for emphasis. For example, you
might see, “Do not ignore cautions.”
Used for placeholder text or variables, as in, “Replace filename with the
name of your file.”
This font is also used to point out NetBackup product-specific or
platform-specific differences. For example: This option is only applicable
for NetBackup DataCenter.
Bold type (no italics) Graphical user interface (GUI) objects, such as fields or menu choices.
For example, you might see, “Enter your password in the Password
field.”
Caution This is a Caution. Cautions are used to warn about situations that could cause
data loss.
Key Combinations
Some keyboard command sequences use two or more keys at the same time. For example,
holding down the Ctrl key while pressing another key. Keyboard command sequences are
indicated by connecting the keys with a plus sign, as in the following example:
Press Ctrl+t
Command Usage
The following conventions are frequently used in the synopsis of command usage.
brackets [ ]
The enclosed command line component is optional.
Vertical bar or pipe (|)
Separates optional arguments from which the user can choose. For example, when a
command has the following format:
command arg1|arg2
In this example, the user can use either the arg1 or arg2 variable.
❖ Select Start > Programs > VERITAS NetBackup > NetBackup Administration
Console.
The corresponding actions could be described in more steps as follows:
4. Move your cursor to the right. First highlight and then click NetBackup
Administration Console.
Terms
The following term is used in VERITAS NetBackup documentation to increase readability
while maintaining technical accuracy.
◆ Microsoft Windows, Windows
Terms used to describe a specific product or operating system developed by Microsoft, Inc.
Some examples are, Windows 2000, Windows .NET, Windows servers, Windows clients,
Windows platforms, or Windows GUI. For more information on the Windows operating
systems that NetBackup supports, refer to the VERITAS NetBackup Release Notes for UNIX and
Windows or go to the VERITAS support web site at http://www.support.veritas.com.
Note When a specific Windows product is identified in the documentation, only that particular
product is valid in that instance.
Getting Help
For updated information about this product, including system requirements, supported
platforms, supported peripherals, and a list of current patches available from Technical
Support, visit our web site:
http://www.support.veritas.com/
VERITAS Customer Support has an extensive technical support structure that enables you
to contact technical support teams that are trained to answer questions to specific
products. You can contact Customer Support by sending an e-mail to
[email protected], or by finding a product-specific phone number from the VERITAS
support web site. The following steps describe how to locate the proper phone number.
2. Click Contact Support. The Contacting Support Product List page appears.
3. Select a product line and then a product from the lists that appear. The page will
refresh with a list of technical support phone numbers that are specific to the product
you just selected.
Note The term media server, as distinct from master server or server, may or may not apply
to the NetBackup BusinesServer product and depends on the context. When
troubleshooting a BusinesServer installation, be aware that there is only one host. -
the master and media server are one and the same. References to a media server on
a different host can be ignored.
1
Record All Information
◆ Check for error or status information in the Event Viewer Application log
Record this information for each attempt. A benefit of this approach is that you can
compare the results of multiple attempts. It is also useful for others at your site and for
customer support in the event that you cannot solve the problem yourself.
The “Using the Logs and Reports” chapter explains the various logs.
On UNIX systems, the /usr/openv/netbackup/bin/goodies/support script
creates a file containing data necessary for customer support to debug any problems you
encounter. For more details, consult the usage information of the script by using support
-h.
If your troubleshooting attempt is unsuccessful, customer support can provide further
assistance. Before calling, have the following information ready.
◆ Product, platform, and device information:
- Product and its release level.
- Server hardware type and operating system level.
- Client hardware type and operating system level, if a client is involved.
- Storage units being used, if it is possible that storage units are involved.
- If it looks like a device problem, be ready to supply device information, such as
the types of robots and drives, and their version levels along with Media Manager
and system configuration information.
- Software patches to the products that were installed.
- Service packs and hotfixes that were installed.
◆ What is the definition of the problem as described earlier in this chapter? Copies of
logs or core dumps (if any) can also be required.
◆ Have you had this problem before? If so, was there a successful resolution and what
did you try that time?
◆ Has the configuration been changed recently and, if so, what was changed?
◆ If necessary, can you communicate with technical support through ftp, email, or fax?
This can be useful for sending things such as copies of logs.
“Problem Report Information” on page 5 lists the information you need and also provides
methods for gathering information.
Chapter 1, Introduction 3
Troubleshooting the Problem
General Information
Date: _________________________
Table 1
Clients:
Table 2
Chapter 1, Introduction 5
Problem Report Information
Devices:
Table 3
What were you attempting when the problem occurred? (for example, a backup on a
Windows client)
______________________________________________________________________
______________________________________________________________________
What were the error indications? (for example, status code, error dialog box)
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Chapter 1, Introduction 7
Problem Report Information
Follow these steps to get debug data for VERITAS support to analyze:
1. If the application does not respond for a long time, it may be hung. However, some
operations can take quite a while to complete. This is especially true in the Activity
Monitor and Reports applications. So, wait for several minutes before assuming the
operation is hung.
If there is no response within several minutes, execute
/usr/openv/java/get_trace under the account where you started the Java
application. This causes a stack trace to be written to the log file.
For example, if you started jnbSA from the root account, start
/usr/openv/java/get_trace as root. Otherwise, the command executes without
error, but fails to add the stack trace to the debug log. This occurs because root is the
only account that has permission to execute the command that dumps the stack trace.
Note The term media server, as distinct from master server or server, does not apply to the
NetBackup BusinesServer product. When troubleshooting a BusinesServer
installation, please ignore any references to media server.
9
Preliminary Troubleshooting
Preliminary Troubleshooting
▼ If you are having problems with NetBackup, perform this procedure first.
1. Ensure that your servers and clients are running supported operating system versions
and the peripherals you are using (if any) are supported. See the NetBackup release
notes and the NetBackup device compatibility lists on www.veritas.com for this
information.
a. Use the All Log Entries report and check for NetBackup errors for the appropriate
time period. This report can show the context in which the error occurred and can
often provide specific information that is useful when the status code can result
from a variety of problems.
If the problem involved a backup or archive, check the Backup Status report. This
report gives you the status code.
If you find a status code or message in either of the above reports, go to the
chapter titled “NetBackup Status Codes and Messages” or “Media Manager
Status Codes and Messages” and perform the recommended corrective actions.
c. Check applicable debug logs that are enabled and correct problems you detect.
If these logs are not enabled, enable them before retrying the failed operation (see
the “Using the Logs and Reports” chapter).
d. If you performed corrective actions, retry the operation. If you did not perform
corrective actions or the problem persists, go to step 3 below.
5. Enable verbose logging either for everything or just for areas you think are related to
the problem. See the “Using the Logs and Reports” chapter for information on
verbose logging.
6. Determine which daemons or processes are running. Follow the procedures below for
UNIX or Windows NetBackup servers.
b. If any of the following media and device management processes are not running:
- ltid (device; ltid only needs to be running if drives are configured on the
server)
- vmd (volume)
- avrd (automatic volume recognition)
Note If you are using ACS robotic control, the acsssi and acssel processes will
remain running when ltid is stopped. For more information about stopping these
daemons, refer to the Automated Cartridge System (ACS) Appendix in the
NetBackup Media Manager System Administrator’s Guide.
Stop any robot control daemons that remain running when ltid is terminated.
Then, start all daemons by executing:
/usr/openv/volmgr/bin/ltid
For debugging, it is best to start ltid with the -v (verbose) option.
a. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to start the following services if they are not running:
b. Use the NetBackup Activity Monitor to see if the following Media Manager
processes are running:
- avrd (automatic media recognition)
- Processes for all configured robots (see the Media Manager System
Administrator’s Guide for Windows)
If the above processes are not running, stop and then restart the NetBackup
Device Manager service by using the NetBackup Activity Monitor or the Services
application in the Windows Control Panel.
7. If you had to start any of the processes or services in the previous steps, retry the
operation. If they are running or the problem persists, go to “General Test and
Troubleshooting Procedures” on page 20.
If you cannot start any of these processes or services, check the appropriate debug
logs (see the “Using the Logs and Reports” chapter) for NetBackup problems.
When started, these processes and services continue to run unless you stop them
manually or there is a problem with the system. On Windows systems, we
recommend you add commands for starting them to your startup scripts, so they are
restarted in case you have to reboot.
1. Could you install the software on the master and media servers by using the release
media?
Some reasons for failure could be:
- Not logged in as an Administrator on a Windows system (you must have
permission to install services on the system)
- Permission denied (ensure you have permission to use the device and to write the
directories and files being installed)
- Bad media (contact customer support)
- Defective drive (replace the drive or refer to vendor’s hardware documentation)
- Improperly configured drive (refer to system and vendor documentation)
Note You cannot install PC client software from a UNIX NetBackup server.
- For an install to a trusting UNIX client, verify that you have the correct client
name in your policy configuration and the correct server name in the client
/.rhosts file.
If the install hangs, check for problems with the shell or environment variables for
the root user on the client. The files to check depend on the platform, operating
system, and shell you are using. An example for a Sun system would be if your
.login executes an stty (such as stty ^erase) before defining your terminal
type. If this caused the install process to hang, you could modify the .login file
to define the terminal before executing the stty or you could move the client
.login to another file until the install is complete.
- For an install to a secure UNIX client, check your ftp configuration. For example,
you must be using a user name and password that the client considers valid.
Note On platforms that support the NetBackup Configuration Validation Utility (NCVU),
run this utility against the NetBackup nodes in question and note any warnings that
are generated.
3. If you found and corrected any configuration problems, retry the operation and check
for NetBackup status codes or messages.
a. Check the All Log Entries report for NetBackup errors for the appropriate time
period. This report can show the context in which the error occurred and can
often have specific information that is useful when the error can result from a
variety of problems.
If the problem involved a backup or archive, check the Backup Status report. This
report gives you the status code.
If you find a status code or message in either the Backup Status or All Log Entries
report, go to the “NetBackup Status Codes and Messages” chapter or “Media
Manager Status Codes and Messages” chapter and perform the recommended
corrective actions.
c. Check appropriate debug logs that are enabled and correct problems you detect.
If these logs are not enabled, enable them before your next attempt. For more
information, see the “Using the Logs and Reports” chapter.
d. If you performed corrective actions as a result of step a through step c, retry the
operation. If you did not perform corrective actions or the problem persists, go to
the next section, “General Test and Troubleshooting Procedures.”
Recommended Action: Ask the manufacturer for a newer firmware version that returns
serial numbers (if available), or manually configure and operate the drive without a serial
number.
1. Download a new external-robot-mapping file from the VERITAS support web site,
and try again.
Message: Drive's scsi adapter does not support pass-thru (or pass-thru path does not
exist)
Explanation: A drive was found that does not have a SCSI pass-through path configured.
There are two possible causes for this message:
- The drive is connected to an adapter that does not support SCSI pass-through.
- The pass-through path for this drive has not been defined.
Recommended Action: Change the drive’s adapter, or define a pass-through path for the
drive. See the Media Manager Device Configuration Guide for UNIX for scsi adapter
pass-through information.
Recommended Action:
1. Download a new external-drive-mapping file from the VERITAS support web site,
and try again.
1. Enable appropriate debug logs on the master server (see the “Using the Logs and
Reports” chapter). If you do not know which logs apply, enable them all until you
solve the problem. Delete the debug log directories when you have resolved the
problem.
2. Configure a test policy (set backup window to be open while you are testing). Name
the master server as the client and a storage unit that is on the master server
(preferably a nonrobotic drive). Also, configure a volume in the NetBackup volume
pool and insert the volume in the drive. If you don’t label the volume by using the
bplabel command, NetBackup automatically assigns a previously unused media ID.
3. Verify that the NetBackup daemons or services are running on the master server:
- To check the daemons on a UNIX system, execute:
/usr/openv/netbackup/bin/bpps -a
- To check the services on a Windows system, use the NetBackup Activity Monitor
or the Services application in the Windows Control Panel.
4. Start a manual backup of a policy by using the manual backup option in the
NetBackup administration interface. Then, restore the backup.
This verifies:
- NetBackup server software is functional, including all daemons or services,
programs, and databases.
- Media Manager can mount the media and use the drive you configured.
If a failure occurs, first check the NetBackup All Log Entries report. For failures
relating to drives or media, verify that the drive is in an UP state and the hardware is
functioning.
To further isolate the problem, use the debug logs. The “Functional Overview”
appendix explains the basic sequence of events (log messages are more detailed than
the information in that appendix).
If the debug logs do not reveal the problem, check the following:
- Systems Logs or Event Viewer System logs
- Event Viewer Application logs on Windows systems
- vmd debug logs on the volume database host for the device
- bptm debug logs
5. If you previously configured a nonrobotic drive and your system includes a robot,
change your test policy now to specify a robot. Add a volume to the robot. The
volume must be in the NetBackup volume pool on the volume database host for the
robot.
Repeat this procedure starting with step 3, but this time for the robot. This verifies
that Media Manager can find the volume, mount it, and use the robotic drive.
If you have difficulties with the robot, try the test utilities described in the “Robotic
Test Utilities” appendix.
Note Do not use the Robotic Test Utilities when backups or restores are active. These
utilities prevent the corresponding robotic processes from performing robotic
actions, such as loading and unloading media. This can cause media mount
timeouts and prevent other robotic operations like robotic inventory and
inject/eject from working.
6. Add a user schedule to your test policy (the backup window must be open while you
are testing). Use a storage unit and media that has been verified in previous steps.
7. Start a user backup and restore of a file by using the client-user interface on the master
server. Monitor the status/progress log for the operation. If successful, this operation
verifies that client software is functional on the master server.
If a failure occurs, check the NetBackup All Log Entries report. To further isolate the
problem, check the appropriate debug logs from those listed below. The “Using the
Logs and Reports” chapter explains which logs apply to specific client software.
Note These logs exist only if you enabled debug logging in step 1. On a UNIX system, the
debug logs are in the /usr/openv/netbackup/logs/ directory. On a Windows
system, the debug logs are in the install_path\NetBackup\logs\directory.
8. Reconfigure your test policy to name a client that is located elsewhere in the network.
Use a storage unit and media that has been verified in previous steps. If necessary,
install the NetBackup client software.
9. Create debug log directories for the processes listed below. The “Using the Logs and
Reports” chapter explains which logs apply to specific client types.
- bprd on the server
- bpcd on the client
- bpbkar on the client
- nbwin on the client (Windows only)
- bpbackup on the client (except Windows clients)
- bpinetd (Windows NT/2000, XP and .NET only)
10. Perform a user backup and then a restore from the client specified in step 8.
This verifies:
- Communications between the client and master server
- NetBackup software on the client
If an error occurs, check the following:
- All Log Entries report
- Debug logs created in the previous step
A likely cause for errors is a communications problem between the server and the
client.
11. When the test policy operates satisfactorily, repeat specific steps as necessary to verify
other clients and storage units.
12. When all clients and storage units are functional, test the remaining policies and
schedules that use storage units on the master server. If a scheduled backup fails,
check the All Log Entries report for errors, then follow the actions suggested in the
status codes chapters.
1. Enable appropriate debug logs on the servers (see the “Using the Logs and Reports”
chapter). If you are uncertain which logs apply, enable them all until you solve the
problem. Delete the debug log directories when you have resolved the problem.
2. Configure a test policy with a user schedule (set the backup window to be open while
you are testing).
- Name the media server as the client and a storage unit that is on the media server
(preferably a nonrobotic drive).
- Add a volume on the volume database host for the devices in the storage unit
(master server is recommended for the volume database host). Ensure the volume
is in the NetBackup volume pool.
- Insert the volume in the drive. If you do not prelabel the volume by using the
bplabel command, NetBackup automatically assigns a previously unused
media ID.
3. Verify that all NetBackup daemons or services are running on the master server and
Media Manager daemons or services are running on the media server.
- To perform this check on a UNIX system, execute:
/usr/openv/netbackup/bin/bpps -a
- To perform this check on a Windows system, use the Services application in the
Windows Control Panel.
4. Perform a user backup and then a restore of a file. Perform these operations from a
client that has been verified to work with the master server.
This test verifies:
- NetBackup media server software
- Media Manager on the media server can mount the media and use the drive that
you configured
- Communications between the master server process bpsched and media server
processes bpcd and bpbrm
- Communications between media server process bpbrm and client processes bpcd
and bpbkar
For failures relating to drives or media, ensure that the drive is in an UP state and the
hardware is functioning.
If you suspect a communications problem between the master and media servers,
check the debug logs for the involved processes. If the debug logs don’t help you,
check the following:
- On a UNIX server, the System log
- On a Windows server, the Event Viewer Application log
- vmd debug logs
See the vendor manuals for information on hardware failures.
If you are using a robot and this is an initial configuration, verify that the robotic drive
is configured correctly. In particular, verify that:
- The same robot number is used both in the Media Manager and storage unit
configurations.
- Each robot has a unique robot number.
On a UNIX server, you can verify only the Media Manager part of the configuration,
by using the tpreq command to request a media mount. Verify that the mount
completes and check which drive the media was mounted on. Repeat the process
until the media has been mounted and unmounted on each drive from the host where
the problem was occurring. Perform these steps from the media server. If this works,
then the problem is probably with the policy or storage unit configuration on the
media server or communications between the master and media server. When you are
done, tpunmount the media.
5. If you previously configured a nonrobotic drive and a robot attached to your media
server, change the test policy to name the robot. Also, add a volume for the robot to
the volume database host for the robot. Verify that the volume is in the NetBackup
volume pool and in the robot.
Then, repeat this procedure starting with step 3, this time for a robot. This verifies that
Media Manager can find the volume, mount it, and use the robotic drive.
If a failure occurs, check the NetBackup All Log Entries report. Look for errors
relating to devices or media. If the All Log Entries report doesn’t help, check:
- On a UNIX server, the system logs on the media server
- vmd debug logs on the volume database host for the robot
- On a Windows system, the Event Viewer Application log
In an initial configuration, verify that the robotic drive is configured correctly. Do not
use a robot number that is already configured on another server.
Try the test utilities described in the “Robotic Test Utilities” appendix.
Note Do not use the Robotic Test Utilities when backups or restores are active. These
utilities prevent the corresponding robotic processes from performing robotic
actions, such as loading and unloading media. This can cause media mount
timeouts and prevent other robotic operations like robotic inventory and
inject/eject from working.
6. When the test policy operates satisfactorily, repeat specific steps as necessary to verify
other clients and storage units.
7. When all clients and storage units are working, test the remaining policies and
schedules that use storage units on the media server. If a scheduled backup fails,
check the All Log Entries report for errors, then follow the actions suggested in the
status codes chapters.
Note In all cases, ensure that your network configuration is working correctly outside of
NetBackup before trying to resolve NetBackup problems.
UNIX Clients
For UNIX clients, perform the following steps. Before starting this procedure, add the
VERBOSE option to the /usr/openv/netbackup/bp.conf file. Also, create a bpcd
debug log directory on your server and clients and a bprd log directory on the server.
During subsequent retries, the debug logs will provide detailed debug information that
will be useful in analyzing the problem.
a. Check any recent modifications to ensure that they did not introduce the
problem.
c. Ensure that the client operating system is one of those supported by the client
software.
d. Check the client names, server names, and service entries in your NetBackup
configuration as explained in “Verifying Host Names and Services Entries” on
page 35.
Two other checks that you can make on host names are:
- Use the hostname command on the client to determine the host name that
the client sends with requests to the server.
- Check the bprd debug log (verbose) on the server to determine what
occurred when the server received the request.
e. Pay special attention to NIS or DNS updates that are required. Failing to properly
update these services is a common source of network problems with NetBackup.
2. Verify basic network connectivity between client and server by trying to ping the
client from the server.
ping clientname
Where clientname is the name of the client as configured in the NetBackup policy
configuration, /etc/hosts, and also in NIS and DNS (if applicable).
For example, to ping a client named ant:
ping ant
ant.nul.nul.com: 64 byte packets
64 bytes from 199.199.199.24: icmp_seq=0. time=1. ms
----ant.nul.nul.com PING Statistics----
3. Check that the client is listening on the correct port for connections to bpcd by
running one of the following commands (depending on platform and operating
system).
netstat -a | grep bpcd
netstat -a | grep 13782 (or the value specified during the install)
rpcinfo -p | grep 13782 (or the value specified during the install)
For example, assume the client is a Solaris system and you execute:
netstat -a | grep 13782
If there is no problem with the port, the results are be similar to:
tcp 0 0 *.13782 *.* 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:
- /etc/services (or applicable NIS file) does not have the correct bpcd entry.
The correct /etc services entry is:
bpcd 13782/tcp bpcd
- /etc/inetd.conf (or applicable NIS or DNS file) 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
- /etc/inetd.conf was changed but was not reread. Correct this condition by
executing one of the following (whichever works):
/bin/ps -ef | grep inetd
kill -HUP the_inetd_pid
or
/bin/ps -aux | grep inetd
kill -HUP the_inetd_pid
If the problem is with an AIX client, use SMIT to verify that the InetServ object policy
has been updated with information about the bpcd process (/etc/inetd.conf and
/etc/services information).
If you modify the InetServ object policy, using SMIT, the inetexp command is
automatically invoked. If you edit the InetServ object policy, using an ODM editor, 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.
If you change the /etc/inetd.conf or /etc/services file, using SMIT, the
inetimp command automatically updates the InetServ object policy. If you change
either file, run the refresh -s inetd or kill -1 InetdPID command to inform
the inetd daemon of the changes to its configuration file.
4. telnet to bpcd on the client. If it succeeds, keep the connection until after
performing step 5, then terminate it with Ctrl-c.
telnet clientname 13782
Where clientname is the name of the client as configured in the NetBackup policy
configuration, /etc/hosts, and also in NIS and DNS (if applicable).
For example,
telnet ant bpcd
Trying 199.999.999.24 ...
Connected to ant.nul.nul.com.
Escape character is ‘^]’.
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 doesn’t work, ensure that the inetd.conf file and /etc/services
files on both the server and client have correct and matching entries. By default,
these are:
In /etc/services:
bpcd 13782/tcp bpcd
In /etc/inetd.conf:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
Then, execute kill -HUP to reread the /etc/inetd.conf file as explained in
step 3.
Also, update the applicable NIS or DNS files.
If all these files are correct and you still cannot successfully connect to the client,
suspect network routing problems or a problem with the port assignment (see
next step).
5. Check that the client is listening on the correct port for the telnet connection to
bpcd by running one of the following commands (depending on platform and
operating system).
netstat -a | grep bpcd
netstat -a | grep 13782 (or the value specified during the install)
rpcinfo -p | grep 13782 (or the value specified during the install)
For example, assume the client in step 4 is a SunOS system named ant and the
telnet is from a NetBackup server named whale:
netstat -a | grep 13782
- If there is no problem with the port, you see:
tcp 0 0 ant.nul.nul.com.13782 whale.nul.nul.com.1516 ESTABLISHED
tcp 0 0 *.13782 *.* LISTEN
In the first line of the result, ESTABLISHED indicates that the telnet connection
was established to bpcd through port 13782 on the client.
The LISTEN in the second line indicates that the client is listening for further
connections on this port.
Note We suggest that you not 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 use this new port
assignment.
- If there is a process other than bpcd using the port, try rebooting the client to
clear the problem. If the problem is still not fixed, it might be necessary to change
one of the service numbers (preferably for the other service). You do this by
modifying the /etc/services files then sending SIGHUP signals to the inetd
processes on your clients.
/bin/ps -ef | grep inetd
kill -HUP the_inetd_pid
or
/bin/ps -aux | grep inetd
kill -HUP the_inetd_pid
6. 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” on page 39.
PC Clients
2. If this is a new client, verify the client and server names in your NetBackup
configuration as explained in “Verifying Host Names and Services Entries” on
page 35.
3. Verify basic network connectivity between client and server by pinging from the
server to the client and from the client to the server. Use the following command:
ping hostname
Where hostname is the name of the host as configured in:
- NetBackup policy configuration
- WINS
- DNS (if applicable).
- hosts file in the system directory:
%SystemRoot%\system32\drivers\etc\hosts (Windows NT/2000, XP,
.NET)
C:\Windows\hosts (default on Windows 98 and 95)
If ping succeeds in all instances, it verifies basic connectivity between the server and
client.
If ping fails, you have a network problem outside of NetBackup that must be
resolved before proceeding. As a first step, verify the workstation is turned on, as this
is a common source of connection problems with PC workstations.
a. Ensure that the service is active, either by checking the logs (see step b) or as
follows:
- On Windows NT/2000, XP or .NET 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, right-click 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 the 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 (by default, 13782).
- On Microsoft Windows, check the NetBackup Client Service Port number on
the Network tab in the NetBackup Client Properties dialog. To display this
dialog, start the Backup, Archive, and Restore interface on the client and click
NetBackup Client Properties on the File menu.
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 .NET)
C:\Windows\services (Windows 98 and 95)
The values on the Network tab are written to the services file when the
NetBackup Client service starts.
- On NetWare clients, see the BPCD setting in the openv\netback\bp.ini
file.
- Or, instead of the first bullet under step c, above: 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
window (see “Using the Host Properties Window” on page 55).
Correct the port number if necessary. 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).
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).
- On Microsoft Windows clients (use the same method as in step c under step 4).
- On NetWare clients, see the BPRD setting in the openv\netback\bp.ini file.
- Or, instead of the first bullet: On UNIX NetBackup servers, the bprd port number
is in the /etc/services file. On Windows NetBackup servers, set these
numbers in the Client Properties dialog box in the Host Properties window (see
“Using the Host Properties Window” on page 55).
f. Verify that the NetBackup request daemon (bprd) port number is the same as on
the server (by default, 13720).
- On the client, this is the bprdport setting in the mac.conf file, in the
NetBackup folder in the Preferences folder.
- On UNIX NetBackup servers, the bprd port number is in the
/etc/services file. On a Windows NetBackup server, check the
NetBackup Request Service Port number on the Network tab in the
NetBackup Client Properties dialog. To display this dialog box, start the
Backup, Archive, and Restore interface on the server and click NetBackup
Client Properties on the File menu.
g. Ensure that other values in mac.conf are correct and also check the bp.conf
file. Both files are in the Netbackup folder in the Preferences folder.
If you make changes to mac.conf or bp.conf, reboot the Macintosh.
7. Verify that the hosts file or its equivalent contains the NetBackup server name. The
hosts files are:
- %SystemRoot%\system32\drivers\etc\hosts (Windows NT/2000, XP or
.NET)
- C:\Windows\hosts (Windows 98 or 95)
- SYS:etc\hosts (NetWare)
- /etc/hosts (UNIX)
8. Verify client-to-server connectability by using ping or its equivalent from the client
(step 3 verified the server-to-client connection).
9. If the client’s TCP/IP transport allows telnet and ftp from the server, try these as
additional connectivity checks.
10. For a Macintosh or 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 “can’t connect” or similar error.
11. 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 (as configured in the server list on the client). The master
server then returns information to the requesting client. For more information, see
“Using bpclntcmd” on page 39.
12. Verify that the client operating system is one of those supported by the client
software.
Note For more information on host names, refer to the “Networks and Hostnames”
appendix in this manual and to the “Rules for Using Host Names in NetBackup”
appendix in the NetBackup System Administrator’s Guide.
1. Verify that the correct client and server host names are configured in NetBackup.
a. On Windows servers, Windows clients and NetWare nontarget clients, check the
General tab in the NetBackup Client Properties dialog and the Servers tab in the
Specify NetBackup Machines dialog box. To display these dialog boxes, start the
Backup, Archive, and Restore interface on the client. For the General tab, click
NetBackup Client Properties on the File menu; for the Servers tab, click Specify
NetBackup Machines on the File menu.
- On the Servers tab, ensure that there is a server entry for the master server
and each media server.
b. On 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.
- 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 NetBackup folder of the Preferences folder on
Macintosh clients.
c. 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 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.
e. On the master server, verify that you have 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.
Note The examples following this procedure show the default port numbers. Do not
change NetBackup port assignments unless it is absolutely necessary in order to
resolve conflicts with other applications. If you do change them, do so on all
NetBackup clients and servers. These numbers must be the same throughout your
NetBackup configuration.
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 Administrator’s Guide for a list of these processes.
On UNIX, the services file is /etc/services. On Windows, the services file
is %SystemRoot%\system32\drivers\etc\services.
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 .NET)
C:\Windows\services (Windows 98 and 95)
- On NetWare clients, check the BPCD and BPRD entries in the
openv\netback\bp.ini file.
c. On Macintosh clients, check the mac.conf file in the NetBackup folder in the
Preferences folder to ensure that it has the correct portnum and bprdport
entries.
3. On UNIX servers and clients, check the /etc/inetd.conf file to ensure that it has
the following entry:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
4. On Windows servers and clients, verify that the NetBackup Client service is running.
5. If you are using NIS in your network, update those services to include the NetBackup
information that is added to the /etc/services file.
6. NIS, WINS, or DNS host name information must correspond to what is in the policy
configuration and the name entries in the following:
- On Windows NetBackup servers, Microsoft Windows clients, and NetWare
nontarget clients, check the General tab in the NetBackup Client Properties dialog
and the Servers tab in the Specify NetBackup Machines 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 on the File menu.
- The bp.conf file on UNIX servers and clients and Macintosh clients.
7. To confirm the setup of the IP addresses and hostnames in DNS, NIS, and (or) local
hosts files on each NetBackup node, use the NetBackup bpclntcmd utility.
Using bpclntcmd
The bpclntcmd utility resolves IP addresses into host names and host names into IP
addresses by using the same system calls as the NetBackup application software. The
command that starts the utility is located in the following directory:
install_path\NetBackup\bin (Windows)
/usr/openv/netbackup/bin (UNIX)
On Windows, run this command in an MS-DOS command window so you can see the
results.
bpclntcmd options that are useful for testing the functionality of the host name and IP
address resolution are -ip, -hn, -sv and -pn. The following topics explain each of these
options:
1. On the NetBackup server, use bpclntcmd -hn to verify that the operating system
can resolve the host name of the NetBackup client (as configured in the client list for
the policy) to an IP address. The IP address is then used in the node’s routing tables to
route a network message from the NetBackup server.
2. On the NetBackup client, use bpclntcmd -ip to verify that the operating system
can resolve the IP address of the NetBackup server (the IP address is in the message
that arrives at the client’s network interface).
bpclntcmd -pn
When run on a NetBackup client, the -pn option initiates an inquiry to the NetBackup
master server, and the server then returns information to the requesting client. First,
bpclntcmd identifies the server to which it is making the request (on Windows systems,
this is the Current Server in the server list), then it displays the information that the server
returns.
For example:
bpclntcmd -pn
expecting response from server rabbit.friendlyanimals.com
dove.friendlyanimals.com dove 123.145.167.3 57141
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 connection name (peername) returned by the
master server. The master server obtained this name through
gethostbyaddress().
◆ 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.
bpclntcmd -sv
The -sv option displays the NetBackup version number on the master server.
UNIX
Master jupiter
Server
Ethernet
mars UNIX
Client
usr/openv/netbackup/bp.conf usr/openv/netbackup/bp.conf
SERVER=jupiter SERVER=jupiter
CLIENT_NAME=jupiter CLIENT_NAME=mars
/etc/inetd.conf /etc/inetd.conf
bpcd ... (see note 1) bpcd ... (see note 1)
/etc/services /etc/services
# NetBackup services # NetBackup services
bpcd 13782/tcp bpcd bpcd 13782/tcp bpcd
bprd 13720/tcp bprd bprd 13720/tcp bprd
bpdbm 13721/tcp bpdbm
# Volume Manager services
#
vmd 13701/tcp vmd
tl8cd 13705/tcp tl8cd
The following example includes a UNIX NetBackup media server named saturn. Note is
the addition of a SERVER entry for saturn in the bp.conf files on all the systems. This
entry is second, beneath the one for the master server jupiter.
UNIX UNIX
Master jupiter Media saturn
Server Server
Ethernet
mars UNIX
Policy Client List Client
jupiter
mars
usr/openv/netbackup/bp.conf usr/openv/netbackup/bp.conf
SERVER=jupiter SERVER=jupiter usr/openv/netbackup/bp.conf
SERVER=saturn SERVER=saturn SERVER=jupiter
CLIENT_NAME=mars SERVER=saturn
CLIENT_NAME=saturn
/etc/inetd.conf /etc/inetd.conf
bpcd ... (see note 1) bpcd ... bpcd (see note 1) /etc/inetd.conf
bpcd ... bpcd (see note 1)
/etc/services
/etc/services
# NetBackup services /etc/services
# NetBackup services
bpcd 13782/tcp bpcd
bpcd 13782/tcp bpcd # NetBackup services
bprd 13720/tcp bprd
bprd 13720/tcp bprd bpcd 13782/tcp bpcd
bpdbm 13721/tcp bpdbm bprd 13720/tcp bprd
# Volume Manager services bpdbm 13721/tcp bpdbm
# # Volume Manager services
vmd 13701/tcp vmd #
tl8cd 13705/tcp tl8cd vmd 13701/tcp vmd
tl8cd 13705/tcp tl8cd
The following example shows a NetBackup master server with PC clients, defined here as
Windows, NetWare, or Macintosh clients. Server configuration is the same as it is for
UNIX clients.These clients do not have inetd.conf entries.
Example 3: PC Clients
UNIX
jupiter Macintosh
Master pluto
Client
Server
Ethernet
NetWare Windows
Target Client
Client
mars saturn Preferences Folder
NetBackup Folder
Policy Client List
jupiter
bp.conf
mars
SERVER=jupiter
saturn
CLIENT_NAME=pluto
bp.ini
usr/openv/netbackup/bp.conf [bp] mac.conf
ClientName=mars
SERVER=jupiter portnum=13782
[servers]
CLIENT_NAME=jupiter bprdport=13720
master=jupiter
/etc/inetd.conf [clients]
bpcd ... (see note 1) browser=jupiter
[tcpip] NetBackup Client Properties dialog
/etc/services
# NetBackup services Servers
bpcd 13782/tcp bpcd
bprd 13720/tcp bprd Server List: jupiter
bpdbm 13721/tcp bpdbm
General
# Volume Manager services
Client Name: saturn
#
vmd 13701/tcp vmd Network
tl8cd 13705/tcp tl8cd NetBackup Client Service Port 13782
NetBackup Request Service Port 13720
This network in this example shows a client (mars/meteor) that is a router to clients in
another network. The client’s host name on the master server side is mars and the host
name presented to the client pluto is meteor.
mars
Policy Client List UNIX
jupiter Client
meteor
mars
saturn Ethernet
usr/openv/netbackup/bp.conf UNIX
pluto
SERVER=jupiter Client
SERVER=saturn
usr/openv/netbackup/bp.conf
SERVER=jupiter usr/openv/netbackup/bp.conf
/etc/inetd.conf
SERVER=saturn SERVER=jupiter
bpcd ... bpcd (see note 1)
SERVER=saturn
/etc/services /etc/inetd.conf
# NetBackup services bpcd ... bpcd (see note 1) /etc/inetd.conf
bpcd 13782/tcp bpcd bpcd ... bpcd (see note 1)
bprd 13720/tcp bprd
bpdbm 13721/tcp bpdbm /etc/services
/etc/services
# Volume Manager services # NetBackup services
bpcd 13782/tcp bpcd # NetBackup services
# bpcd 13782/tcp bpcd
vmd 13701/tcp vmd bprd 13720/tcp bprd
tl8cd 13705/tcp tl8cd
The following example shows a NetBackup server that has two Ethernet connections and
clients in both networks. The server’s host name is mars on one and meteor on the other.
UNIX UNIX
mars saturn Media
Client
Server
Ethernet
jupiter UNIX
Master
meteor Server
Ethernet
usr/openv/netbackup/bp.conf
usr/openv/netbackup/bp.conf usr/openv/netbackup/bp.conf
SERVER=jupiter
SERVER=jupiter SERVER=meteor SERVER=jupiter
SERVER=meteor SERVER=saturn SERVER=meteor
SERVER=saturn SERVER=saturn
/etc/inetd.conf
/etc/inetd.conf /etc/inetd.conf
bpcd ... (see note 1)
bpcd ... bpcd (see note 1) bpcd ... bpcd (see note 1)
/etc/services
/etc/services # NetBackup services /etc/services
# NetBackup services bpcd 13782/tcp bpcd # NetBackup services
bpcd 13782/tcp bpcd bprd 13720/tcp bprd bpcd 13782/tcp bpcd
bpdbm 13721/tcp bpdbm
# Volume Manager services
#
vmd 13701/tcp vmd
tl8cd 13705/tcp tl8cd
Windows NT/2000
jupiter
Master Server
Ethernet
Windows NT/2000
mars
Client
Policy Client List
jupiter
mars
NetBackup Configuration 1
Servers
NetBackup Configuration 1
Server List: jupiter
Servers
General
Server List: jupiter (master)
Client Name: jupiter
General
Notes: 1.The NetBackup Client Properties dialog also has a Network tab with “NetBackup
client service port (BPCD)” and “NetBackup request service port (BPRD)” settings
that must be the same as the bpcd and bprd settings in the services file.
2.The complete path to the Windows NT/2000 \etc\services file is:
%SystemRoot%\system32\drivers\etc\services
3.All other applicable network configuration must also be updated to reflect the
NetBackup information. For example, this could include the
%SystemRoot%\system32\drivers\etc\hosts file and also WIN and DNS (if used).
The following example includes a NetBackup media server named saturn. Note the
addition of a server list for saturn on all the systems. Jupiter is designated as the master.
Ethernet
Windows NT/2000
mars
Policy Client List Client
jupiter
mars
The following figure shows a master server with NetWare and Macintosh clients.
Configuration entries for Macintosh are in mac.conf and bp.conf files. Entries for
NetWare are in the openv\netback\bp.ini file.
Example 3: PC Clients
Ethernet
NetWare
Target mars
Preferences Folder
Client
NetBackup Folder
Policy Client List
jupiter bp.conf
mars SERVER=jupiter
CLIENT_NAME=pluto
bp.ini
NetBackup Configuration 1 [bp] mac.conf
ClientName=mars
Servers portnum=13782
[servers]
Server List: jupiter bprdport=13720
master=jupiter
General [clients]
browser=jupiter
Client Name: jupiter
[tcpip]
.../etc/services 2
bpcd 13782/tcp bpcd
bprd 13720/tcp bprd
bpdbm 13721/tcp bpdbm
vmd 13701/tcp vmd
tl8cd 13705/tcp tl8cd
odld 13706/tcp odld
Notes: 1.The NetBackup Client Properties dialog also has a Network tab with “NetBackup
client service port (BPCD)” and “NetBackup request service port (BPRD)” settings
that must be the same as the bpcd and bprd settings in the services file.
2.The complete path to the Windows NT/2000 \etc\services file is:
%SystemRoot%\system32\drivers\etc\services
3.All other applicable network configuration must also be updated to reflect the
NetBackup information. For example, this could include the
%SystemRoot%\system32\drivers\etc\hosts file and also WIN and DNS (if used).
The following example shows a client (mars/meteor) that is a router to clients in another
network. The client’s host name on the master server side is mars and the host name
presented to the client pluto is meteor.
Ethernet
mars
Policy Client List Windows NT/2000 Windows NT/2000
jupiter Client pluto
meteor Client
mars
saturn
Ethernet
NetBackup Configuration 1
Servers
Server List: jupiter (master) NetBackup Configuration 1 NetBackup Configuration 1
saturn
Servers Servers
General
Server List: jupiter Server List: jupiter
Client Name: jupiter saturn saturn
General General
.../etc/services 2 Client Name: mars Client Name: pluto
bpcd 13782/tcp bpcd
bprd 13720/tcp bprd .../etc/services 2 .../etc/services 2
bpdbm 13721/tcp bpdbm
bpcd 13782/tcp bpcd bpcd 13782/tcp bpcd
vmd 13701/tcp vmd bprd 13720/tcp bprd bprd 13720/tcp bprd
tl8cd 13705/tcp tl8cd
Notes: 1.The NetBackup Client Properties dialog also has a Network tab with “NetBackup
client service port (BPCD)” and “NetBackup request service port (BPRD)” settings
that must be the same as the bpcd and bprd settings in the services file.
2.The complete path to the Windows NT/2000 \etc\services file is:
%SystemRoot%\system32\drivers\etc\services
3.All other applicable network configuration must also be updated to reflect the
NetBackup information. For example, this could include the
%SystemRoot%\system32\drivers\etc\hosts file and also WIN and DNS (if used).
The following example shows a NetBackup server with two Ethernet connections and
clients in both networks. The server’s host name is mars on one and meteor on the other.
Example 5: Server Connects to Multiple Networks
Ethernet
Servers Servers
Server List: jupiter Server List: jupiter
meteor meteor
General General
.../etc/services 2 .../etc/services 2
Notes: 1.The NetBackup Client Properties dialog also has a Network tab with “NetBackup
client service port (BPCD)” and “NetBackup request service port (BPRD)” settings
that must be the same as the bpcd and bprd settings in the services file.
2.The complete path to the Windows NT/2000 \etc\services file is:
%SystemRoot%\system32\drivers\etc\services
3.All other applicable network configuration must also be updated to reflect the
NetBackup information. For example, this could include the
%SystemRoot%\system32\drivers\etc\hosts file and also WIN and DNS (if used).
3. Select the servers or clients where you want to make the change.
5. In the properties dialog box that appears, select the appropriate tab and make your
change.
Many procedures in this guide also refer to the NetBackup Client Properties dialog in the
Backup, Archive, and Restore interface on Microsoft Windows clients. This dialog lets you
change NetBackup configuration settings only for the local system where you are running
the interface. Most settings in the NetBackup Client Properties dialog are also available in
the Host Properties window.
Changes to bptm
When a backup job fails with error code 219, the problem is usually caused by a
misconfigured storage unit, or a storage unit in which all drives are down. In order to
make it easier to distinguish between these states, bptm logs the following messages to
the NetBackup error log:
all standalone drives of the specified density=<drive_density> are
down
This message is logged when all drives of the specified density are down.If the storage
unit used in the backup job is configured with standalone drives of this density, then the
cause of the failure resulting in error code 219 is the downed drives.
Note The format of the entries in the NetBackup logs is subject to change without notice.
The following figure shows whether this information is available on the client or server
and the processes involved in making the information available. The remaining topics in
this chapter describe the reports and logs shown on the figure.
Note The term media server, as distinct from master server or server, does not apply to the
NetBackup BusinesServer product. When troubleshooting a BusinesServer
installation, please ignore any references to media server in this guide.
59
See Appendix A for more information on the programs and daemons mentioned in this
figure and elsewhere in this chapter.
SERVER CLIENT
Error File
Catalog Catalog
Client
Client
Status
Debug
Debug
Logs
NetBackup NetBackup Logs
Administration Database
Interface
e e
Master Server
Media
Catalog
e e Notes:
These logs must be enabled
Server
Debug Logs
System Logs
System Messages
Windows Event Log
Reports
NetBackup provides a set of standard reports that gives you most of the status and error
information you need. To run these reports, use the NetBackup administration interface
(see the NetBackup System Administrator’s Guide for instructions). The following table
provides a brief description of the reports.
NetBackup Reports
Report Description
Problems/Problems Problems that the server has logged during the specified time
with Backups period. This information is a subset of the information in the All
Log Entries report.
All Log Entries All log entries for the specified time period.
Debug Logs
If a problem requires more information than is available through the normal logs and
reports, you can enable debug logs that show detailed information about specific
processes. To enable debug logging for a process, create a directory for its logs as
explained in the following topics. Each process creates logs in its own logging directory.
The logs that are available depend on whether the system is a server or a client.
To enable debug logging on NetBackup servers, create the appropriate directories under:
UNIX: usr/openv/netbackup/logs
Windows: install_path\NetBackup\logs
The table below lists the debug log directories that apply to servers. When these
directories exist, NetBackup creates log files in the directory for the associated process.
See the “Functional Overview” for more information on the programs and daemons that
write the logs.
Note Media servers have only the bpbrm, bpcd, bpdm, and bptm debug logs.
bpdbm NetBackup database manager. This process runs only on master servers.
On Windows systems, it is the NetBackup Database Manager service.
bpsched NetBackup backup scheduler. This process runs only on master servers.
vnetd The VERITAS network daemon, used to create “firewall friendly” socket
connections. Started by the inetd(1M) process.
The following is a list of facts to be familiar with before using debug logs:
◆ On UNIX systems, NetBackup retains debug logs for the number of days you specify
with the Keep Logs for global attribute (28 days by default) and then deletes them.
For instructions on changing Keep Logs for, see the NetBackup System Administrator’s
Guide for UNIX.
On Windows systems, NetBackup retains debug logs for the number of days you
specify with the Duration to Retain Logs global attribute (28 days by default) and
then deletes them. For instructions on changing Duration to Retain Logs, see the
NetBackup System Administrator’s Guide for Windows.
◆ Debug logs can grow very large. Enable them only if unexplained problems exist and
delete both the logs and the associated directory when they are no longer needed.
◆ Each debug log is kept in a separate subdirectory under:
UNIX: /usr/openv/netbackup/logs
Windows: install_path\NetBackup\Logs
Debug logging takes place only if you create the subdirectory where the process can
store its logs.
◆ A process creates one debug log file per day.
On UNIX, the file names created are of the form:
log.mmddyy
For example:
log.140898
Caution High verbose values can cause debug logs to become extremely large.
- Also note: You can use the Logging dialog/tab under Master Server Properties to
set the logging level for individual processes, as described in the NetBackup
System Administrator’s Guide. Or, specify the verbose flag (if available) when
starting the program or daemon.
Note Create the directories with access modes of 777 or user processes cannot write to the
log files.
bparchive Archive program. These debug logs are also useful for debugging
xbp and bp processes.
bpbackup Backup program. These debug logs are also useful for debugging
xbp and bp processes.
bphdb Program used to start obackup to back up Oracle databases. See the
NetBackup for Oracle System Administrator’s Guide for more
information.
bplist Program that lists backed up and archived files. This debug log is
also useful for debugging xbp and bp processes.
bpmount Program that determines local mount points and wildcard expansion
for Multiple Data Streams.
bprestore Restore program. These debug logs are also useful for debugging
xbp and bp processes.
db_log For more information on these logs, see the NetBackup guide for the
database-extension product that you are using.
Note These are the default locations in which to place these directories. You can specify
another location during client installation (see the user guide for the respective
client).
bparchive Windows NT/2000, 98, Archive program that is run from the
95 command line.
bpbackup Windows NT/2000, 98, Backup program that is run from the
95 command line.
bplist Windows NT/2000, 98, List program that is run from the command
95 line.
bpmount Windows NT/2000, 98, Program used to collect drive names on the
95 client for multistreaming clients.
bprestore Windows NT/2000, 98, Restore program that is run from the
95 command line.
user_ops Windows NT/2000, 98, The user_ops directory is created during the
95 install of NetBackup on all servers and
clients. The NetBackup Java interface
programs use it for temporary files and for
job and progress log files generated by the
user backup, archive, and restore program
(jbpSA). This directory must exist for
successful operation of any of the Java
programs and must have public read, write
and execute permissions. user_ops will
contain a directory for every user that is using
the Java programs.
Note Increasing the log level can cause the logs to grow very large, so take this action
only if unexplained problems exist.
On UNIX
Media Manager on a UNIX system automatically records robotic and network errors in
the system logs by using syslogd. System log entries are also made when robotically
controlled drives change between UP and DOWN states.
Note You must enable system logging to troubleshoot ltid or robotic software. See the
syslogd(8) man page for information on setting up system logs.
If a problem requires more information, enable debug logging to the system logs by
including the verbose option (-v) on the command that you use to start a daemon. This
command can be:
◆ The ltid command that started the device management processes. If the -v option is
included on the ltid command, all daemons started as a result also have the -v
option in effect.
or
◆ A command to start a specific daemon (for example, acsd -v). Alternatively, put a
VERBOSE entry in the Media Manager configuration file,
/usr/openv/volmgr/vm.conf, and restart ltid (create the vm.conf file if
necessary).
See the syslogd man page for the locations of system log messages. Errors are logged
with LOG_ERR, warnings with LOG_WARNING, and debug information with
LOG_NOTICE. The facility type is daemon.
To enable debug logging for the Media Manager Volume daemon (vmd), create the
following directories before starting vmd (or stop and restart vmd after creating them):
/usr/openv/volmgr/debug/daemon
(Debug information on the daemon)
/usr/openv/volmgr/debug/reqlib
(Debug information on the process requesting the daemon)
/usr/openv/volmgr/debug/tpcommand
(Debug information on the tpconfig and tpautoconf commands)
/usr/openv/volmgr/debug/ltid
(Debug information on ltid)
/usr/openv/volmgr/debug/acssi
(Debug information on transactions between NBU and the Storage Tek ACSLS
server)
Media Manager creates one log per day in each of the debug directories with file names of
the form:
log.mmddyy
For example:
log.110894
Note On HP-UX, the sysdiag tool may provide additional information on hardware
errors. On Compaq Tru64 the uerf command may provide additional information
on hardware errors.
On Windows
On Windows, Media Manager records robotic and drive errors in the Event Viewer
Application log. Log entries are also made when drives change between the UP and
DOWN states.
If a problem requires more information, increase the level of logging to the Event Viewer
Application log by adding a VERBOSE entry to the following file:
install_path\Volmgr\vm.conf
In addition, you can enable debug logging for the NetBackup Volume Manager service by
creating the following directories:
install_path\Volmgr\debug\daemon
(Debug information on the service)
install_path\Volmgr\debug\reqlib
(Debug information on the process requesting the service)
install_path\Volmgr\debug\tpcommand
(Debug information on the tpconfig and tpautoconf commands)
install_path\Volmgr\debug\ltid
(Debug information on ltid)
NetBackup creates one log per day in each of the above debug directories with file names
of the form:
mmddyy.log
For example:
110894.log
To disable debug logging for the NetBackup Volume Manager service, either delete or
rename the directories.
Media Manager retains debug logs for the number of days you specify with the
DAYS_TO_KEEP_LOGS = entry in the vm.conf file. (The default is infinite retention.) For
instructions on using this entry, see the NetBackup DataCenter Media Manager System
Administrator’s Guide.
2. Add an entry (optional) to the eventlog file that specifies the severity and type of
NetBackup messages that are written. The following is an example:
56 255
The next topic explains the format of the entry. If you do not add an entry, a default
value is used, which is also explained in the next topic.
1 = Unknown
2 = Debug
4 = Info
8 = Warning
16 = Error
32 = Critical
Type:
1 = Unknown
2 = General
4 = Backup
8 = Archive
16 = Retrieve
32 = Security
64 = Backup Status
128 = Media Device
◆ If the file is empty, the default severity is Error (16) and the default type is Backup
Status (64).
◆ If the file has only one parameter, it is used for the severity level and the default value
of Backup Status (64) is used for the type.
Example
Assume you want to include all types of messages that have severity levels of warning,
error, and critical. In this instance, the entry is:
56 255
Where:
56 = severity= the sum of warning, error, and critical (8 + 16 + 32)
255 = type = the sum of all types (1 + 2 + 4 + 8 + 16 + 32 + 64 +128)
The following is an example of a message written in the Windows Event Viewer
Application Log:
16 4 10797 cacao bush bpsched backup of client bush exited with status
71
Note The error message is not always accompanied by a status code. You can find the
status code by looking up the message in the alphabetical listing at the end of
Chapter 4. Then use the status code to find the full description of the message in the
first half of Chapter 4.
These are generated by either the Java APIs or by NetBackup Administration APIs.
These messages begin with the name of the exception. For example:
java.lang.ClassCastException
or
vrts.nbu.NBUCommandExecutionException
Java exceptions usually appear in one of three places:
- In the status line (bottom) of the NetBackup Administration window
- In the log file generated by the jnbSA or jbpSA commands
- When set up, in the output file of the Windows Display Console .bat file (see
“Enabling Detailed Debug Logging” below, for more detail)
◆ Operating system errors
Messages that do not match those documented in this manual are probably operating
system errors.
1. On the NetBackup client or server specified in the login dialog, create the
bpjava-msvc, bpjava-susvc (if a NetBackup server), and bpjava-usvc (if a
NetBackup client) debug log directories in the /usr/openv/netbackup/logs
directory (UNIX) or in install_path\NetBackup\logs (Windows). Refer to
“Debug Logs” earlier in this chapter for more information.
2. On the UNIX machine where you execute the jnbSA or jbpSA commands, add the
following line to the Debug.properties file in the /usr/openv/java directory.
debugLevel=2
The log file name is displayed in the xterm window where you executed the jnbSA or
jbpSA commands.
3. If you are using the NetBackup Windows Display Console, add the following line to
the host_name.properties file in the NetBackup Java installed folder (for
example, C:\VERITAS\java):
debugLevel=2
4. If you are using the Windows Display Console, you should also add the following to
the end of the last command in the associate.bat file in the NetBackup Java
installed folder:
jnbdebug
This redirects output to a file.
Note NCVU is a UNIX-only utility. With a NetBackup 4.5 feature pack installed, NCVU is
supported on the Solaris, HP-UX, and AIX platforms.
81
Analysis Utilities for NetBackup Debug Logs
of the job debug log(s) by scanning the logs for all processes traversed/executed for the
job. The utilities can consolidate job information by client, job ID, start time for the job,
and policy associated with the job.
The available utilities are:
◆ backuptrace will copy to standard output the debug log lines relevant to the
specified backup job[s]
◆ restoretrace will copy to standard output the debug log lines relevant to the
specified restore job[s]
◆ bpgetdebuglog is a helper program for backuptrace and restoretrace
◆ backupdbtrace consolidates the debug log messages for specified NetBackup
database backup jobs and writes them to standard output.
◆ duplicatetrace consolidates the debug logs for the specified NetBackup duplicate
jobs and writes them to standard output.
◆ importtrace consolidates the debug log messages for the specified NetBackup
import jobs and writes them to standard output.
◆ verifytrace consolidates the debug log messages for the specfied verify job[s] and
writes them to standard output.
Installation Requirements
To install the log analysis utility, first download the tar file from the VERITAS NetBackup
support web site (www.support.veritas.com).
Currently the log analysis utilities are available for Digital UNIX (alpha), Tru64 UNIX
(alpha), HP/UX 11 (hp_ux), RedHat Linux (linux2.2), AIX 5 (rs6000), IRIX (sgi), Solaris
(solaris), and Windows NT/2000 (nt/x86). Because of shared library dependencies, the
utilities will only run on machines that have NetBackup 4.5 or greater server software
installed.
Note Even though the utilities have to be initiated on a supported platform, they can still
analyze debug log files from most NetBackup 4.5 UNIX and Windows NT/2000
client and server platforms.
Output Format
The format of an output line is:
log_line The line that actually appears in the debug log file.
Limitations
While the log analysis utilities cover a variety of logs, the following exceptions occur.
◆ Media Manager logs are not analyzed.
◆ Windows 95/98 and Mac OS 8/9 client logs may not be analyzed. The server logs for
a Windows 95/98 or Mac OS 8/9 backup or restore jobs will be analyzed.
◆ The debug log files must be in standard locations on the servers and clients.
/usr/openv/netbackup/logs/<PROGRAM_NAME>/log.mmddyy on UNIX and
<install_path>/NetBackup/Logs/<PROGRAM_NAME>/mmddyy.log on
Windows. We may add an option later that allows the analyzed log files to reside on
alternate paths.
◆ bpgetdebuglog has shared library dependencies that require that it be run on a
machine with NetBackup 4.5 server software installed.
◆ The consolidated debug log may contain messages from unrelated processes. You can
ignore messages from bprd, bpsched, bpdbm, bpbrm, bptm, bpdm, and bpcd with
timestamps that are outside the duration of the job.
backuptrace
The backuptrace utility can be used for regular file system, database extension, and
alternate backup method backup jobs. It consolidates the debug logs for specified
NetBackup jobs. The debug log meessages relevant to the specified jobs will be written to
standard output and the messsages will be sorted by time. backuptrace will attempt
compensate for time zone changes and clock drift between remote servers and clients.
The output is formatted so that it should be relatively easy to sort or grep by time stamp,
program name, and/or server/client name.
To use backuptrace, at a minimum you must enable debug logging for bpsched on the
master server. You should enable debug logging for bpbrm and bptm/bpdm on the media
server and bpbkar on the client. For best results, set the verbose logging level to 5. Enable
debug logging for bpdbm and bprd on the master server and for bpcd on all servers and
clients in addition to the processes already identified.
This command requires administrative privileges.
restoretrace
restoretrace consolidates the debug logs for specified NetBackup restore jobs. The
debug log meessages relevant to the specified jobs will be written to standard output and
the messsages sorted by time. restoretrace will attempt compensate for time zone
changes and clock drift between remote servers and clients. The output is formatted so
that it should be relatively easy to sort or grep by time stamp, program name, and/or
server/client name.
At a minimum, you must enable debug logging for bprd on the master server. Enable
debug logging for bpbrm and bptm/bpdm on the media server and tar on the client. For
best results, set the verbose logging level to 5. Enable debug logging for bpdbm on the
master server and for bpcd on all servers and clients.
This command requires administrative privileges.
bpgetdebuglog
bpgetdebuglog is a helper program for backuptrace and restoretrace. It can also
be useful as a standalone program. It is available for all NetBackup server platforms.
bpgetdebuglog will print to standard output the contents of a specified debug log file,
or, if only the remote machine parameter is specified, bpgetdebuglog will print to
standard output the number of seconds of clock drift between the local machine and the
remote machine.
This command requires administrative privileges.
backupdbtrace
backupdbtrace consolidates the debug log messages for specified NetBackup database
backup jobs and writes them to standard output. The messages will be sorted by time.
backupdbtrace will attempt to compensate for time zone changes and clock drift
between remote servers and clients.
At a minimum, you must enable debug logging for admin on the master server, and for
bptm and bpbkar on the media server. For best results, set the verbose logging level to 5
and enable debug logging for bpdbm on the master server and bpcd on all servers in
addition to the processes already identified.
This command requires administrative privileges.
duplicatetrace
duplicatetrace consolidates the debug logs for the specified NetBackup duplicate jobs
and writes them to standard output. The messages will be sorted by time.
duplicatetrace will attempt to compensate for time zone changes and clock drift
between remote servers and clients.
At a minimum, you must enable debug logging for admin on the master server and for
bptm/bpdm on the media server. For best results, set the verbose logging level to 5 and
enable debug logging for bpdbm on the master server and bpcd on all servers and clients
in addition to the processes already identified.
This command requires administrative privileges.
importtrace
importtrace consolidates the debug log messages for the specified NetBackup import
jobs and writes them to standard output. The messages will be sorted by time.
importtrace will attempt to compensate for time zone changes and clock drift between
remote servers and clients.
At a minimum, you must enable debug logging for admin on the master server, and for
bpbrm, bptm and tar on the media server. For best results, set the verbose logging level
to 5 and enable debug logging for bpdbm on the master server and bpcd on all servers
and clients in addition to the processes already identified.
This command requires administrative privileges.
verifytrace
verifytrace consolidates the debug log messages for the specfied verify job[s] and
writes them to standard output. The messages will be sorted by time. verifytrace will
attempt to compensate for time zone changes and clock drift between remote servers and
clients.
At a minimum, you must enable debug logging for admin on the master server, and for
bpbrm, bptm/bpdm and tar on the media server. For best results, set the verbose
logging level to 5 and enable debug logging for bpdbm on the master server and bpcd on
all servers and clients in addition to the processes already identified.
This command requires administrative privileges.
89
Status Codes
Status Codes
Note The term media server, as distinct from master server or server, does not apply to the
NetBackup BusinesServer product. When troubleshooting a BusinesServer
installation, please ignore any references to media server.
◆ On clients using Open Transaction Manager (OTM) for open file management, the
OTM cache may be full. See the recommended actions under status code 11.
◆ On a UNIX system, the lstat system call fails on a file that is eligible to be backed
up. This may be a permission problem.
◆ On a UNIX system, a file could not be locked that has mandatory locking enabled.
◆ A Vault job may terminate with status code 1 if non-fatal errors are encountered
during one or more of the following operations:
- duplication
- suspension of unvaulted media
- expiration of disk images
- execution of vlt_ejectlist_notify script
- catalog backup
- eject and/or report
In the event of a non-fatal error, Vault will attempt to complete all the steps
configured in the vault profile.
Identify which of the above operations encountered an error by reviewing the
summary.log file in each of the sidxxx directories that had problems:
On UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
On Windows:
install_path\NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
Or review the vault debug log file in the following directory:
On UNIX: /usr/openv/netbackup/logs/vault
On Windows: install_path\NetBackup\logs\vault
Correct the problem and rerun the vault job.
◆ If a scheduled backup of a UNIX database extension client started via a policy that
contains multiple backup scripts fails with a status code 1, it means that some of the
backup scripts returned a failure status.
◆ With a NetBackup 4.5 feature pack installed, for clients that use Volume Snapshot
Provider (VSP) to back up open or active files VSP may not have been enabled
successfully for the backup. The following logging messages should appear in the
bpbkar32 logs if VSP could not be successfully enabled:
9:21:31.819 AM: [2156.2072] <4> V_VSP_CreateSnapshot: INF - VSP: will attempt enable for ' C:\'
9:21:31.819 AM: [2156.2072] <4> V_VSP_CreateSnapshot: INF - SSM Request (00000120): 1 0 0 0 C:\
9:22:32.366 AM: [2156.2072] <4> V_VSP_CreateSnapshot: INF - SSM Reply: 121
9:22:32.366 AM: [2156.2072] <4> V_VSP_CreateSnapshot: INF - VSP: not enabled
If this is the case, examine the SSM logs for the following logging messages (Please see
the Configuring Host Properties > Client Properties > VSP (Volume Snapshot
Provider) Tab > Logging Level section in the NetBackup System Administrator’s
Guide for more details on enabling debug message logs for SSM):
- 9:22:32.366 AM: [1076.2204] <16> VSP::V_VSPCreateSnapShot: ERR - VSP_Create
failed (WIN32 121: The semaphore timeout period has expired.)
Cause: VSP could not be enabled because the VSP snapshot for the backup could
not meet the minimum time specified in the Busy File Wait setting for VSP.
Recommended action: Either increase the Busy File Timeout VSP setting
(recommended setting: 300 seconds or more) or resubmit the backup job when
there is less activity on the volume.
- 12:50:05.031 PM: [301.235] <16> VSP::V_VSPPrepareToSnap: ERR - VSP_Prepare
failed (WIN32 112: There is not enough space on the disk.)
Cause: VSP could not be enabled for the backup because there is not enough free
disk space on the client for the VSP Snapshot Cache files. Recommended action:
Free up some disk space on the volumes being backed up.
◆ With a NetBackup 4.5 feature pack installed, for clients that use Volume Snapshot
Provider (VSP) to back up open or active files the VSP cache may be full. See the
recommended actions under status code 155.
If you are backing up a network drive or a UNC (universal naming convention) path,
use the Services application in the Windows Control Panel to verify that the
NetBackup Client service does not start under the SYSTEM account. The SYSTEM
account cannot access network drives.
To back up network drives or UNC paths, change the NetBackup Client service
startup to log in as a user that has permission to access network drives.
1. Ensure that the client’s server list contains entries for the master server and for any
media servers that could be used during a backup or restore.
2. Examine the status or progress log on the client for messages on why the restore
failed. Also, check the All Log Entries report on the server.
5. For OpenVMS clients, make sure the NetBackup client software is version 3.2.4 or
higher.
6. For NetBackup for EMC Fastrax: you may need to increase the
CLIENT_READ_TIMEOUT and CLIENT_CONNECT_TIMEOUT values in the server’s
/usr/openv/netbackup/bp.conf file. Although the optimal time-out values for
your system may be different, the following values may suffice:
CLIENT_READ_TIMEOUT = 3000
CLIENT_CONNECT_TIMEOUT = 3000
The safest approach is to increase the timeout values and rerun the restore. Note,
however, that the Fastrax system may have completed the restore successfully on its
own, even though NetBackup experienced the timeout.
1. Verify that you have read access to the files. Check the status or progress log on the
client for messages on why the backup failed. Correct problems and retry the backup.
2. On Windows clients, verify that the account used to start the NetBackup Client
service has read access to the files.
3. On Macintosh clients, this code can be due to multiple backups being attempted
simultaneously on the same client. Some possible solutions are:
- Adjust the backup schedules.
- If the client is only in one policy, set the policy attribute, Limit jobs per policy, to
1.
- Set the NetBackup global attribute, Maximum jobs per client, to 1 (note that this
limits all clients in all policies).
4. For a UNIX database extension client (for example, NetBackup for Oracle), this can
mean a problem with the script that is controlling the backup.
Check the progress report on the client for a message such as Script exited with
status code = number (the number will vary). The progress log also usually
names the script.
Check the script for problems. Also, check the troubleshooting logs created by the
database extension. See the NetBackup guide that came with the database extension
for information on the scripts and troubleshooting logs.
1. Check the All Log Entries and Problems reports to determine which system call failed
and other information about the error.
Make sure that the file system specified for the frozen image source has been
mounted.
◆ The file system specified as the frozen image source does not correspond to the file
system that contains the actual files (as opposed to symbolic links to the files). The
mounted file system for the frozen image source must contain the actual files, not
symbolic links. If items in the file list, such as /oracle/datafile and /oracle, are
actually symbolic links to /export/home/oracle, the frozen image source must
specify /export, or /export/home, not /oracle.
◆ vxvm is selected as the frozen image method but the frozen image source is not
configured over a VERITAS Volume Manager VxVM volume. In this case, you may
see the following in the /usr/openv/netbackup/logs/bpbkar log:
17:12:51 bpbkar main: FTL - frozen image processing failed, status 11
17:12:51 bpbkar Exit: ERR - bpbkar FATAL exit status = 11: system call failed
17:12:51 bpbkar Exit: INF - EXIT STATUS 11: system call failed
Make sure that the frozen image source is configured over a VERITAS Volume
Manager VxVM volume.
◆ vxvm was selected as the frozen image method, but a VERITAS Volume Manager
snapshot mirror of the frozen image source volume had not been created prior to
running the backup, or another backup is currently running that is using the snapshot
mirror. In either case, you may see the following in the
/usr/openv/netbackup/logs/online_util log:
17:12:51 onlfi_freeze: FTL - VfMS error 11; see following messages:
17:12:51 onlfi_freeze: FTL - Fatal method error
17:12:51 onlfi_freeze: FTL - vfm_freeze: method: vxvm, type: FIM, function:
vxvm_freeze
17:12:51 onlfi_freeze: FTL - VfMS method error 3; see following message:
17:12:51 onlfi_freeze: FTL - find_ready_snapshot: Cannot find available
snapshot mirror
As described under “Creating a Snapshot Mirror of the vxvm Frozen Image Source”
in the NetBackup ServerFree Agent System Administrator’s Guide, create a snapshot
mirror on the client before running the backup.
◆ vxvm was selected as the frozen image method, and a VERITAS Volume Manager
snapshot mirror of the frozen image source volume has been created. However, two
different backup jobs (A and B) attempt to back up the same volume (for example,
vol01), but job A starts just before job B. Because there is a brief pause between
finding an available snapshot mirror and actually forming the frozen image of it, job B
(running slightly behind job A) might attempt to create a frozen image of the snapshot
mirror just before job A (running slightly ahead) actually creates the frozen image and
gets the lock on it.
In this case, you may see the following in the
/usr/openv/netbackup/logs/online_util log:
17:12:51 onlfi_freeze: FTL - VfMS error 11; see following messages:
17:12:51 onlfi_freeze: FTL - Fatal method error
17:12:51 onlfi_freeze: FTL - vfm_freeze: method: vxvm, type: FIM, function:
vxvm_freeze
17:12:51 onlfi_freeze: FTL - VfMS method error 3; see following message:
17:12:51 onlfi_freeze: FTL - vxvm_freeze: Command failed with status=11:
/usr/sbin/vxassist -g rootdg snapshot vol01 VfMSCAAu7a4Uw </dev/null
>/var/tmp/VfMSAAAs7a4Uw 2>/var/tmp/VfMSBAAt7a4Uw
The job that was unable to get a lock (job B in the above example) fails, and must be
run again.
◆ When using nbu_snap as a frozen image method, you may have stale snapshots if
status code 11 occurs with the following messages in the
/usr/openv/netbackup/logs/online_util log. (Stale snapshots are those that
were not automatically deleted by nbu_snap.)
17:12:51 onlfi_freeze: FTL - VfMS error 11; see following messages:
17:12:51 onlfi_freeze: FTL - Fatal method error
17:12:51 onlfi_freeze: FTL - vfm_freeze: method: nbu_snap, type: FIM,
function: nbu_snap_freeze
17:12:51 onlfi_freeze: FTL - VfMS method error 5; see following message:
17:12:51 onlfi_freeze: FTL - nbu_snap_freeze: Cannot turn on snapshot;
frozen image source=/oracle/ufs_r, cache=/dev/rdsk/c4t1d11s4,snap error=11
◆ If a backup using the fsclone frozen image method failed, the NetBackup bpbkar
process should automatically remove the clone. Sometimes, however, bpbkar is
unable to remove the clone. In this case, you may see messages such as the following
in the /usr/openv/netbackup/logs/online_util log:
15:21:45.716 [4236] <4> create_mount_point: INF - Created mount point
/tmp/_vtrax_test_fastrax_dlt:4236
15:21:45.869 [4236] <2> onlfi_vfms_logf: INF - vxfs clone handle : 9600344
15:21:45.870 [4236] <2> onlfi_vfms_logf: INF - fsclone_freeze: Cannot create
checkpoint; status=17
15:21:45.872 [4236] <4> delete_mount_point: INF - Deleted mount point
/tmp/_vtrax_test_fastrax_dlt:4236
15:21:45.873 [4236] <32> onlfi_freeze: FTL - VfMS error 11; see following
messages:
15:21:45.873 [4236] <32> onlfi_freeze: FTL - Fatal method error was reported
15:21:45.873 [4236] <32> onlfi_freeze: FTL - vfm_freeze: method: fsclone,
type: FIM, function: fsclone_freeze
15:21:45.873 [4236] <32> onlfi_freeze: FTL - VfMS method error 17; see
following message:
15:21:45.874 [4236] <32> onlfi_freeze: FTL - fsclone_freeze: Cannot create
checkpoint; status=17
Note If the clone is not removed, you will not be able to use fsclone to back up any data
in the file system where the clone is mounted.
a. List the name of the clone by entering the following VxFS command:
/usr/lib/fs/vxfs/fsckptadm list /file_system
where file_system is the name of the file system where the clone is mounted.
Following is sample output. In this example, /vtrax_test is the file system and
fi_ckpt is the name of the clone.
/vtrax_test
fi_ckpt:
ctime = Mon Nov 12 10:08:13 2001
mtime = Mon Nov 12 10:08:13 2001
flags = largefiles
c. If the clone cannot be removed, unmount the clone and retry step b.
◆ If a frozen image backup failed using TimeFinder, ShadowImage, or BusinessCopy
method, there may be a VxVM clone left over from a previous backup. You may see
messages similar to the following in the
/usr/openv/netbackup/logs/online_util log:
19:13:07.686 [14981] <2> onlfi_vfms_logf: INF - do_cmd: Command failed with status=20:
/usr/openv/netbackup/bin/bpdgclone -g wil_test -n vol01 -f /var/tmp/HDSTFCAAs7aOqD
</dev/null >/var/tmp/VfMSAAAq7aOqD 2>/var/tmp/VfMSBAAr7aOqD
19:13:07.687 [14981] <2> onlfi_vfms_logf: INF - --- Dumping file /var/tmp/VfMSAAAq7aOqD
(stdout):
19:13:07.687 [14981] <2> onlfi_vfms_logf: INF - --- End of file /var/tmp/VfMSAAAq7aOqD
19:13:07.687 [14981] <2> onlfi_vfms_logf: INF - --- Dumping file /var/tmp/VfMSBAAr7aOqD
(stderr):
19:13:07.687 [14981] <2> onlfi_vfms_logf: INF - clone group and volume already exists
19:13:07.688 [14981] <2> onlfi_vfms_logf: INF - --- End of file /var/tmp/VfMSBAAr7aOqD
a. When no backups are running, use the following VxVM command to list any
clones: vxdg list
The clone name will be of the form clone_disk_group_clone.
c. Before running the backup again, resynchronize the primary disk with the
secondary disk. For assistance, refer to the “Extended Frozen Image Services”
chapter of the NetBackup ServerFree Agent System Administrator’s Guide.
◆ If a frozen image backup failed using the FlashSnap or VVR frozen image method,
there may be a VxVM frozen image left over from a previous backup. You may see
messages similar to the following in the
/usr/openv/netbackup/logs/online_util log:
14:41:15.345 [22493] <32> onlfi_freeze: FTL - VfMS error 11; see following messages:
14:41:15.345 [22493] <32> onlfi_freeze: FTL - Fatal method error was reported
14:41:15.345 [22493] <32> onlfi_freeze: FTL - vfm_freeze_commit: method: FlashSnap, type: FIM,
function: FlashSnap_freeze_commit
14:41:15.345 [22493] <32> onlfi_freeze: FTL - VfMS method error 8; see following message:
NetBackup automatically creates VxVM frozen images for backups of data configured
over volumes. After the backup completes, NetBackup removes the VxVM frozen
image. In this case, a system crash or reboot may have prevented the removal.
Remove the frozen image as follows.
For FlashSnap:
(Do the following on the client or alternate client, depending on the type of backup.)
◆ If FastResync has been enabled on the VxVM mirror, but the mirror does not have
“NBU-PFI” in its comment field, messages such as the following appear in the
/usr/openv/netbackup/logs/bppfi log:
> 14:53:57.982 [17230] <2> onlfi_vfms_logf: INF - /usr/sbin/vxprint -g
rootdg -q -t -e 'assoc=“pfi_concat“' </dev/null >/var/tmp/VfMSAA
> AyjaWPH 2>/var/tmp/VfMSBAAzjaWPH
> 14:53:58.097 [17230] <2> onlfi_vfms_logf: INF - pfi_is_new_vol.3156:
exiting with = 0
> 14:53:58.097 [17230] <2> onlfi_vfms_logf: INF - pfi_find_snapdone: 1
SNAPDONE plexes found
>
> 14:53:58.097 [17230] <2> onlfi_vfms_logf: INF - Executing command:
> 14:53:58.097 [17230] <2> onlfi_vfms_logf: INF - /usr/sbin/vxassist
-g rootdg snapprint pfi_concat </dev/null >/var/tmp/VfMSAAAyjaWPH
> 2>/var/tmp/VfMSBAAzjaWPH
> 14:53:58.183 [17230] <2> onlfi_vfms_logf: INF - 0 active plexes for
/rootdg/pfi_concat: 0 are PFI 0 non-PFI
>
> 14:53:58.183 [17230] <2> onlfi_vfms_logf: INF -
pfi_find_active.3309: exiting with VXVM_E_SYS = 3
> 14:53:58.183 [17230] <2> onlfi_vfms_logf: INF - pfi_snapshot.3866:
No PFI snapshot. err= 3
Enter “NBU-PFI” in the comment field of the VxVM mirror as described in the
“Configuration” chapter of the NetBackup Persistent Frozen Image System Administrator’s
Guide .
5. A frequent cause is that the server’s file system is full. For example, you may see a
message similar to the following in the Problems report or bpdbm debug log:
06/27/95 01:04:00 romb romb db_FLISTsend failed: system call failed (11)
6. Verify that the system is not running out of virtual memory. If virtual memory is the
problem, shut down unused applications or increase the amount of virtual memory.
To increase virtual memory on Windows:
b. Double-click System.
7. On UNIX systems, check for a semaphore problem. This error can be caused by the
system not having enough semaphores allocated. This is most commonly seen on
Solaris 2 servers when an RDBMS is also running.
The symptoms of the problem vary. In some cases, error messages in the NetBackup
log indicate a backup failure due to an error in semaphore operation; another
symptom is the inability of the NetBackup Device Manager service Media Manager
device daemon, ltid, to acquire a needed semaphore (this is the Media Manager
Device Manager device daemon on UNIX).
System requirements vary; thus, no absolute recommendations can be made. One
customer running both NetBackup and ORACLE on their Solaris server made the
following changes to their /etc/system file and then rebooted the system (boot
-r); the changes were found to be adequate:
set semsys:seminfo_semmni=300
set semsys:seminfo_semmns=300
set semsys:seminfo_semmsl=300
set semsys:seminfo_semmnu=600
Set these attributes to a value great enough to provide resources to all applications on
your system.
Run the NetBackup Configuration Validation Utility (NCVU) and note the semaphore
settings in the kernel checks in section one.
8. Examine other debug logs or the progress log or status on the client.
1. Check the NetBackup Problems report for clues on where and why the problem
occurred.
2. For a FlashBackup client, check the /var/adm/messages log for errors like the
following:
Mar 24 01:35:58 bison unix: WARNING: sn_alloccache: cache
/dev/rdsk/c0t2d0s3 full - all snaps using this cache are now unusable
This indicates that the cache partition is not large enough. If possible, increase the size
of the cache partition. Or, if multiple backups are using the same cache, either reduce
the number of concurrent backups by rescheduling some of them or reschedule the
entire backup to a time when the file system is less active.
3. For detailed troubleshooting information, create a debug log directory for the process
that returned this status code, retry the operation, and check the resulting debug log.
1. Check the NetBackup Problems report for clues on why the failure occurred.
2. On a UNIX system, check that /etc/services and NIS services map (if applicable)
have entries for the NetBackup services: bpcd, bpdbm, and bprd.
3. On a UNIX system, run the NetBackup Configuration Validation Utility (NCVU) and
note the services configuration checks in section one.
Ensure 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 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.
Also, see “Verifying Host Names and Services Entries” on page 35.
5. Check the level of network activity. An overloaded network can cause this error.
6. If the above actions do not reveal the problem, create a debug log directory for the
process that returned this status code, retry the operation, and check the resulting
debug log.
2. If the error occurs when executing a command on the command line, verify that the
parameters are valid.
- The media server may not have the correct 3pc.conf file entry for the client disk
needed for the backup. The following appears in the /usr/openv/netbackup
/logs/bpbkar log:
14:45:00.983 [15773] <4> bpmap_mm_get_devid: GET_DEVICE_INDEX 1
EMC:SYMMETRIX:601092014000
14:45:00.986 [15773] <4> bpbkar child_send_keepalives: keepalive
child started, pid = 15822
14:47:02.029 [15773] <4> bpmap_mm_get_devid: keepalive child:
15822 killed
14:47:02.030 [15773] <4> bpmap_mm_get_devid: DEVICE_INDEX -1
14:47:02.031 [15773] <16> bpmap_send_extend: ERR - can't obtain
device id string EMC:SYMMETRIX:601092014000
14:47:33.167 [15773] <16> bpbkar Exit: ERR - bpbkar FATAL exit
status = 227: no entity was found
14:47:33.167 [15773] <4> bpbkar Exit: INF - EXIT STATUS 227: no
entity was found
14:47:33.168 [15773] <2> bpbkar Exit: INF - Close of stdout
complete
This shows that a particular device cannot be found in the 3pc.conf file on the
media server (14:47:02.031 [15773] <16> bpmap_send_extend: ERR -
can't obtain device id string EMC:SYMMETRIX:601092014000). The
problem is one of the following:
- The 3pc.conf file on the media server is outdated. Recreate the 3pc.conf
file.
- The media server is not on the same fibre channel network as the third-party
copy device and client disk. As a result, the 3pc.conf file does not have a
correct entry for the client disk. Run the bptpcinfo command with the
-x client_name option; this adds the client disk to the 3pc.conf file. For
each disk added to the file by means of bptpcinfo -x client_name, you
must add the device’s world-wide name (wwn=), as explained in the
NetBackup ServerFree Agent System Administrator’s Guide.
4. Compare the NetBackup version level on the server to that on the clients:
- On UNIX NetBackup servers and clients, check the
/usr/openv/netbackup/bin/version file.
- On Windows NetBackup servers, check the
install_path\netbackup\version.txt file or the About NetBackup item
on the Help menu.
- On Microsoft Windows clients, check the About NetBackup item on the Help
menu.
- On NetWare target clients, check the Version entry in the bp.ini file.
If the client software is earlier than 3.0, verify that the client is in a Standard type
policy.
- On Macintosh clients, check the version file in the bin folder in the NetBackup
folder in the Preferences folder.
- If the error is being displayed from a Java interface, tell them how to enable the
debug print manager in the Java startup file. Retry and compare the parameters
logged in the Java log with the parameters listed in the commands usage
statement.
5. If the above actions do not reveal the problem, create a debug log directory for the
process that returned this status code, retry the operation, and check the resulting
debug log.
1. Check the NetBackup Problems report for clues on where and why the failure
occurred. If you cannot determine the cause from the Problems report, create debug
log directories for the processes that returned this status code. Then, retry the
operation and check the resulting debug logs.
2. On Sun Solaris, verify that all operating system patches are installed (see the
Operating Notes section of the NetBackup Release Notes).
1. Check the NetBackup Problems report for clues on where and why the failure
occurred. If you cannot determine the cause from the Problems report, create debug
log directories for the processes that could have returned this status code. Then, retry
the operation and check the resulting debug logs.
2. On Sun Solaris, verify that all operating system patches are installed (see the
Operating Notes section of the NetBackup Release Notes).
1. Check the NetBackup Problems report for clues on where and why the failure
occurred. If you cannot determine the cause from the Problems report, create debug
log directories for the processes that could have returned this status code. Then, retry
the operation and check the resulting debug logs.
2. Corrupt binaries are one possible cause for this error. For example, in one instance,
the following was seen in the bpsched debug log.
get_num_avail_drives: readline failed: socket read failed (23)
get_stunits: get_num_avail_drives failed with stat 23
Loading a fresh bptm from the install media resolved the problem.
3. On Sun Solaris, verify that all operating system patches are installed (see the
Operating Notes section of the NetBackup Release Notes).
5. This error may occur during a restore to a Novell client. Note the following possible
actions:
- By default, the value for Novell “Maximum Concurrent Disk Cache Writes” may
be too low (for example, 50); Novell recommends setting it to 100. A value of 100
increases the speed and efficiency of disk cache writes by increasing the number
of write requests that can be executed at one time.
- Change to or add the following settings in the Novell
sys:system\autoexec.ncf file:
SET Maximum Packet Receive Buffers = 4000
SET Maximum Directory Cache Buffers = 4000
SET Maximum Concurrent Disk Cache Writes = 2000
SET Maximum Concurrent Directory Cache Writes = 2000
SET Maximum Physical Receive Packet Size = 1514
- On NT/2000 master servers, check the LIST_FILES_TIMEOUT value and ensure
that this value is at least 1800.
1. Check the NetBackup Problems report for clues on where and why the failure
occurred. If you cannot determine the cause from the Problems report, create debug
log directories for the processes that could have returned this status code. Then retry
the operation and check the resulting debug logs.
2. A possible cause could be a high network load. For example, this has been seen in
conjunction with Cannot write to STDOUT when a Windows system that is
monitoring network load has detected a high load and sent an ICMP packet to other
systems that says the route being used by those systems was disconnected. The log
messages were similar to the following:
01/31/96 14:05:23 ruble crabtree.null.com from client
crabtree.null.com: ERR - Cannot write to STDOUT. Err no= 242: No route
to host
01/31/96 14:05:48 ruble crabtree.null.com successfully wrote backup id
crabtree.null.com_0823125016, copy 1, fragment 1, 440864 Kbytes at
628.538 Kbytes/sec
01/31/96 14:05:51 netbackup crabtree.null.com CLIENT crabtree.null.com
POLICY Remote3SysFullW SCHED Sirius EXIT STATUS 24 (socket write
failed)
3. On Sun Solaris, verify that all operating system patches are installed (see the
Operating Notes section of the NetBackup Release Notes).
5. This error may occur during a restore to a Novell client. Note the following possible
actions:
- By default, the value for Novell “Maximum Packet Receive Buffers” may be too
low (such as 100). The restore performance may be improved by changing this
value to 2000. To change it, issue “SET Maximum Packet Receive
Buffers=<value>” at the console, or enter the value in either of the following
Novell files: sys:system\startup.ncf or sys:system\autoexec.ncf.
- Change to or add the following settings in the Novell
sys:system\autoexec.ncf file:
SET Maximum Packet Receive Buffers = 4000
SET Maximum Directory Cache Buffers = 4000
SET Maximum Concurrent Disk Cache Writes = 2000
SET Maximum Concurrent Directory Cache Writes = 2000
SET Maximum Physical Receive Packet Size = 1514
1. On a UNIX NetBackup master server, verify that the bprd and bpdbm processes are
running. If these processes are not running, start them. On a Windows master server,
verify that the NetBackup Request Manager and NetBackup Database Manager
services are running. If these services are not running, start them.
If the above processes or services are running, examine the All Log Entries report for
the time of the failure to determine where the failure occurred.
- If you cannot view the report, or you get a cannot connect on socket error
when trying to view it, verify again that the NetBackup Database Manager service
or daemon is running. Then, create a debug log directory for bpdbm, retry the
operation, and check the resulting debug log.
- If you can view the report and have not found an entry related to this problem,
create debug log directories for the related processes that were running when the
error first appeared (this process will frequently be bpbrm). Then, retry the
operation and check the resulting debug logs.
2. Verify that the server list specifies the correct master server.
Archive, and Restore interface 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.
Also, see “Verifying Host Names and Services Entries” on page 35.
4. On Sun Solaris, verify that all operating system patches are installed (see the
Operating Notes section of the NetBackup Release Notes).
6. When the base NetBackup BusinesServer or DataCenter license key expires, daemons
(such as bprd and bpdbm) will terminate on the NetBackup server. If these daemons
are not running, you are likely to encounter status code 25 errors in the
Administration GUIs. Install a valid base NetBackup license key, restart the daemons,
and restart the GUI.
Explanation: A child of the process reporting this error was killed. This can occur because
the backup job was terminated or the child process was terminated by another error. This
problem can also occur if a NetBackup process was terminated through Task Manager or
another utility.
Recommended Action: Check the NetBackup All Log Entries report for clues on where
and why the failure occurred. For detailed troubleshooting information, create a debug
log directory for the process that you suspect of returning this status code. Then, retry the
operation and check the resulting debug log.
1. Check the NetBackup All Log Entries report for clues on where and why the failure
occurred.
3. For detailed troubleshooting information, create a debug log directory for the process
that returned this status code, retry the operation, and check the resulting debug log.
Explanation: The bpsched process encountered a failure while waiting for a child
process to complete.
Recommended Action: Check the NetBackup All Log Entries report for clues on where
and why the failure occurred. For detailed troubleshooting information, create a debug
log for the process that you suspect of returning this status code. Then, retry the operation
and check the resulting debug log.
1. Check the NetBackup All Log Entries report to determine which directory could not
be created and why it could not be created. In particular, check for a full disk
partition.
2. Check the permissions on the parent directory and verify that NetBackup services are
started with a “Logon as” account that has permission to create the directory.
3. For detailed troubleshooting information, create a debug log directory for the process
that returned this status code, retry the operation, and check the resulting debug log.
Explanation: The name that the client used in a request to the NetBackup server did not
match the client name configured in the policy on the server.
Recommended Action: Change either the NetBackup client name setting on the client (see
the applicable NetBackup users guide) or the one in the policy configuration on the server
so the two match.
On UNIX, run the NetBackup Configuration Validation Utility (NCVU) -conf
<media_server> and -conf <client> checks for the associated NetBackup nodes. On the
media server check, note the client configuration in the policy checks in section five.
1. Try pinging the client from the server. If this is not possible, check for loose
connections or other network problems.
2. Verify that the server list settings are correct on both the client and the server. If the
backup involves a media server, verify that these entries are correct on both the
master and media server. For example, if a media server does not have a server list
entry for the master, it does not accept connections from the master.
- On Windows, the master server is designated on the Servers tab in the Master
Server Properties dialog. To display this dialog, see “Using the Host Properties
Window” on page 55.
- On UNIX, and Macintosh systems, the master server is the first SERVER entry in
the bp.conf file.
- On NetWare target and OS/2 clients the master server name is the first SERVER
entry in the bp.ini file.
If you change the server list on a UNIX master server, you must stop and then restart
the NetBackup Request daemon (bprd) and NetBackup database manager daemon
(bpdbm) for the changes to take effect. On Windows, stop and restart the NetBackup
Request Manager and NetBackup Database Manager services.
3. Status code 40 can also be due to the operator denying a mount request.
1. On UNIX or Windows clients, check for the following problems with the bpbkar
client process.
On Windows clients: The bpbkar client process is not hung, but due to the files and
directories it is scanning, it has not replied to the server within the Client read
timeout or Client connect timeout period. This has been seen to occur during
incremental backups when directories have thousands of unmodified files.
For this case, use Host Properties on the NetBackup server to change Client connect
timeout or Client read timeout. These settings are on the Timeouts and Universal
Settings tabs, respectively, in the Master Server Properties dialog (see “Using the Host
Properties Window” on page 55). The default for these timeouts is 300 seconds.
You can also monitor CPU utilization to determine if this condition exists.
On UNIX clients:
- The bpbkar client process is hung on a file that has mandatory locking set. For
this case, add the following to the client’s bp.conf file:
VERBOSE
and as root on the client execute:
touch /usr/openv/netbackup/bpbkar_path_tr
mkdir /usr/openv/netbackup/logs/bpbkar
Then retry the operation. The names of the files are logged in the debug log file in
the /usr/openv/netbackup/logs/bpbkar directory before bpbkar
processes them. The last file in the log will be the file that is causing problems.
Note Also, use the above procedure for other, “unknown” bpbkar hangs.
If the problem is due to mandatory file locking, you can have NetBackup skip the
locked files by setting LOCKED_FILE_ACTION to SKIP in the
/usr/openv/netbackup/bp.conf file on the client.
- The bpbkar client process is not hung, but due to the files and directories it is
scanning, it has not replied to the server within CLIENT_READ_TIMEOUT or
CLIENT_CONNECT_TIMEOUT. This has been seen to 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 server’s
/usr/openv/netbackup/bp.conf file. The default for the
CLIENT_READ_TIMEOUT and CLIENT_CONNECT_TIMEOUT is 300 seconds if
unspecified.
Use your system’s ps command and monitor CPU utilization to help decide which of
the above conditions exist.
When you are through 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.
3. If the server cannot connect to the client, create bpcd or bpbkar (UNIX and Windows
only) debug log directories on the client, retry the operation, and check the resulting
logs. If these logs do not provide a clue, create a bpbrm debug log on the server, retry
the operation again, and check the resulting debug log.
If the bpbrm log has entries similar to the following:
bpbrm hookup_timeout: timed out waiting during the client hookup
bpbrm Exit: client backup EXIT STATUS 41: network connection timed out
then the problem is in the routing configuration on the server.
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 Communication Problems” on page 26.
4. If you are using an AIX token ring adapter and the routed daemon is running, the
timeout can occur because the token ring adapter creates dynamic routes, causing 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. (Go to
www.support.veritas.com, then select “NetBackup” followed by “files and updates”.)
On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup nodes. Note the pack checks in section two.
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 Administrator’s Guide for more information
on CLIENT_READ_TIMEOUT.
1. Verify that both the client and the server are operational.
Recommended Action:
1. Verify that the correct version of software is running on the client and the server.
Note If you are using bpstart_notify scripts on UNIX or Windows clients, verify that
messages are not being written to stdout or stderr.
2. Verify that the client and servers are operational and connected to the network.
3. Create a debug log directory for the process that reported the problem and the
operation. Examine the resulting debug log file for detailed troubleshooting
information.
◆ On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup clients. Note the client software checks in section two.
◆ On Windows NetBackup servers, check the
install_path\netbackup\version.txt file or the About NetBackup item on
the Help menu.
◆ On Microsoft Windows clients, check the About NetBackup item on the Help menu.
◆ On NetWare target clients, check the Version entry in the bp.ini file.
◆ If this is a NetBackup for NetWare client and has a version of NetBackup earlier than
3.0, verify that the client is in a Standard type policy.
◆ On Macintosh clients, check the version file in the bin folder in the NetBackup folder
in the Preferences folder.
1. Verify that the name service (or services) being used by the client is configured to
correctly resolve the host names of the NetBackup server.
2. Verify that the name service (or services) being used by the server is configured to
correctly resolve the host name of the NetBackup client.
3. Try to ping the client from the server and the server from the client.
5. On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup nodes. Note the hostname checks in sections four and seven.
Explanation: The system function gethostbyname() failed to find the client’s host
name.
Recommended Action:
2. On clients and servers, verify that the name service is set up to correctly resolve the
NetBackup client names.
On UNIX clients, verify that the client’s host name is in the /etc/hosts file or the YP
hosts file or NIS maps.
3. For the NetBackup policy configuration, on UNIX systems, run the NetBackup
Configuration Validation Utility (NCVU) -conf-conf <media_server> and note the
policy checks in section five. For the client hostname, note the hostname checks in
sections four and seven.
1. Verify that software is installed on the client and it is the correct version. If necessary,
reinstall the client software.
- On PC clients, increase the debug or log level as explained in the debug log topics
in Chapter 3.
5. On UNIX systems, use the UNIX sum command to check for corrupt binaries.
6. On SGI IRIX 6.2/6.4 systems, clients may be missing the libdbm.so shared library.
Refer to the SGI/IRIX install CD-ROM for the eoe.sw.dmi package.
4. On UNIX clients, check the system log (/usr/adm/messages on Solaris) for system
problems.
2. Verify that there is space in the file system that contains the NetBackup catalogs.
3. Create bpbrm and bpdbm debug log directories on the server and retry the operation.
4. Look in the debug log files to find more information on the problem.
1. Verify that the requested volume is available and an appropriate drive is ready and in
the UP state.
2. If this occurs during a read operation (restore, duplicate, verify), the drives could be
busy. Try increasing the media mount timeout specified by the NetBackup global
attribute in order to allow more time for mounting and positioning the media.
3. Verify that the tape is not a cleaning tape that is configured as a regular volume.
4. When the robot is controlled by an Automated Cartridge System, verify that the
ACSLS system is up.
6. On Windows, check the Event Viewer Application log for error messages that indicate
why the tape mount did not complete. On UNIX, check the system log.
2. On a UNIX NetBackup server, add the VERBOSE option to the bp.conf file. On a
Windows NetBackup server, set the Verbose logging level option on the Logging tab
in the Master Server Properties dialog. To display this dialog, see “Using the Host
Properties Window” on page 55.
3. Retry the operation and check the resulting debug logs for detailed troubleshooting
information.
1. For a Macintosh or NetWare target client, verify that the server is not trying to connect
when a backup or restore is already in progress on the client. These clients can handle
only one NetBackup job at a time.
On a Macintosh, you can check for activity by examining the NetBackupListen file
in the following folder on the startup disk of the Macintosh client:
:System Folder:Preferences:NetBackup:logs:inetd:log.mmddyy
2. On a Sequent platform, verify that the system has the correct level of TCP/IP.
5. Check the /etc/inetd.conf file to make sure the bpcd path is correct in the
following entry:
bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
6. On systems that include NetBackup master, media, and clients (with NetBackup
database extension products installed on one or more clients), make sure the client
name is in the master's /etc/hosts file.
7. On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup nodes. Note the bpcd checks in sections one and three.
c. 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 bpcd and bprd settings in the services file. To display this
dialog, start the Backup, Archive, and Restore interface on the server 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.
f. Use the following command to see if the master server returns correct information
for the client:
install_path\VERITAS\NetBackup\bin\bpclntcmd -pn
b. Verify that the bpcd port number on the server (either NIS services map or in
/etc/services) matches the number in the client’s services file.
c. On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup nodes. Note the NetBackup services port number checks in
section one.
3. For a Macintosh or NetWare target client, verify that the server is not trying to connect
when a backup or restore is already in progress on the client. These clients can handle
only one NetBackup job at a time.
1. If the server is a valid server, verify that it is in the server list on the client. If necessary
add it as follows:
- On Windows clients, add the server on the Servers tab in the Specify NetBackup
Machines dialog box. To display this dialog, start the Backup, Archive, and
Restore interface on the client and click Specify NetBackup Machines on the
Actions menu.
- On UNIX, and Macintosh clients, add a SERVER entry in the bp.conf file.
- On NetWare target and OS/2 clients add a SERVER entry in the bp.ini file.
If you change the server list on a UNIX master server, you must stop and then restart
the NetBackup Request daemon (bprd) and NetBackup database manager daemon
(bpdbm) for the changes to take effect. On Windows, stop and restart the NetBackup
Request Manager and NetBackup Database Manager services.
b. Increase the debug or log level as explained in the debug log topics in Chapter 3.
c. Retry the backup and examine the resulting logs to determine the cause of the
failure.
c. On PC clients, increase the debug or log level as explained in the debug log topics
in Chapter 3.
d. Retry the backup and examine the resulting logs to determine the cause of the
failure.
4. On Macintosh clients, check the inetd and bpcd debug logs. Both logs are created
automatically.
- Check the inetd log to see if NetBackupListen is running.
- Check the bpbkar and tar messages in the bpcd log file.
To increase the amount of information included in the logs, set the loglevel
parameter in the mac.conf file to a higher value.
5. Check the bpcd debug log to determine the server’s peername and what comparisons
are being made.
The bpcd process compares NetBackup server list entries to the peername of the
server attempting the connection and rejects the connection if the names are different.
If necessary, change the server list entry on the client to match the peername.
7. If the preceding steps do not resolve this problem, see “Resolving Network
Communication Problems” on page 26.
8. If NetBackup is using multiple network interfaces with media servers, make sure the
interface names appear in the client’s /usr/openv/netbackup/bp.conf file.
9. On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup clients. Note the media server checks in sections four and
seven.
2. On an SCO system, code 60 can occur because the mount-point path name exceeds 31
characters, which is the maximum allowed on an SCO system. The bpbkar debug log
on the client will show a message similar to the following:
bpbkar build_nfs_list: FTL - cannot statfs net Errno: 42406
To eliminate these errors for future backups, create a mount point with a shorter name
and symbolically link the long name to the short name.
3. For detailed troubleshooting information, create a bpbkar debug log directory, retry
the operation, and examine the resulting log.
Recommended Action: Try running wbak by hand to determine the source of the
problem. Direct the output of the wbak command to /dev/null to avoid filling up your
file system and use the following parameters:
-l -nhi -pdtu -stdout -nwla and -full or -af date
c. On PC clients, increase the debug or log level as explained in the debug log topics
in Chapter 3.
2. On Macintosh clients, check the inetd and bpcd debug logs. Both logs are created
automatically.
- Check the inetd log to see if NetBackupListen is running.
- Check the bpbkar and tar messages in the bpcd log file.
To increase the logging level, set the loglevel parameter in the mac.conf file to
a higher value.
3. On a UNIX or Windows client, create the bpbkar debug log directory on the client.
5. On a UNIX client, use the ps command to check for a client process that is using too
much CPU time.
6. Retry the backup and examine the debug logs for clues on the cause of the failure.
2. On a UNIX NetBackup server, add the VERBOSE option to the bp.conf file. On a
Windows NetBackup server, set the Verbose logging level option on the Logging tab
in the Master Server Properties dialog (see “Using the Host Properties Window” on
page 55).
3. Retry the operation and check the bptm debug log file for information on the drive,
robot, and tape that is causing the timeout.
b. On a UNIX client, add the VERBOSE option to the bp.conf file. On a Windows
client, set Verbose on the TroubleShooting tab in the NetBackup Client
Properties dialog box. To display this dialog box, start the Backup, Archive, and
Restore interface on the client and click Configure on the Actions menu.
2. On other PC clients except Macintosh, create a debug log directory for bpcd (the
bpcd log is created automatically on Macintosh).
To increase the amount of information that appears in the logs, see the logging topics
in Chapter 3.
3. On the master server create bpsched and bpbrm debug log directories. If there are
media servers involved, create a bpbrm debug log directory on them.
c. On other PC clients except Macintosh, create a debug log directory for bpcd (the
bpcd log is created automatically on Macintosh).
To increase the amount of information that appears in the logs, see the logging topics
in Chapter 3.
Explanation: The client did not receive the list of files to back up within the allotted time.
This list comes from the server.
Recommended Action: First, verify that the server did not crash. If that is not the problem
and you need more information:
c. On other PC clients except Macintosh, create a debug log directory for bpcd (the
bpcd log is created automatically on Macintosh).
To increase the amount of information that appears in the logs, see the logging topics
in Chapter 3.
1. Check the policy file list. If wildcards are used, verify there are matching bracket
characters ([ and ]). If the file list contains UNC (Universal Naming Convention)
names, ensure they are properly formatted.
1. Verify that the correct file list is specified for this client.
2. On Windows clients, verify that the account used to start the NetBackup Client
service has read access to the files.
If you are backing up a network drive or a UNC (universal naming convention) path,
use the Services application in the Windows Control Panel to verify that the
NetBackup Client service does not start under the SYSTEM account. The SYSTEM
account cannot access network drives.
To back up network drives or UNC paths, change the NetBackup Client service
startup to log in as a user that has permission to access network drives.
Note For the target version, the following NetWare message may be another indicator of
incorrect policy type (this message would appear in the Novell client’s bpcd log):
- For either the target or nontarget version of NetBackup for NetWare, make sure
that the NetWare loadable modules (NLMs) SMDR and TSAxxx (such as TSA500,
TSA600, and TSANDS) are all at the same version. If they are not at the same
version, status 71 may occur.
a. On UNIX and Windows clients, create a debug log directory for bpbkar.
b. On other PC clients except Macintosh, create a debug log directory for bpcd (the
bpcd log is created automatically on Macintosh).
To increase the amount of information that appears in the logs, see the logging
topics in Chapter 3.
1. Check the NetBackup Problems Report for additional information on why the
command failed.
2. The bpbkar debug log shows the command that was executed. Create a debug log
directory for bpbkar. Retry the operation and retry the resulting debug log.
1. On Windows, use the Activity Monitor or the Services application in the Windows
Control Panel to see if the NetBackup Device Manager service is running. If it is not
running, start it. To enable verbose logging, place VERBOSE on a line by itself in the
install_path\Volmgr\vm.conf file before starting the service.
2. On UNIX, use vmps to see if ltid is running and if necessary start it in verbose mode
with the following command:
/usr/openv/volmgr/bin/ltid -v
Or, add a VERBOSE entry to the Media Manager configuration file,
/usr/openv/volmgr/vm.conf. Create the vm.conf file if necessary.
Note On UNIX systems, ltid, and on Windows systems, the NetBackup Device
Manager service, is used only if devices are attached to the system.
Explanation: The tape manager (bptm) could not communicate with the NetBackup
Volume Manager service (Windows) or the Media Manager volume daemon (UNIX). This
communication is required for most operations.
Recommended Action: On UNIX, verify that the Media Manager device daemon (ltid)
and the volume daemon (vmd) are running. Start them if necessary.
On Windows, verify that both the NetBackup Device Manager service and the NetBackup
Volume Manager service are running. Start them if necessary.
Note ltid or the NetBackup Device Manager service is used only if devices are attached
to the system.
2. Typically, this status code indicates a drive configuration problem that allows more
than one process at a time to open the device.
On UNIX, the problem could be due to:
- Two (or more) devices were configured that are really the same physical device
(for different densities perhaps). Verify that none of the /dev files used for these
devices have the same major or minor numbers.
- Links exist in the file system that are allowing users access to the drives.
- The configuration for the drives was modified (in the administrator interface or
vm.conf) and the Media Manager device daemon, ltid, was not restarted.
Verify the configuration and start ltid.
On Windows, the problem could be that the Media Manager device configuration was
modified but the NetBackup Device Manager service was not restarted. Verify the
configuration and restart the NetBackup Device Manager service.
a. Create a debug log directory for bpdm (if the device is disk) or bptm (if the device
is tape).
d. Retry the operation and check the resulting debug log files.
3. If NetBackup was writing backups to a disk file, verify that the disk has enough space
for the backup.
For a catalog backup to a disk path on a UNIX system, you may be trying to write a
image greater than two gigabytes. File sizes greater than two gigabytes is a limitation
on many UNIX file systems. Tape files do not have this limit.
For example, on UNIX the drive could be configured for fixed mode when it must
be variable mode. See the Media Manager Device Configuration Guide for more
information.
This often results in the media being frozen with a message, “too many data
blocks written, check tape/drive block size configuration.”
Recommended Action:
- Defective media. In this case, some data may be lost. Use the bpmedia command
to set the volume to the FROZEN state so it is not used for future backups.
2. For detailed debug information, create bpdm or bptm debug log directories on the
server. If the client is Windows, also create a bpbkar debug log directory on the
client. Retry the operation and check the resulting debug logs.
4. Verify the Media Manager and system configuration for the drive.
For example, on UNIX the drive may not be set for variable mode in a case where that
mode is required by NetBackup. Check the Media Manager Device Configuration Guide
for drive configuration information.
5. Verify that the Media Manager configuration for the backup device matches what is
specified for the storage unit in the NetBackup policy.
6. Verify that you are using the correct media in the drive.
7. For detailed debug information, create a bpdm or bptm debug log directory
(whichever applies) on the server. If the client is Windows, also create a bpbkar
debug log directory on the client. Retry the operation and check the resulting debug
logs. Retry the operation. Check the resulting debug log file.
2. Check the NetBackup Media Lists report to see if the catalog is intact. If the catalog is
not intact, consider reloading it from the latest NetBackup catalog backup volume.
3. Verify that the disk partition on which the catalog resides has enough space.
4. If the above actions do not explain the problem, check the NetBackup Problems
report.
5. For detailed troubleshooting information, create a bptm debug log directory on the
server and retry the operation. Check the resulting debug log file.
6. Contact customer support and send appropriate problem and debug log sections.
2. Check the NetBackup Problems report for additional information about the error.
3. Verify the Media Manager and system configuration for the drive.
For example, on some UNIX systems, for example, if you do not configure the drive
for variable-mode block size writes, backup images written to the media produce this
error when an attempt is made to restore the image. For example, you see the
following sequence of events:
- Backup succeeds
- Verify succeeds
- Restore fails
The bptm debug log shows an error similar to
00:58:54 [2304] <16> write_data: write of 32768 bytes indicated
only 29696 bytes were written, errno = 0
In this case, configure the drive for variable-mode block sizes and suspend media
written on that device. See the NetBackup Device Configuration Guide.
The images written to those media may be restorable (this is platform dependent), but
single file restores are almost guaranteed to fail. You can choose to expire these media
and regenerate the backups, or you can attempt to duplicate the images on these
media to another device and then expire the original copy.
4. Error code 92 has been encountered on some relabeled and value-added 8-mm tape
drives where the drive’s microcode incorrectly processes a “forward space record”
SCSI command.
5. If the problem is not one of the above, create a debug log directory for either bpdm or
bptm and retry the operation. Check the resulting debug log file.
3. For detailed troubleshooting information, create a debug log directory for bptm and
retry the operation. Check the resulting debug log files.
1. If the storage unit is a robot and there are empty slots, add more volumes (remember
to specify the correct volume pool).
- If there are no empty slots, move some media to nonrobotic and then add new
volumes.
- If you are having difficulty keeping track of your available volumes, try the
available_media script:
On UNIX, this script is in:
/usr/openv/netbackup/bin/goodies/available_media
On Windows, the script is in:
install_path\NetBackup\bin\goodies\available_media.cmd
This script lists all volumes in the Media Manager volume configuration, and
augments that list with information on the volumes currently assigned to
NetBackup.
3. If the storage unit and volume pool appear to have media, verify the following:
- Volume is not FROZEN or SUSPENDED.
Check for this condition by using the NetBackup Media List report. If the volume
is frozen or suspended, use the bpmedia command to unfreeze or unsuspend it
(if that is desired).
- Volume has not expired or exceeded its maximum number of mounts.
- Volume Database Host name for the device is correct.
If you change the Volume Database Host name, stop and restart the Media
Manager device daemon, ltid, (if the server is UNIX) or the NetBackup Device
Manager service (if the server is a Windows system).
- The correct host is specified for the storage unit in the NetBackup configuration.
The host connection should be the server (master or media) that has drives
connected to it.
- The Media Manager volume configuration has media in the correct volume pool
and unassigned or active media is available at the required retention level.
Use the NetBackup Media List report to show the retention levels, volume pools,
and status (active and so on) for all volumes. Use the NetBackup Media Summary
report to check for active volumes at the correct retention levels.
5. Create bptm and vmd debug log directories and retry the operation.
6. Examine the bptm debug log to verify that bptm is connecting to the correct system. If
an error is logged, examine the vmd log.
On UNIX, the vmd log is:
/usr/openv/volmgr/debug/daemon/log.xxxxxx
On Windows, the vmd log is:
install_path\Volmgr\debug\daemon\xxxxxx.log
7. If this is a new storage unit, and this is the first attempt to use it, stop and restart
NetBackup on the master server.
Note The bptm debug logs (in verbose mode) usually show the NetBackup media
selection process.
◆ On UNIX, run the NetBackup Configuration Validation Utility (NCVU) for the
associated NetBackup clients. Note the bp.conf checks in section four.
◆ On an OS/2 or NetWare target client, add the server name to the bp.ini file.
◆ On a Macintosh client, add the SERVER = server_name line to the bp.conf file in the
NetBackup folder in the Preferences folder.
Recommended Action:
1. Check the NetBackup Problems report for additional information about the error.
2. For detailed troubleshooting information, create admin and bpdbm debug log
directories and retry the operation. Check the resulting debug logs.
3. Contact customer support and send appropriate problem and debug log sections
detailing the error.
1. Check the NetBackup Problems report for additional information about the error.
Some possible causes are:
- The path does not exist.
- On a UNIX system, there is a symbolic link in one of the paths.
2. After determining which path could not be accessed, correct the path names in the
catalog backup configuration.
Explanation: One or more catalogs specified for recovery could not be restored. For more
detail, refer to the error message issued just above this status code in the output from the
bprecover command.
Recommended Action:
1. After fixing the problem reported in the error message in the bprecover output, refer
to “Recovering the NetBackup Catalogs for Windows” on page 494 or “Recovering
the NetBackup Catalogs for UNIX” on page 473 to identify which NetBackup services
(Windows) or daemons (UNIX) should be shut down prior to attempting the
NetBackup database recovery. The NetBackup services should be shut down except
for the NetBackup Client Service, which must be running for the database recovery to
succeed.
2. Check the NetBackup Problems report for additional information about the error.
Some possible causes are:
- A disk may be full.
- The NetBackup catalog tape may be corrupt.
1. Check the NetBackup Problems report for additional information about the error.
3. For detailed troubleshooting information, create bpdbm, bpsched, bptm, and bprd
debug log directories on the master server and retry the operation. Check the
resulting debug logs.
Recommended Action:
2. Create a debug log directory for bprd and retry the operation. Check the resulting
debug log to determine the connection and client names.
Depending on the request type (restore, backup, and so on.), you may need or want
to:
- Change the client’s configured name.
- Modify the routing tables on the client.
- On the master server, set up an altnames directory and file for this client (see the
NetBackup System Administrator’s Guide).
or
- On a UNIX master server, create a soft link in the NetBackup image catalog.
1. If you suspect that the software versions are the problem, verify that all NetBackup
software is at the same version level.
- On UNIX NetBackup servers and clients, check the
/usr/openv/netbackup/bin/version file.
- On Windows NetBackup servers, check the
install_path\netbackup\version.txt file or the About NetBackup item
on the Help menu.
- On Microsoft Windows clients, check the About NetBackup item on the Help
menu.
- On NetWare target clients, check the Version entry in the bp.ini file.
If the client software is earlier than 3.0, verify that the client is in a Standard type
policy.
- On Macintosh clients, check the version file in the bin folder in the NetBackup
folder in the Preferences folder.
3. For detailed troubleshooting information, create bpdbm, bprd, and admin debug log
directories. Then, retry the operation and check the resulting debug logs.
2. Create bprd and bpdbm debug log directories and retry the operation. Check the
resulting logs to see the system error message resulting from the attempt.
If another process has the port, use other system commands to determine the process.
Based on this research, either change the port number in your services file or map
or terminate the process that has acquired the port.
On UNIX, another possible cause for this error is terminating bprd or bpdbm with the
kill command. If you have to stop bprd, the recommended method is to use the
Terminate Request Daemon option on the Special Actions menu in bpadm (or the
equivalent option in xbpadm). To stop bpdbm, use the
/usr/openv/netbackup/bin/bpdbm -terminate command. Using the kill
command to stop these processes can leave them unable to bind to their assigned
ports the next time they are started.
To identify a bprd or bpdbm problem, look for lines similar to the following in the
debug log for the respective process:
3. If the problem persists longer than ten minutes, it is possible that it will be necessary
to reboot the server.
1. Restart the service at a later time and investigate system problems that limit the
number of processes.
2. On Windows systems, check the Event Viewer Application and System logs.
2. For detailed troubleshooting information, create bpdbm and admin debug log
directories and retry the operation. Check the resulting debug logs.
◆ For an NDMP policy type, verify that a storage unit of type NDMP is defined and the
NDMP host value matches the host name of the client. For example, if the NDMP
policy specifies toaster as the client, the configuration for the storage unit must
specify toaster as the NDMP host.
◆ For a policy type other than NDMP, verify that the policy specifies a Media Manager
or Disk type storage unit.
Note If this is the case, and bpbkar debug logs are turned on, a message similar to the
the one above should appear in the bpbkar debug log for the backup.
Recommended Action:
Free up space on the disks where NetBackup catalogs reside and retry the operation.
If the error was caused by the VSP cache file being full, the recommended action depends
on whether all the local drives were being backup up for the client.
If all local drives are being backed up in the client, the VSP Initial Cache Size (in the VSP
tab for the client’s Host Properties in the NetBackup Administration Console) may need
to be changed. The VSP Initial cache size setting controls how the VSP cache file is sized
when all local drives are being backed up for the client. The VSP cache file is sized
differently depending on the value used for the Initial Cache Size setting:
◆ If the Initial Cache Size is set at 0, NetBackup will create VSP volume snapshots that
have VSP cache files that are automatically sized to 30% of the used disk space of the
volume being backed up.
◆ If the Initial Cache Size is set to a value greater than 0, NetBackup will create VSP
volume snapshots that have VSP cache files that are all set to the value indicated as
the Initial Cache Size. If the Initial Cache Size is set to a value greater than 0, the
guideline for the Initial Cache Size is to set it to 30% of used disk space of the volume
with most used disk space on the client. If this guideline is not used, there is a high
probability that a VSP Error may occur during the backup.
For example, suppose a client has two volumes, the C volume and the D volume. The C
volume has 1 GB of used disk space, and the D volume has 2 GB of used disk space. The
Initial Cache Size should be set to 30% of the used disk space of the volume with the most
used disk space. In this case, that would be 30% of 2 GB, or 600 MB.
The default setting for the Initial Cache Size is 150 MB. However, if a VSP error is
encountered during the backup because the Initial Cache Size (greater than zero) is too
small and more cache is required, the Initial Cache Size should be increased until a proper
value is found or be set to 0 to allow VSP cache files to be automatically sized to 30% of the
used disk space of the volume being backed up.
If the amount of data selected for back up is significantly less (30%) than the total amount
of data on the volume, the backup may run faster if the Initial Cache Size is set at a value
greater than 0 (the recommended value is 150 MB), rather than letting NetBackup
automatically calculate the cache sizes (by setting the Initial Cache Size to 0). Use caution
when manually specifying sizes for the Initial Cache Size since it is used regardless of the
sizes of the volumes being backed up. If enough space is not allocated, the backup job
could fail with a VSP error.
Please see the Configuring Host Properties > Client Properties > VSP (Volume Snapshot
Provider) Tab > Initial Cache Size section in the NetBackup System Administrator’s Guide
for more details.
·If not all the local drives are being backed up, the VSP Maximum Cache Size should be
increased until an appropriate value is found or set to 0 (NetBackup will automatically
size the cache file in this case).
Please see the Configuring Host Properties > Client PRoperties > VSP (Volume Snapshot
Provider) Tab > Maximum Cache Size section in the NetBackup System Administrator’s
Guide for more details.
1. Examine the NetBackup error log to determine why the system call failed and correct
the problem. It could be a permission problem.
2. If the error log does not show the error, create a debug log directory for bprd, bpdbm,
or bpsched (depending on which process encountered the error) and retry the
operation. Examine the resulting debug log.
2. Check the methods_allow.txt files on the systems that are having problems to
ensure that authentication is enabled. The files are in the following locations:
Windows:
install_path\NetBackup\var\auth
UNIX:
/usr/openv/var/auth
Macintosh:
:System Folder:Preferences:NetBackup:var:auth
If one system reports authentication failed (status code 160) and the other system
reports network connection timed out (status code 41), you may have enabled
authentication in the first system's methods_allow.txt file but not in the second
system's methods_allow.txt file.
3. On the systems that are having the authentication problem, remove the remote host
that is not being authenticated from the methods_allow.txt file.
For example, if host A and host B are having the problem, remove host A from the file
on host B and vice versa.
Retry the operation.
- If the problem still exists, it indicates connection problems not related to
authentication.
- If connections are now successful, proceed to the next step.
4. Execute bpauthsync -vopie on the master server to resynchronize the key files on
the systems.
On Windows:
install_path\NetBackup\bin\admincmd\bpauthsync -vopie -servers
-clients
On UNIX:
/usr/openv/netbackup/bin/admincmd/bpauthsync -vopie -servers
-clients
5. Add back the names removed in step 3 and retry the operation.
6. Create debug log directories for the processes involved in authentication between
NetBackup systems. These include:
- On the server, create debug log directories for bprd, bpdbm, bpcd.
- On the client, create debug log directories for bpbackup, bprestore, bpbkar
(Windows only).
1. If the volume is in a robot that supports barcodes, verify the robot contents by using a
Media Manager robot inventory option.
2. If the volume was mounted on a nonrobotic drive, verify that the correct volume was
mounted and assigned.
3. Check the NetBackup Problems report. If a fatal read error occurred, attempt the
operation again using another drive, if possible.
4. If your configuration has multiple servers / HBAs with access to your tape services
(most likely, an SSO configuration), make sure the SCSI Reserve / Release is
configured correctly. For more information, refer to the NetBackup SAN Shared Storage
Option System Administrators Guide for UNIX and Windows.
1. Check the NetBackup Problems report for clues as to what caused the error.
3. For detailed troubleshooting information, create a debug log directory for bptm and
retry the operation. Check the resulting debug log.
Note If this occurs on a Sequent platform and you are attempting to back up more than
four gigabytes of data, save all your logs and call VERITAS technical support. For
other platforms perform the recommended actions described below.
Recommended Action:
1. Check the NetBackup Problems report to see if it shows the cause of the problem. If
you see a Problems report message similar to
“attempting to write 32767 bytes, not a multiple of 1024”
save all logs and call VERITAS customer support.
2. On UNIX, if this occurs during a restore, it may be that the tape drive is incorrectly
configured to write in fixed length mode when it should write in variable length
mode.
Verify your drive’s configuration, comparing it to what is recommended in the Media
Manager Device Configuration Guide (also see step 7 of this procedure).
3. If you see the problem with only one client, verify that the client binaries are correct,
especially those for bpcd.
6. Check the system or console log for errors (on UNIX) or the Event Viewer Application
log (on Windows).
7. For detailed debug information, create a debug log directory for either bptm or bpdm
(whichever applies) and retry the operation. Check the resulting debug log.
On UNIX systems, if the bptm debug log shows an error similar to
00:58:54 [2304] <16> write_data: write of 32768 bytes
indicated only 29696 bytes were written, errno = 0
it may be that the tape drive is configured to write in fixed length mode rather than
variable length mode, and the image being written encountered the end-of-media.
Take the corrective action suggested in step 2.
1. Check the NetBackup Problems report and the status or progress log on the client for
additional information about the error
2. For detailed troubleshooting information, create a debug log directory for either bptm
or bpdm (whichever applies) and retry the operation. Check the resulting debug log.
1. Check the NetBackup Problems report to find the exact cause of the failure.
1. Check the NetBackup Problems report for the cause of the problem.
2. Verify that the Media Manager volume daemon (vmd) is active on UNIX or the
NetBackup Volume Manager service is active on Windows.
3. For detailed troubleshooting information, create a debug log directory for bptm and
retry the operation. Check the resulting debug log.
◆ On a Windows client, create a tar debug log directory, retry the operation, and check
the log.
◆ On a Macintosh client, check the version file that is in the bin folder in the NetBackup
folder in the Preferences folder. If the software is not at the correct level, install the
correct software as explained in the installation guide.
1. Create a bpcd debug log directory on the client (on a Macintosh NetBackup creates
the log automatically).
4. Rerun the operation, check the resulting debug logs for the parameters passed to tar
and call customer support.
a. Check the tar debug log file for error messages that explain the problem.
a. Create a bpcd debug log directory on the client (on a Macintosh NetBackup
creates the log automatically).
c. Increase the debug or log level as explained in the debug log topics in Chapter 3.
a. Check the tar debug log file for error messages that explain the problem.
a. Create a bpcd debug log directory on the client (on a Macintosh NetBackup
creates the log automatically).
b. Increase the debug or log level as explained in the debug log topics in Chapter 3.
Explanation: There were files in the tar file list that were not in the image.
Recommended Action:
◆ If the problem is with a UNIX client:
b. Rerun the operation, check the resulting bpcd log file for the parameters passed
to tar, and call customer support.
◆ If the problem is with a Microsoft Windows, NetWare, or Macintosh client:
a. Create a bpcd debug log directory on the client (on a Macintosh NetBackup
creates the log automatically).
b. Increase the debug or log level as explained in the debug log topics in Chapter 3.
e. Check the resulting debug logs for the parameters passed to tar and call
customer support.
1. Retry the operation and check the status or progress log on the client for error
messages that reveal the problem.
◆ If the error was encountered by a Vault job which is doing duplication, check the
duplicate.log files in your sidxxx directories to help determine the root cause of the
problem:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path\NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
1. Retry the backup either immediately with a manual backup or allow the normal
scheduler retries.
2. For additional information, check the All Log Entries report. For detailed
troubleshooting information, create a bpsched debug log directory on the master
server. After the next backup attempt, check the debug log.
Some actions to perform are:
- Verify that the vmd and ltid daemons (UNIX) or the NetBackup Media Manager
and NetBackup Device Manager services (Windows) are running.
- Look for a problem in an earlier backup that made the media or storage unit
unavailable.
Explanation: A backup or archive operation that was queued by the backup scheduler
was not attempted because the backup window was no longer open.
Recommended Action:
◆ If possible, change the schedule to extend the backup window for this policy and
schedule combination so it does not occur again.
◆ If the backup must be run, use the Manual Backup command on the Policy menu in
the Backup Policy Management window to perform the backup. Manual backups
ignore the backup window.
1. Check the client progress log (if available) to determine the policy and schedule that
were specified.
2. Check the configuration on the master server to determine if the schedule is valid for
the policy. If the schedule is not valid, either add the schedule to the policy
configuration or specify a valid schedule on the client.
◆ If the client is not in such a policy, either add a schedule of the appropriate type to an
existing policy that has this client or create a new policy that has this client and a
schedule of the appropriate type.
◆ On UNIX, run the NetBackup Configuration Validation Utility (NCVU) -conf
<media_server> on the master server. Note the policy checks in section five.
1. Examine the NetBackup All Log Entries report to see if there are any messages in
addition to one indicating that the scheduler found nothing to do.
2. Examine the policy configuration for all policies or the specific policy in question and
determine if any of the reasons mentioned in the Explanation section above apply.
1. Determine the activity that encountered the handshake failure by examining the
NetBackup All Log Entries report for the appropriate time period. If there are media
servers, determine if:
- The handshake failure was encountered between the master and a media server.
or
- Only the master server was involved.
2. If necessary, create the following debug log directories for the following:
- bpcd on the NetBackup media host (can be either the master or a media server).
- If the error was encountered during a backup operation, bpsched on the master
server.
- If the error was encountered during a restore operation, bprd on the master
server.
- If the error was encountered during a media list operation, admin in the
NetBackup logs/admin directory on the master server.
3. Retry the operation and examine the resulting debug logs for information on why the
error occurred.
2. Execute the ping command from one host to another by using the following
combinations:
- From the master server, ping the master and all media servers by using the host
names found in the storage unit configuration.
- From each of the media servers, ping the master server by using the host name
specified in the NetBackup server list. On a UNIX server, this is the first SERVER
entry in the bp.conf file. On a Windows server, the master is designated on the
Servers tab in the Master Server Properties dialog. To access this dialog, see
“Using the Host Properties Window” on page 55.
3. Verify that the master server can communicate with bpcd on the host that has the
storage unit.
After each backup, the scheduler checks the storage unit to see how many drives are
available (in case the backup caused a drive to be automatically downed). If bpsched
cannot communicate with bpcd, it sets the number of available drives in that storage
unit to 0 and further backups to that storage unit fail.
The available drives remain at 0 until the scheduler is initialized again. Therefore,
even if bpcd seems to be operating correctly now, check the bpsched and bpcd
debug logs (see below) for records of an earlier failure.
4. See “Testing Media Server and Clients” on page 24 and “Resolving Network
Communication Problems” on page 26.
5. If necessary, create debug log directories for the following processes and retry the
operation. Then, check the resulting debug logs on the master server:
- If the error occurred during a backup operation, check the bpsched debug logs.
Also, check the bpcd debug logs.
- If the error occurred during a restore operation, check the bprd debug logs.
network unreachable failure was encountered between the master and a media server or if
only the master server was involved. Execute the ping command from one host to
another by using the following combinations:
1. From the master server, ping the master and all media servers by using the host
names in the storage unit configuration.
2. From each of the media servers, ping the master server host by using the host name
specified in the NetBackup server list. On a UNIX server, this is the first SERVER entry
in the bp.conf file. On a Windows server, the master is designated on the Servers tab
in the Master Server Properties dialog. To access this dialog, see “Using the Host
Properties Window” on page 55.
3. See “Testing Media Server and Clients” on page 24 and “Resolving Network
Communication Problems” on page 26.
4. If necessary, create debug log directories for the following processes and retry the
operation. Then, check the resulting debug logs on the master server:
- If the error occurred during a backup, check the bpsched debug logs.
- If the error occurred during a restore, check the bprd debug logs.
1. From the master server, ping the master and all media servers by using the host
names in the storage unit configuration.
2. From each of the media servers, ping the master server by using the name specified in
the NetBackup server list. On a UNIX server, this is the first SERVER entry in the
bp.conf file. On a Windows server, the master is designated on the Servers tab in the
Master Server Properties dialog. To access this dialog, see “Using the Host Properties
Window” on page 55.
3. On UNIX servers, verify that the bpcd entries in /etc/services or NIS on all the
servers are identical. Verify that the media host is listening on the correct port for
connections to bpcd by running one of the following commands (depending on
platform and operating system):
netstat -a | grep bpcd
netstat -a | grep 13782 (or the value specified during the install)
rpcinfo -p | grep 13782 (or the value specified during the install)
On UNIX servers, you may have to change the service number for bpcd in
/etc/services and the NIS services map and send SIGHUP signals to the inetd
processes on the clients.
/bin/ps -ef | grep inetd
kill -HUP the_inetd_pid
or
/bin/ps -aux | grep inetd
kill -HUP the_inetd_pid
4. On Windows servers:
b. 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 and click Configure on the Actions menu.
The values on the Network tab are written to the services file when the
NetBackup Client service starts.
5. See “Testing Media Server and Clients” on page 24 and “Resolving Network
Communication Problems” on page 26.
6. If necessary, create debug log directories for the following processes and retry the
operation. Then, check the resulting debug logs on the master server:
- If the error occurred during a backup operation, check the bpsched debug logs.
- If the error occurred during a restore operation, check the bprd debug logs.
1. From the master server, ping the master and all media servers by using the host
names in the storage unit configuration.
2. From each of the media servers, ping the master server by using the name specified in
the NetBackup server list. On a UNIX server, this is the first SERVER entry in the
bp.conf file. On a Windows server, the master is designated on the Servers tab in the
Master Server Properties dialog. To access this dialog, see “Using the Host Properties
Window” on page 55.
3. On a UNIX server, verify that the bpcd entry in /etc/services or NIS on all the
servers are identical. Verify that the media host is listening on the correct port for
connections to bpcd by running one of the following commands (depending on
platform and operating system):
netstat -a | grep bpcd
netstat -a | grep 13782 (or the value specified during the install)
rpcinfo -p | grep 13782 (or the value specified during the install)
4. On Windows servers:
a. Verify that the bpcd entries are correct in the services file:
%SystemRoot%\system32\drivers\etc\services
b. 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 and click Configure on the Actions menu.
The values on the Network tab are written to the services file when the
NetBackup Client service starts.
5. See “Testing Media Server and Clients” on page 24 and “Resolving Network
Communication Problems” on page 26.
6. Create a bpcd debug log directory on the server that has the storage unit and retry the
operation. Then, check for additional information in the resulting debug log.
1. Verify that the master server appears as a server in its own server list as well as being
listed on all media servers.
If you change the server list on a master server, stop and restart the NetBackup
database manager and request daemons (UNIX) or the NetBackup Database Manager
and NetBackup Request Manager services (Windows).
2. If necessary, create debug log directories for the following processes and retry the
operation. Then, check the resulting debug logs on the master server:
- If the error occurred during a backup operation, check the bpsched debug logs.
- If the error occurred during a restore operation, check the bprd debug logs.
1. Verify that the NetBackup database manager (bpdbm) process (on UNIX) or the
NetBackup Database Manager service (on Windows) is running.
2. Examine the All Log Entries report for the appropriate time frame to gather more
information about the failure.
3. For detailed troubleshooting information, create debug log directories for bpsched
and bpdbm on the master server and retry the operation. Then, check the resulting
debug logs.
1. Examine the Backup Status and All Log Entries report for the appropriate time period
to determine the policy or schedule that received the error.
2. Verify that the storage unit’s drives are not down or waiting for media from a
previous operation that did not complete.
3. Verify that all the storage units do not have their Maximum concurrent jobs attribute
set to 0 (for disk storage units) and Maximum concurrent drives used for backup
attribute set to 0 (for Media Manager storage units).
4. Verify that the robot number and host name in the storage unit configuration matches
the Media Manager device configuration.
5. Determine if all storage units are set to On demand only for a policy and schedule
combination that does not require a specific storage unit. If this is the case, either
specify a storage unit for the policy and schedule combination or turn off On demand
only for a storage unit.
6. If the storage unit is on a UNIX NetBackup media server, it could indicate a problem
with bpcd. Check /etc/inetd.conf on the media server to verify that the bpcd
entry is ok.
If the storage unit is on a Windows NetBackup media server, verify that the
NetBackup Client service has been started on the Windows NetBackup media server.
2. Check for active bp processes with bpps. This reveals if there are bpbrm or bptm
processes running and a backup is active.
3. If there is no reason for bpsched to be running, then use kill -HUP to terminate it.
On a Windows NetBackup master server:
2. Check for active NetBackup processes by using the Activity monitor. This reveals if
there are bpbrm or bptm processes running and if a backup is active.
3. If there is no reason for bpsched to be running, then kill it from the Activity monitor.
1. On a UNIX master server, verify that the NetBackup database manager (bpdbm)
process is running. On a Windows master server, verify that the NetBackup Database
Manager service is running.
3. For detailed troubleshooting information, create debug log directories for bpsched
and bpdbm on the master server and retry the operation. Then, check the resulting
debug logs.
1. On a UNIX master server, verify that the NetBackup database manager (bpdbm)
process is running. On a Windows master server, verify that the NetBackup Database
Manager service is running.
2. For detailed troubleshooting information, create debug log directories for bpsched
and bpdbm on the master server and retry the operation. Then, check the resulting
debug logs.
1. On a UNIX server, verify that the NetBackup database manager (bpdbm) process is
running. On a Windows server, verify that the NetBackup Database Manager service
is running.
3. For detailed troubleshooting information, create debug logs for bpsched and bpdbm
on the master server and retry the operation. Then, check the resulting debug logs.
Ensure that the correct master server is being specified for the connection.
1. On a UNIX server, verify that the NetBackup Database Manager (bpdbm) process is
running. On a Windows server, verify that the NetBackup Database Manager service
is running.
3. For detailed troubleshooting information, create debug log directories for bpsched
and bpdbm on the master server and retry the operation. Then, check the resulting
debug logs.
Ensure that the correct master server is being specified for the connection.
Recommended Action: Look in the Job Details window for the failed job.
1. Verify that the schedule specifies the correct storage unit and the storage unit exists.
2. Verify that the Media Manager device daemon (ltid) is running (if the server is
UNIX) or the NetBackup Device Manager service is running (if the server is a
Windows system). Use bpps on UNIX and the Activity Monitor on Windows or the
Services application in the Windows Control Panel.
3. Verify that the Maximum concurrent jobs attribute is not set to 0 (for a disk storage
unit) and the Maximum concurrent drives attribute is not set to 0 (for a Media
Manager storage unit).
4. If the storage unit is a tape or optical disk, verify that at least one of the drives is in the
UP state. Use the Device Monitor.
5. Verify that the robot number and host in the storage unit configuration matches what
is specified in the Media Manager device configuration.
6. Verify that the master server can communicate with the bpcd process on the server
that has the storage unit.
b. If bpcd seems to be operating correctly, create bpsched and bpcd debug log
directories and retry the operation. Check the resulting debug logs for records of
an earlier failure.
After each backup, the scheduler checks the storage unit to see how many drives
are available (in case the backup caused a drive to be automatically downed). If
bpsched cannot communicate with bpcd, it sets the number of available drives
in that storage unit to 0 and further backups to that storage unit during this
backup session will fail.
The number of available drives remains at 0 until the scheduler is initialized
again.
c. If the cause of the problem is not obvious, perform some of the steps in
“Resolving Network Communication Problems” on page 26.
Recommended Action: Determine the cause of the status code that follows this one.
1. A common cause for this problem is a query that has no matching images. Specify
different parameters or options for the operation and try it again.
1. If this involves a media server, verify that its server list specifies the correct master
server. On a UNIX server, the master server is the first SERVER entry in the bp.conf
file. On a Windows server, the master is designated on the Servers tab in the Master
Server Properties dialog. To access this dialog, see “Using the Host Properties
Window” on page 55.
2. For detailed troubleshooting information, create a bpdbm debug log directory and
retry the operation. Then, check the resulting debug log.
Explanation: This is an intermediate status code that usually precedes another status
code. It indicates that either the bpdbm process (on UNIX) or the NetBackup Database
Manager service (on Windows) or the process communicating with it has received
unexpected information.
Recommended Action: Create a debug log directory for bpdbm. Then, retry the operation,
save the debug log, and call customer support.
1. Verify that all NetBackup software is at the same version level. Update earlier
versions of NetBackup software.
- On UNIX NetBackup servers and clients, check the
/usr/openv/netbackup/bin/version file.
2. If the problem persists, save all error information and call customer support.
Recommended Action: Check the error reports to determine the specific duplication that
would occur. Correct the settings for the operation and retry it.
Note To increase the amount of information included in the logs, see “Debug Logs on PC
Clients” on page 67.
1. Check the file list for the policy and the exclude and include lists on the client to verify
that the client has files that are eligible for backup. For example, this status code can
appear if the exclude list on the client excludes all files.
2. To obtain detailed troubleshooting information, create debug logs for bptm and
bpdbm on the server. Then, retry the operation and check the resulting debug logs.
UNIX: /usr/openv/netbackup/vault/sessions/vault_name
Windows: install_path\Netbackup\vault\sessions\vault_name
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path \NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
Ensure that the following directory exists, is writable by root, and that the disk is not
full:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name
Windows: install_path\NetBackup\vault\sessions\vault_name
Recommended Action: Ensure that the session id stored in the session.last file is not
corrupt. Make sure that the file system is not full and that no one has inadvertently edited
the file. You can correct the problem by storing in the session.last file the highest
session id that has been assigned to a session for this vault. If the problem persists, contact
customer support and send the appropriate logs.
Explanation: This error is encountered when vltopmenu cannot find a sidxxx session id
directory for the specified profile. It means that either no vault jobs were run for this
profile or that the corresponding sidxxx session id directory (or directories) were removed
from the following directory:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name
Windows: install_path\NetBackup\vault\sessions\vault_name
Recommended Action: You can either specify a different profile for which vault jobs have
been run or exit vltopmenu, run a vault job for the specific profile and rerun vltopmenu
and select the profile.
Explanation: This error occurs when a vault job is unable to copy the consolidated reports
to the destination directory specified in the vault profile.
Recommended Action: Ensure that the destination directory specified in the profile exists
and is writable by root. Also the vault job or command must be started with root
privileges. Correct the path and/or permissions of the destination directory and rerun the
vault job or command.
Also review the summary.log file in each of the sidxxx directories that had
problems:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path\NetBackup\vault\sessions\vault_name\sidxxx
Correct the problem and rerun the vault job. If the problem persists, please contact
customer support and send the appropriate logs.
Explanation: This error occurs when a vault job is run for a profile that has selected
automatic eject mode and the number of media to be ejected exceeds the capacity of the
MAP.
Recommended Action: Use vltopmenu to manually eject the media for the selected
profile and session id. The vltopmenu option will let you eject the selected media, a
MAP-full (or less) at a time.
◆ The user hit Return in interactive mode without first removing the media from the
MAP. In this case, the media that were in the MAP will be put back into their original
slots in the robotic library.
Recommended Action: For detailed information about why the process was aborted,
review the vault debug log in the following directory:
UNIX: /usr/openv/netbackup/logs/vault
Windows: install_path\NetBackup\logs\vault
Also review the summary.log in each of the sidxxx directories that had problems:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path\NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
This error often indicates that the media were left in the offsite vault volume group
but still physically reside in the robot or in the robotic MAP. To solve this problem, do
one of the following:
◆ Manually remove any media that are in the offsite vault volume group but are still in
the robotic library.
◆ Inventory the robotic library. This puts any media that were in the offsite vault
volume group back into the robotic volume group. Then, rerun the vault sessions that
failed.
Explanation: This error occurs when a Media Manager command fails during a vault job.
Recommended Action: For the actual error that caused the Media Manager command to
fail, review the vault debug log in the following directory:
UNIX: /usr/openv/netbackup/logs/vault
Windows: install_path\NetBackup\logs\vault
Also review the summary.log in each of the sidxxx directories that had problems:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path\NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
Try running the Media Manager command (with the same arguments as in the log
file) to see the actual error. Ensure that the Media Manager daemons are running.
Also ensure that the robot is functional and you can communicate with it (for
example, inventory the robot via the GUI).
UNIX: /usr/openv/netbackup/logs/vault
Windows: install_path\NetBackup\logs\vault
Also review the summary.log in each of the sidxxx directories that had problems:
UNIX: /usr/openv/netbackup/vault/sessions/vault_name/sidxxx
Windows: install_path\NetBackup\vault\sessions\vault_name\sidxxx
(where xxx is the session id)
A common cause of failure is the lack of resources, such as no more media available in
the specified pools for duplication and catalog backup. Correct the problem and rerun
the vault job. Note that the NetBackup scheduler will retry a vault job that has
terminated with this error.
Recommended Action: Check the auth.conf file on the host specified in the
NetBackup-Java login dialog for the proper authorization. If the auth.conf file does not
exist, it must be created with the proper entry for this user name. Refer to the NetBackup
System Administrator's Guide for more details on the auth.conf file.
◆ On Windows hosts: The exact error can be found in the bpjava-msvc log file. For
more details, refer to the LogonUser function in the section Client/Server Access
Control Functions of the Windows NT Platform Software Developer’s Kit.
1. On UNIX: compare the bpjava-msvc entry in the /etc/services file with the
BPJAVA_PORT entry in the /usr/openv/java/nbj.conf file
On Windows: compare the bpjava-msvc entry in the
%systemroot%\system32\drivers\etc\services file with the
install_path\java\hostname.vrtsnbuj file (Windows). The entries must
match.
2. Ensure that no other application is using the port configured for the NetBackup-Java
interface.
Recommended Action:
2. If the problem persists, restart the NetBackup-Java interface and try again.
3. If the problem still persists, enable detailed debug logging as explained under
“Enabling Detailed Debug Logging” on page 78.
Note The cause of status code 509 can be found in the appropriate log file, either for
bpjava-msvc, bpjava-susvc, or bpjava-usvc. The cause can be
categorized as one of the following:
1. If the problem persists, restart the NetBackup-Java interface and try again.
2. If the problem still persists, enable detailed debug logging as explained under
“Enabling Detailed Debug Logging” on page 78.
Note The error is probably the result of a system resource issue. When detailed debug
logging has been enabled, the details may be retrieved from the bpjava-msvc,
bpjava-susvc, or bpjava-usvc log files.
1. If the problem persists, restart the NetBackup-Java interface and try again.
2. If the problem still persists, enable detailed debug logging as explained under
“Enabling Detailed Debug Logging” on page 78.
Note The error is probably the result of a system resource issue. When detailed debug
logging has been enabled, the details may be retrieved from the bpjava-msvc,
bpjava-susvc, or bpjava-usvc log files.
1. If the problem persists, restart the NetBackup-Java interface and try again.
2. If the problem still persists, enable detailed debug logging as explained under
“Enabling Detailed Debug Logging” on page 78.
Note The error is probably the result of a system resource issue. When detailed debug
logging has been enabled, the details may be retrieved from the bpjava-msvc,
bpjava-susvc, or bpjava-usvc log files.
Recommended Action: On the host that was specified in the NB-Java login dialog, check
the NetBackup configuration file mentioned above to ensure there is a mapping available
for the indicated locale. (For information on locale configuration and mapping, refer to the
NetBackup System Administrator's Guide.) If there is a mapping, try to set the mapped locale
on the host that was specified in the NB-Java login dialog. This system may not be
configured properly.
Messages
This section lists the NetBackup error messages alphabetically. The status code is included
in parentheses after the message. Refer to the previous list of status codes for explanations
and recommended actions.
allocation failed
(NetBackup Status Code 10)
authentication failed
(NetBackup Status Code 160)
bpjava-msvc: the client is not compatible with this server version (server_version)
(NetBackup Status Code 513)
bpstart_notify failed
(NetBackup Status Code 73)
Can not connect to the NB-Java authentication service on the configured port -
configured_port_number
(NetBackup Status Code 505)
Can not connect to the NB-Java user service via VNETD on (host) or port
(configured_port_number)
(NetBackup Status Code 517)
client timed out waiting for the continue message from the media manager
(NetBackup Status Code 65)
communication interrupted
(NetBackup Status Code 234)
continue
(NetBackup Status Code 221)
disk is full
(NetBackup Status Code 155)
done
(NetBackup Status Code 222)
EC_badop
(NetBackup Status Code 113)
EC_end
(NetBackup Status Code 115)
EC_error
(NetBackup Status Code 114)
eject process has already been run for the requested vault session
(NetBackup Status Code 307)
getservbyname failed
(NetBackup Status Code 19)
host is unreachable
(NetBackup Status Code 47)
Incorrect password
(NetBackup Status Code 504)
Internal error - a bad status packet was returned by NB-Java application server that did
not contain an exit status code
(NetBackup Status Code 512)
invalid jobID
(NetBackup Status Code 273)
invalid request
(NetBackup Status Code 133)
Invalid username
(NetBackup Status Code 503)
NB image database contains no image fragments for requested backup id/copy number
(NetBackup Status Code 165)
NB-Java Configuration file (file_name) is not readable due to the following error:
(message)
(NetBackup Status Code 522)
no active policies contain schedules of the requested type for this client
(NetBackup Status Code 198)
no active policies in the configuration database are of the correct client type
(NetBackup Status Code 246)
No authorization entry exists in the auth.conf file for username username. None of the
NB-Java applications are available to you.
(NetBackup Status Code 502)
no images duplicated
(NetBackup Status Code 308)
requested media id was not found in NB media database and/or MM volume database
(NetBackup Status Code 95)
Socket connection to the NB-Java user service has been broken. Please retry your last
operation.
(NetBackup Status Code 507)
specified media or path does not contain a valid NB database backup header
(NetBackup Status Code 127)
the specified client does not exist in an active policy within the configuration database
(NetBackup Status Code 236)
the specified schedule does not exist in an active policy in the configuration database
(NetBackup Status Code 237)
unable to allocate new media for backup, storage unit has none available
(NetBackup Status Code 96)
unimplemented feature
(NetBackup Status Code 16)
valid archive image produced, but no files deleted due to non-fatal problems
(NetBackup Status Code 3)
vltcore error
(NetBackup Status Code 281)
Status Codes
Note The term media server, as distinct from master server or server, does not apply to the
NetBackup BusinesServer product. When troubleshooting a BusinesServer
installation, please ignore any references to media server.
263
Status Codes
Explanation: A requested operation was completed. The operation may have been one of
several related operations for a particular task.
Recommended Action: None.
1. Check for other error messages in the command or interface output to determine
which system call failed. Enable debug logging, retry the operation, and check the
debug log files for more specific error messages.
2. Check the system application log for error and warning messages.
3. Verify that the system is not running out of virtual memory. If virtual memory is the
problem, shut down unused applications or increase the amount of virtual memory.
To increase virtual memory on Windows:
5. Double-click System.
6. On the Performance tab, set Virtual Memory to a higher value. (On Windows 2000,
select Performance Options from the Advanced tab.)
8. Verify that there are no unexpected Media Manager processes running by executing
vmps. Some processes are expected to remain running, though some processes that
are not going away could indicate a more serious problem, such as a hung system call.
1. Examine command output, debug logs, and system logs for a more detailed message
on the error, as follows.
2. Check the usage statement for expected usage and compare with the parameters
being sent to start the new process.
3. Verify that all Media Manager binaries are at a compatible version level.
1. Examine command output, debug logs, and system logs for a more detailed message
on the error, as follows.
2. Identify the target components (for example, vmd and robotic processes on local or
remote hosts) and verify that all Media Manager binaries are at compatible version
level.
1. Examine command output and debug logs for a more detailed message on the error,
as follows.
3. Ensure that the specified media IDs contain valid characters only: alphanumeric
characters, and the period (.), plus sign (+), and underscore (_). A hyphen (-) is also a
valid character when not the first character in the media ID.
4. If the media is for optical disk, ensure that the media ID of the optical partner is
specified and contains only valid characters.
5. If the media ID is for optical disk in a TLM robot, ensure that the format of the ID and
partner are “Axxxxxx” and “Bxxxxx,” respectively.
6. If media are specified to be ejected from a library, ensure that they exist in the volume
database and are associated with the correct robot number.
9. If the operation is an inventory request for an ACS robot, use the robtest utility to
verify that the ACS interface is returning cleaning media IDs both in the query
volume list and in the query cleaning volume list.
1. If running a robot inventory on a robot of type ACS, LMF, RSM, TLH, or TLM, ensure
that the vendor media type returned from the robot control software is supported and
recognized by the version of Media Manager that is installed.
2. If using a command line interface directly, verify that a valid media type has been
passed, according to vmadd(1m) command line documentation, which applies to all
Media Manager command line interfaces.
3. Ensure that an operation valid only for cleaning media has not been requested on a
media ID that does not correspond to cleaning tape.
4. Ensure that the media type in all barcode rules is a valid media type or the ordinal
zero (0), to represent the default media type.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
3. Ensure that the specified barcodes contain valid characters only: alphanumeric
characters, and the period (.), plus sign (+), and underscore (_). A hyphen (-) is also a
valid character when not the first character in the media ID.
4. Ensure that the number of characters in the barcode does not exceed the maximum
allowed for the robot type.
5. Ensure that the barcode tag in all barcode rules is a subset of a valid, supported
barcode format.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
3. Check the volume database and ensure that the specified robot type agrees with that
for all volumes having the specified robot number.
4. If a robot type is required for the requested operation, ensure that a robot type has
been specified.
2. If running vmphyinv, the global device database may not be updated, or the specified
robot number may not be configured.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. If possible, re-attempt the requested operation using another user interface that
supports the type of request.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. Specify a volume group where one is required, ensuring that it is no longer than 25
ASCII characters in length, without containing any whitespace or unprintable
characters.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. Specify a slot number (robot coordinate 1) where required, ensuring that it is within
the allowable range of slot numbers for the given robot type.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. Specify a robot coordinate 2 value of zero (0) for non-optical media, or specify either
A or B to represent the platter side for optical media.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. Specify a valid volume database host on which a version of vmd, the volume daemon
on UNIX, or NetBackup Volume Manager service on Windows, or operator request
daemon/process is running that supports the requested operation.
1. Examine command output (if available) and debug logs for a more detailed message
on the error, as follows.
2. Retry the operation and examine the logs. Ensure that there are no embedded
whitespaces in fields that do not allow embedded whitespace.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. The volume database may be corrupted. Restore an older volume database from a
saved version or from catalog backups.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. The volume database may be corrupted. Restore an older volume database from a
saved version or from catalog backups.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. Execute vmps to ensure that vmd and vmdb_dump are not both running at the same
time.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. The volume database may be corrupted. Restore an older volume database from a
saved version or from catalog backups.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. Execute vmps to ensure that vmd and vmdb_dump are not both running at the same
time.
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. Examine the permissions and available file system space for writing to the database
/usr/openv/volmgr/database/volDB (UNIX) or
install_path\Volmgr\database\volDB (Windows).
Explanation: vmd (the Media Manager volume daemon on UNIX or NetBackup Volume
Manager service on Windows) encountered an error while writing a volume database
record, where the record was only partially written.
Recommended Action:
1. Examine the daemon debug log for a more detailed message on the system error, as
follows.
2. Examine the available file system space for writing to the database
/usr/openv/volmgr/database/volDB (UNIX) or
install_path\Volmgr\database\volDB (Windows).
1. Examine the daemon and reqlib debug logs for a more detailed message on the error,
as follows.
2. When adding volumes to the volume database, specify a media ID that is unique.
3. If running vmphyinv, there may be two or more media in the tape library with the
same media ID.
1. Examine the daemon and reqlib debug logs for a more detailed message on the error,
as follows.
2. Ensure that volumes are properly configured on the volume database host that
matches the volume database host configured for the robot or set of standalone
drives. Use tpconfig -d and tpconfig -lsavdbhost to list the configured
volume database hosts. Select the current server (the one you are administering) to be
the same as the host which is the correct volume database host for a targeted device.
3. Update the volume or device configurations, specify the correct volume database
host, modify volume properties, or adjust search criteria as needed so that the volume
query can find a matching volume.
4. If running vmphyinv, none of the media satisfy the search criterion. As such,
vmphyinv could not inventory the tape library.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
2. Query for or sort volume records by barcode to identify the existing volume entry
with the same barcode as that specified for the volume entry being added or changed.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
2. Query for or sort volume records by slot number to identify the existing volume entry
with the same robotic coordinate as that specified on the volume entry being added or
changed (if using optical disk, display the optical platter side).
3. Change (update or move volume) or delete the existing volume entry if it does not
reflect the correct robotic coordinate corresponding to the volume's storage position
in the robotic library. If a volume is currently in a drive, the volume database should
still reflect the volume's home slot.
Explanation: On a request to change the global device database host or the volume
database host for a residence, the specified host is not the local host, and the current
software is not licensed to allow remote hosts.
Recommended Action: Check product documentation for supported device
configurations. Obtain an additional software license that allows remote hosts to be
configured, or specify only local host names on the configuration request.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the protocol error, as follows.
4. Ensure that there are no embedded whitespaces in fields that do not allow embedded
whitespace.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
2. Identify the robotic process by looking at the robot type, and at the robot host on the
robotic request or the robot host field of the volume being operated on.
3. Verify that the robotic process used for robotic control is available (see table“Media
Manager Daemons and Programs” on page 547), and start the robotic process if
necessary.
4. Ensure that there is only one configured robot control host for each LMF, TL8, TLD,
and TLH robot and that all volumes in the volume configuration have a robot host
that matches the configured robot control host.
5. Change the volumes or reconfigure the robot in the device configuration as needed.
6. Check the system log on the robot control host to see if the robotic process is
processing requests during the time when connections to it are attempted.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
2. Identify the robotic process by looking at the robot type, and at the robot host on the
robotic request or the robot host field of the volume being operated on. Verify that the
robotic process used for robotic control is available and handling requests (see section
“Programs and Daemons” on page 547).
3. Identify the robot control host by checking the device configuration. There should be
only one configured robot control host for each LMF, TL8, TLD, and TLH robot and
all volumes in the volume configuration should have a robot host that matches the
configured robot control host.
4. Check the system log on the robot control host to see if the robotic process is
processing requests during the time when communications with it are attempted.
Perform“Resolving Network Communication Problems” on page 26.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
2. Identify the targeted robotic process by looking at the robot type, and at the robot host
on the robotic request or the robot host field of the volume being operated on. Verify
that the robotic process used for robotic control is available and handling requests
(see section “Programs and Daemons” on page 547).
3. Identify the robot control host by checking the device configuration. There should be
only one configured robot control host for each LMF, TL8, TLD, and TLH robot and
all volumes in the volume configuration should have a robot host that matches the
configured robot control host.
4. Check the system log on the robot control host to see if the robotic process is
processing requests during the time when communications with it are attempted.
Perform “Resolving Network Communication Problems” on page 26.
4. Ensure that there are no embedded whitespaces in fields that do not allow embedded
whitespace.
5. Check the system log on the robot control host for errors logged by the robotic
software.
2. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
1. No action is needed, unless volumes that were requested to be deleted were not in fact
deleted.
2. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
1. No action is needed unless volumes that were requested to be inserted were not
actually inserted.
2. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error, as follows.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error, as follows.
2. Check the usage statement for expected usage and compare with the parameters
being sent to start the new process.
3. Ensure that change volume requests from a newer release version level are not sent to
vmd on an older, incompatible version level.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error, as follows.
2. Ensure that change volume residence requests (with eject for the robot type involved
with a newer release version level) are not sent to vmd on a system running an older,
incompatible software version level.
Explanation: A request to change volume residence with media inject was sent to vmd
(the Media Manager volume daemon on UNIX or NetBackup Volume Manager service on
Windows), but the volume's robot type does not support automated media inject.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that change volume residence requests (with inject for the robot type involved
with a newer release version level) are not sent to vmd on a system running an older,
incompatible software version level.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the robotic request is sent to a system running a release version of
software that supports the particular request.
Explanation: A request was made to add or change volumes in the volume configuration.
The robot number to be associated with a volume is already in use, and is associated with
another volume in a robot with the same number but of another robot type.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that robot numbers are unique for each physical robot in all device
configurations using the same volume database host. Delete and re-add a robot using
a unique robot number if duplicate robot numbers are in use, or specify a different
volume database host for one of the duplicate robot numbers. Use a media
management interface to identify robot numbers currently in use for all volumes in
the volume configuration. If using a command line interface, specify the correct robot
type for the robot number associated with the request.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the specified robot number and volume group are compatible. If volumes
in the volume group have a given robot number (for example, 0), then volumes with a
different robot number (for example, 1) cannot be added to that volume group.
Volumes cannot be moved directly from one robotic volume group to another robotic
volume group since the intermediate steps (some volume entries changed, some not)
would cause a conflict with robot numbers. Choose a different volume group on the
request, or let the volume group be automatically selected. Volume group selection
depends on the specific interface being used.
1. Examine the daemon debug log for a more detailed message on the error.
2. From catalog backups or another source if available, restore an earlier version of the
database file, /usr/openv/volmgr/database/volDB (UNIX) or
install_path\Volmgr\database\volDB (Windows), and restart vmd.
1. Examine the daemon debug log for a more detailed message on the system error.
2. If another process has the port, use other system commands to determine the process.
Based on the result, either change the port number in your services file or map, or
terminate the process that has acquired the port.
3. UNIX only: Another possible cause for this error is terminating vmd with the kill
command. If you have to stop vmd, the recommended method is to use the Terminate
Media Manager Volume Daemon option on the Special Actions menu in vmadm (or
the equivalent command line request, vmctrldbm -t). Using the kill command to
stop this process can leave it unable to bind to its assigned port the next time it is
restarted. When the socket problem has occurred, the daemon debug log contains
lines similar to the following:
unable to obtain bound socket, Address already in use (125)
1. Examine the daemon debug log for a more detailed message on the system error.
2. Obtain the specific system call failure from the debug log, and investigate operating
system functionality related to the failure.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Specify the robot host in the device configuration to be the same case-sensitive host
name on all hosts where the robot is configured. Re-issue the request. As an
alternative, use move by volume group to logically move all volumes from a robotic
volume group to standalone and then back into the robot. Specify the robot host as the
host name used in the robot configuration. Then re-issue the request.
1. Examine interface output and debug logs for a more detailed message error.
b. Retry the operation and examine the logs. Ensure that the process is allowed to
complete.
2. Retry the operation (or try using a different media management interface) and
examine the logs.
1. Examine the daemon debug log for a more detailed message on the system error.
2. Check for data integrity or consistency problems in the volume database by using a
media management interface or vmdb_dump. Delete or move volume entries so that
the volume group issues are corrected.
Either add cleaning tapes to the robot (physically, and logically in the volume database
with a media management interface), or change the number of allowed cleanings if a
cleaning tape is already configured and the cleaning tape is to be used beyond its
allocated use cycles. Then reissue the cleaning request, or wait for the cleaning request to
be automatically submitted when a drive in the robot once again needs cleaning.
1. Examine the daemon debug log for a more detailed message on the system error.
2. Obtain the specific send or write system call failure from the debug log, and
investigate operating system functionality related to the failure.
3. Check to see whether the command or application interface sending the request is
aborting prematurely, as follows: enable reqlib debug logs, retry the operation, check
the debug logs, and observe application interface output.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Check to see if volumes are defined in the volume database associated with a slot
number zero that may not exist in the robot. Run a robot inventory Show contents of
robot report and observe the starting slot number. If the starting slot number is one (1)
and there is a volume defined in the robot at slot zero (0), delete the volume entry or
move it to standalone so that the remaining available media slots can be utilized.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Check to see whether the vmd or oprd process continued to run once it received the
connection from the requestor. Run netstat -a or an equivalent socket diagnostic
utility. Look at the daemon debug log on the server-side system and the process status
of vmd/oprd to see if the server process is hung up.
Explanation: A process timed out while connecting to vmd (the Media Manager volume
daemon on UNIX or NetBackup Volume Manager service on Windows) or to oprd (the
operator request daemon/process). This problem can occur when a connection is
attempted and the server process is not running. It can also occur if the network or server
is heavily loaded and has slow response time.
Recommended Action:
1. On the host (Media Manager host, Device Host, or volume database host) where vmd
is the recipient of the connection, verify that the daemon/service is running. If the
daemon/service is not running, start it. On Windows, vmd is the NetBackup Volume
Manager service.
2. If vmd is already running, examine command output, debug logs, and system logs for
a more detailed message on the error.
3. Verify that the correct host names are defined in the configuration. Each robot
definition contains a volume database host where volumes are configured for use in
the robot. Each group of servers shares a common global device database host, which
vmd manages.
4. Check the services file. On UNIX, verify that the /etc/services file (and NIS
services if NIS is used) has entries for the vmd service. (Note that oprd is always
started by the vmd service.) On Windows, verify that the
%systemroot%\system32\drivers\etc\services file has the correct entry for
vmd. Also verify that the vmd port number in the services file agrees with the port
number configuration, which is noted in the man page for vmd(1M).
5. Verify that all operating system patches or service packs are installed.
6. Ensure that the Media Manager configuration is not tuned so that the load on vmd
exceeds its ability to service requests. Look for entries in the Media Manager
configuration file, vm.conf, that increase the load. Consider placing the volume
database on a higher performance server and file system if performance is an issue.
Consider using inventory filtering for robot types that support it, to reduce the
number of volumes in the volume configuration.
7. By checking utilities such as ipcs -a, ensure that shared memory is functioning
properly. The oprd process may not be responding, because it is having trouble
attaching to shared memory.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error.
2. Identify the system where vmd is running. This is usually termed the Media Manager
host or volume database host, and defaults to the local system in some user interfaces
(such as vmadm). Possible causes for the error are high network load, missing
operating system patches or service packs, or unexpected vmd process failure.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error.
2. Identify the system where vmd is running. This is usually termed the Media Manager
host or volume database host, and defaults to the local system in some user interfaces
(such as vmadm). Possible causes for the error are high network load, missing
operating system patches or service packs, or unexpected vmd process failure. Also,
the socket read may have failed because the requested operation did not complete
within a specified time period. Some requests to vmd can be affected by robotic
process and vmd interactions, so check the system log for errors on the robotic control
host.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify that all Media Manager and user interface binaries are at a compatible version
level.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify that all Media Manager and user interface binaries are at a compatible version
level.
1. Examine the command input, debug logs, and system logs for a more detailed
message on the system error.
2. Obtain the specific system call failure from the debug log, and investigate operating
system functionality related to the failure. Execute the hostname system command to
see if the command is operating correctly.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the format error.
2. For any of the cases listed under Explanation, choose a format operation appropriate
for the current state of the platter and retry the format as needed using the tpformat
command.
1. Examine the daemon and reqlib debug logs for a more detailed message on the error.
2. Ensure that volumes are properly configured on the volume database host that
matches the volume database host configured for the robot or set of standalone
drives. Use tpconfig -d and tpconfig -lsavdbhost to list the configured
volume database hosts. Select the current server (the one you are administering) to be
the same as the host which is the correct volume database host for a targeted device.
Update the volume or device configurations, target the correct volume database host,
modify volume properties, or adjust search criteria as needed so that the volume
query can find a matching volume. For media in their correct slot locations, execute
the Rescan/update barcode request so that the barcode field in the volume
configuration matches the actual barcode as interpreted by the robotic library barcode
reader.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that volumes are properly configured on the volume database host that
matches the volume database host configured for the robot or set of standalone
drives. Use tpconfig -d and tpconfig -lsavdbhost to list the configured
volume database hosts. Select the current server (the one you are administering) to be
the same as the host which is the correct volume database host for a targeted device.
Update the volume or device configurations, target the correct volume database host,
modify volume properties, or adjust search criteria as needed so that the volume
residence query can find a matching volume.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the specified robot residence and volume group are compatible with
other volumes in the volume configuration that are in the specified volume group. Do
not try to move volumes in the special No Volume Group name “----” to a robotic
residence without moving them to a new or auto-generated volume group. Choose a
different volume group on the request, or let the volume group be automatically
selected. Volume group selection depends on the specific interface being used.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the specified robot residence and volume group are compatible with
other volumes in the volume configuration that are in the specified volume group. Do
not try to add volumes for a robot host using a different form of the robot host name.
For example, “acme” is not the same as “acme.veritas.com.” Use the same host name
as that used for other volumes in the volume group. If the robot host needs to be
changed for volumes in a volume group, use a single move volume group request
(available only in certain media management interfaces) to move the volume group to
standalone residence. Then move the volume group back to the robotic residence,
specifying the desired robot control host that will be associated with the new volume
group.
1. Initiate vmd on the local host only, by logging on to the host where vmd needs to be
running and starting vmd on that host. On UNIX, execute
/usr/openv/volmgr/bin/vmd [-v]. On Windows NT, start the NetBackup
Volume Manager service in Services of the system Control Panel. (On Windows 2000,
Services is in Administrative Tools of the Control Panel.)
2. If more information is needed to explain the problem, examine command output (if
available), debug logs, and system logs for a more detailed message on the error.
1. Restart the service at a later time and investigate system problems that limit the
number of processes.
2. Examine debug and system logs for a more detailed message on the error.
Explanation: The system call dup2(3C) failed during an attempt to direct interface
output from a temporary file to the process's standard output.
Recommended Action: Investigate operating system functionality related to resource
limits on the number of open files. Ensure that processes are not being interrupted by
extraneous signals.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the system error.
2. Check the permissions on the vmcheckxxx, vmupdate, and oprd binaries, and (on
Windows only) the rdevmi installed binary.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the volume pool specified does not violate the requirements noted. Use
the vmpool command to display the pool information. Use the vmrule command to
display the barcode rule information. Add or change volume pools and barcode rules
as needed to rectify inconsistencies in cases where the databases are inconsistent or
corrupted.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. It is not possible to change the volume pool for assigned volumes. If no worthwhile
data is on the volume, unassign the media using the appropriate application interface
(which is bpexpdate for NetBackup) and then retry the change pool request. For
optical media, if no worthwhile data is on either side of the platter, unassign both of
the volumes before the change pool request is retried.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
Explanation: A request was made to assign a volume, and the volume was already
assigned, or for optical media, the volume partner was already assigned.
Recommended Action:
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. Do not try to manually assign volumes that are already assigned, because it is not
valid except for one condition: you can assign volumes for NetBackup catalog
backups if the volume is already assigned for NetBackup catalog backups. Check the
device configuration to determine if the volume database host for the device is
consistent with the volume configuration in the volume database. Applications may
attempt to query multiple volume databases for volume-related requests, so ensure
that duplicate media IDs are not used in volume configurations across multiple hosts.
If duplicate IDs are found, either completely separate the configurations by not
sharing any devices, or remove volumes with duplicate media IDs and consolidate
volumes into one volume configuration. Always use barcodes that are unique with
respect to the six (6) least significant characters across all media in all robots, or use
media ID generation rules to ensure unique media IDs are generated when using
robot inventory update.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. When assigning volumes manually, specify the volume pool associated with the
volume. Check the device configuration to determine if the volume database host for
the device is consistent with the volume configuration in the volume database.
Applications may attempt to query multiple volume databases for volume-related
requests, so ensure that duplicate media IDs are not used in volume configurations
across multiple hosts. If duplicate IDs are found, either completely separate the
configurations by not sharing any devices, or remove volumes with duplicate media
IDs and consolidate volumes into one volume configuration. Always use barcodes
that are unique with respect to the six (6) least significant characters across all media
in all robots, or use media ID generation rules to ensure unique media IDs are
generated when using robot inventory update.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. When using robot inventory update to make changes to the volume configuration,
ensure that all volumes of the same physical cartridge type (for example, 3590J in TLH
robots) are mapped to a single media type, such as HCART. This ensures that all
media in the robotic library can be mounted on drives with a compatible drive type.
3. When assigning volumes manually, specify the media type associated with the
volume. Check the device configuration to determine if the volume database host for
the device is consistent with the volume configuration in the volume database.
Applications may attempt to query multiple volume databases for volume-related
requests, so ensure that duplicate media IDs are not used in volume configurations
across multiple hosts. If duplicate IDs are found, either completely separate the
configurations by not sharing any devices, or remove volumes with duplicate media
IDs and consolidate volumes into one volume configuration. Always use barcodes
that are unique with respect to the six (6) least significant characters across all media
in all robots, or use media ID generation rules to ensure unique media IDs are
generated when using robot inventory update.
2. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. List the configured barcode rules on the targeted volume database host. Adjust the
barcode tag specified on the change/delete request or the targeted host as appropriate
so that the barcode rule is found when the request is retried.
1. Examine command output (if available) and debug logs for a more detailed message
on the system error.
2. Investigate the integrity of the file system and barcode rule database: on UNIX,
/usr/openv/volmgr/database/ruleDB; on Windows,
install_path\Volmgr\database\ruleDB.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. On the UNIX host where the request originated, check the system user configuration
and ensure that add/change pool requests include only valid user IDs. No validation
is attempted for user IDs in volume pools on Windows.
Explanation: A request was made to add volumes or change volume residences in the
volume configuration, and the media type and volume group associated with the volume
configuration changes are in conflict with the requirements for volume groups. All
volumes in a volume group are required to have the same residence, which includes
having the same media type. Media types used for data and their associated cleaning
media types are considered as being the same media types with regard to volume group
restrictions.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the specified media type and volume group are compatible with other
volumes in the volume configuration that are in the specified volume group. Choose a
different volume group on the request, or let the volume group be automatically
selected. Volume group selection depends on the interface being used.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. Use vmpool to investigate the integrity of the volume pool database. The daemon
debug log file should indicate the number of fields expected and the number of fields
found in the pool record. Restore a saved version of the pool database if the pool
database cannot be manually corrected.
1. Examine the daemon debug log for a more detailed message on the system error.
2. Examine the permissions and available file system space for writing to the database:
on UNIX, /usr/openv/volmgr/database/poolDB; on Windows,
install_path\Volmgr\database\poolDB.
1. Examine the daemon debug log for a more detailed message on the system error.
2. Use the vmps command to ensure that vmd and vmdb_dump are not both running at
the same time.
3. Ensure that no other process has a lock on the volume pool database file,
/usr/openv/volmgr/database/poolDB.
Recommended Action: Check for the existence and permissions of the poolDB file in the
following: on UNIX, /usr/openv/volmgr/database directory; on Windows,
install_path\Volmgr\database folder. Restore the poolDB file from the catalog
backups or from another location, change the access permissions on the existing poolDB,
or move/rename the current poolDB so that vmd can initialize a default pool
configuration. If the move/rename method is used, modify the volume and other
application configurations so that no references are made to volume pools that no longer
exist.
1. Examine the daemon and reqlib debug logs for a more detailed message on the error.
2. Ensure that volumes are properly configured on the volume database host that
matches the volume database host configured for the robot or set of standalone
drives. Use the tpconfig -d and tpconfig -lsavdbhost commands to list the
configured volume database hosts. Select the current server (the one you are
administering) to be the same as the host which is the correct volume database host
for a targeted device.
3. Update the volume or device configurations, specify the correct volume database
host, modify volume properties, or adjust search criteria as needed so that the
requested operation can find the requested volume pool. Investigate inconsistencies
between the volume database and the volume pool database, and restore or correct
those databases from a previous state as needed.
Explanation: The system call ftruncate(3C) failed during an attempt to rewrite the
volume pool database during a volume pool add/change/delete operation.
Recommended Action:
1. Examine command output (if available) and debug logs for a more detailed message
on the system error.
2. Investigate the integrity of the file system and volume pool database,
/usr/openv/volmgr/database/poolDB (UNIX) or
install_path\Volmgr\database\poolDB (Windows).
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. Use a media management interface to query for volumes associated with the pool
specified for deletion. Ensure that all volumes in a volume pool are reassociated with
another pool before trying to delete the volume pool. Use change volume operations
to change the volume pool for a volume. Check for possible volume database lock or
seek errors (Media Manager code 29 or 30).
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. Change the volume expiration date to a future date in relation to the current system
date/time if you want to extend the active life of the physical media. Alternatively,
replace the media with other media that still has useful life remaining. Check the
system date/time and reset it correctly as needed.
3. If the media expiration is already set to a future date as compared to the current
system date, check the device configuration to determine if the volume database host
for the device is consistent with the volume configuration in the volume database.
Applications may attempt to query multiple volume databases for volume-related
requests, so ensure that duplicate media IDs are not used in volume configurations
across multiple hosts. If duplicate IDs are found, either completely separate the
configurations by not sharing any devices, or remove volumes with duplicate media
IDs and consolidate volumes into one volume configuration. Always use barcodes
that are unique with respect to the six (6) least significant characters across all media
in all robots, or use media ID generation rules to ensure unique media IDs are
generated when using robot inventory update.
Recommended Action:
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. Increase the volume's maximum number of mounts, or set the maximum number of
mounts to infinite if you want to extend the active life of the physical media.
Alternatively, replace the media with other media that still has useful life remaining.
3. If the number of mounts was less than the maximum mounts allowed for the volume,
check the device configuration to determine if the volume database host for the device
is consistent with the volume configuration in the volume database. Applications may
attempt to query multiple volume databases for volume-related requests, so ensure
that duplicate media IDs are not used in volume configurations across multiple hosts.
If duplicate IDs are found, either completely separate the configurations by not
sharing any devices, or remove volumes with duplicate media IDs and consolidate
volumes into one volume configuration. Always use barcodes that are unique with
respect to the six (6) least significant characters across all media in all robots, or use
media ID generation rules to ensure unique media IDs are generated when using
robot inventory update.
1. If the volume is a cleaning cartridge, perform a valid operation such as changing the
number of cleanings remaining for the cleaning cartridge.
2. If the volume's media type cannot be determined, examine command output (if
available) and debug logs for a more detailed message on the error.
3. If the targeted volume is incorrectly configured as a cleaning tape, delete the cleaning
volume and update the volume configuration using options to define a new volume
with the appropriate media type.
1. Examine command output and debug logs for a more detailed message on the error.
2. Use vmrule to investigate integrity of the barcode rule database. The daemon debug
log file should indicate the number of fields expected and the number of fields found
in the barcode rule record. Restore a saved version of the barcode rule database if the
barcode rule database cannot be manually corrected.
1. Examine the daemon debug log for a more detailed message on the system error
2. Examine the permissions and available file system space for writing to the database,
/usr/openv/volmgr/database/ruleDB (UNIX) or
install_path\Volmgr\database\ruleDB (Windows).
Explanation: vmd (the Media Manager volume daemon on UNIX) encountered a system
call error while attempting to lock the barcode rule database. This status code applies to
UNIX servers only.
Recommended Action:
1. Examine the daemon debug log for a more detailed message on the system error.
2. Ensure that no other process has a lock on the barcode rule database file
/usr/openv/volmgr/database/ruleDB.
empty barcode rule configuration. If the move/rename method is used, re-add barcode
rule entries as needed so that new media moved into the robotic library are assigned to
the correct media types.
1. See the Media Manager system administrator's guides for detailed information on
vmd security. vmd security is based on NetBackup authentication/authorization, but
has extensions for handling SERVER entries in the Media Manager configuration file.
2. Examine the debug log files for a more detailed message on the
authentication/authorization problem.
/usr/openv/lib/libvnoauth.sl
b. Check the methods_allow.txt files on the systems that are having problems to
ensure that authentication is enabled. The files are in the following locations:
Windows: install_path\NetBackup\var\auth
UNIX: /usr/openv/var/auth
c. On the systems that are having the authentication problem, remove the remote
host that is not being authenticated from the methods_allow.txt file.
For example, if Host A and Host B are having the problem, remove Host A from
the file on Host B, and vice versa.
Retry the operation.
- If the problem still exists, there are connection problems not related to
authentication.
- If connections are now successful, proceed to the next step.
e. Add back the names removed in step c and retry the operation.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. On the UNIX host where the request originated, check the system group
configuration and ensure that add/change pool requests include only valid group
IDs. No validation is attempted for group IDs in volume pools on Windows.
1. Examine the daemon and reqlib debug logs for a more detailed message on the error.
2. Ensure that the drive name is from 1 to 48 ASCII characters in length. The following
special characters are allowed: period (.), plus (+), minus (-), underscore (_).
1. Check the system log and application (bptm) debug log to determine if hardware or
media errors have caused drives to become unavailable.
Explanation: A request was made to reserve or release a shared drive with vmd/DA (the
device allocator for the Shared Storage Option). The drive was not registered by the
requesting host or any other hosts.
Recommended Action: This is an abnormal condition that could occur in the following
situations:
- vmd/DA was stopped and restarted. This situation will be automatically
handled, because the requesting host re-registers its drives with vmd/DA when
this error is encountered.
2. Host A becomes unavailable for some time, unable to communicate with other hosts.
3. Host B determines that the host having the reservation (Host A) is no longer available,
and makes a request to vmd/DA denoting Host A as unavailable.
5. The host originally owning the drive reservation tries to release the drive.
Recommended Action: Correct the network or process problem that led to the
communications problem. Ensure that unique non-duplicate strings are being used for
host names and for SSO_HOST_NAME configuration file entries.
2. Host A becomes unavailable for some time, unable to communicate with other hosts.
3. Host B determines that the host having the reservation (Host A) is no longer available,
and makes a request to vmd/DA denoting Host A as unavailable.
4. The host originally owning the drive reservation tries to release the drive.
Recommended Action: Correct the network or process problem that led to the
communications problem. Ensure that unique non-duplicate strings are being used for
host names and for SSO_HOST_NAME configuration file entries.
1. vmd/DA was stopped and restarted. This situation will be automatically handled,
because the requesting host re-registers its drives with vmd/DA when this error is
encountered.
2. A host has been unregistered with vmd/DA, and another host was in the process of
declaring the host to be unavailable.
Recommended Action: In case 2, above, determine whether the host ought to be
available. Correct the underlying network problems or restart ltid (the device daemon
on UNIX or NetBackup Device Manager service on Windows).
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Identify the targeted host and verify that all Media Manager binaries on that host are
at a compatible version level with other hosts that are part of the configuration.
Update the software version as needed.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Identify the target components (for example, vmd and daemons/services, or user
interfaces on local or remote hosts). Verify that all Media Manager binaries are at a
compatible version level. Depending on which requests encountered the invalid
version, determine whether or not the database is corrupt. Use an appropriate
interface to query for the type of information involved in the error condition.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
1. Examine command output (if available) and debug logs for a more detailed message
on the error.
2. List the license keys installed and verify that the functionality being referenced is
supported with the currently installed license keys. Check to see that the databases
defining externalized object types are in place and not corrupted. These database files
are the following, in the /usr/openv/share directory (UNIX) or
install_path\NetBackup\share folder (Windows):
- external_attributes.txt
- external_densities.txt
- external_drivetypes.txt
- external_mediatypes.txt
- external_robotics .txt
1. Restrict the size of the SSO configuration to no more than 255 hosts.
2. Ensure that obsolete hosts are completely unregistered with vmd/DA. The list of
registered hosts can be obtained by viewing the Device Allocation Host Summary
section of the Status of Shared Drives report in the NetBackup-Java administrative
interface or by using vmdareq -hostinfo -a. Host registrations can be cleared out
using vmdareq -unregister -H <hostname>, or by stopping and restarting
vmd/DA on the device allocation host.
Note Do not stop vmd on the device allocation host while there are any active tape
mounts, cleaning jobs, or application jobs.
3. Break up the media and device management domain into multiple domains, with all
domains having 255 or fewer hosts that register shared drives.
1. Examine the daemon debug log for a more detailed message on the system error.
2. The global device database may be corrupted. Restore an older volume database from
a saved version or from catalog backups.
Explanation: A request was made to update a global device database record, and the
record specified was not found in the global device database. This condition could occur
when a device configuration change is made after the global device database host has
changed.
Recommended Action: If the request to update a global device database record fails
because the record does not exist, a request is made to add the missing record to the global
device database. No action is required.
1. Coordinate changes to the device configuration so that changes come from a single
source.
2. To investigate the details surrounding the global device database changes on the
server (database) side, examine the daemon debug log file.
b. Retry the request to change the device configuration and examine the debug log
file.
1. Examine command output (if available) and debug logs for a more detailed message
on the system error.
2. Investigate the integrity of the file system and global device database,
/usr/openv/volmgr/database/globDB (UNIX) or Install_
path\Volmgr\database\globDB (Windows).
1. Examine the daemon debug log for a more detailed message on the system error.
2. Examine the permissions and available file system space for writing to the database,
/usr/openv/volmgr/database/globDB (UNIX) or
install_path\Volmgr\database\globDB (Windows).
1. Examine the daemon debug log for a more detailed message on the system error.
2. Ensure that no other process has a lock on the global device database file
/usr/openv/volmgr/database/globDB.
1. Check for the existence and permissions of the globDB file in the
/usr/openv/volmgr/database directory or
install_path\Volmgr\database folder.
2. Restore the globDB file from the catalog backups or from another location, change the
access permissions on the existing globDB, or (as a last resort) move/rename the
current globDB to start over with an empty global device configuration.
3. If the move/rename method is used, recreate all device configurations on all hosts.
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error.
a. From the daemon debug log file, determine the offset of the volume that has an
RSM GUID conflict with the volume entry being added or changed. The offset is
the index of the volume in the volume database.
b. Dump out all volume records in the volume configuration for the targeted
volume database host using the vmdb_dump command. Look up the volume
offset indicated in the debug log file, noting the associated RSM GUID, which is
the field volume_guid.
The condition may have occurred because the media name for a volume may
have been changed in the RSM media configuration, followed by a change to the
volume configuration in Media Manager that caused a new volume to be added.
Since RSM media names are equivalent to media IDs, if the existing media ID is
not deleted from the volume configuration, the conflict appears when the new
volume is added. Do not change media names in RSM if volume entries have
already been established for the media in the volume configuration.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Identify the targeted host and verify that all Media Manager binaries on that host are
at a compatible version level with other hosts that are part of the configuration.
Update the software version as needed.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Identify the targeted host and verify that all Media Manager binaries on that host are
at a compatible version level with other hosts that are part of the configuration.
Update the software version as needed.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Identify the targeted host and verify that all Media Manager binaries on that host are
at a compatible version level with other hosts that are part of the configuration.
Update the software version as needed.
1. Examine the system's application log, the Removable Storage system interface, and
the daemon and reqlib debug logs for a more detailed message on the error.
b. Retry the operation and examine the logs. From the daemon debug log file,
determine the media ID that has the invalid RSM GUID.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the physical move volume request for the robot type was not sent to a
robotic control daemon/process on a system running an older, incompatible version
of the software.
◆ This media had on-disk Backup Exec catalogs, and the catalog converter utility
(beconv.exe) has already been run on this media.
Recommended Action:
1. Examine command output (if available) and the daemon and reqlib debug logs for a
more detailed message on the error.
2. From the daemon debug log file, determine the offset of the volume that has an
ADAMM GUID conflict with the volume entry that is being added or changed. (The
offset is the index of the volume in the volume database.) Using the vmdb_dump
command, dump out all volume records in the volume configuration for the targeted
volume database host and look up the volume offset indicated in the debug log file.
Note the associated ADAMM GUID, which is the field adamm_guid.
Note Although a GUID can be changed or added by means of the vmchange and vmadd
commands, the GUID field is for internal use only. Do not add or change a GUID.
None. This is a normal occurrence indicating that there is no volume with a particular
ADAMM GUID in the targeted volume configuration. The requesting software may
query the volume configuration on other hosts for a volume with the specified ADAMM
GUID, or it may perform other media management related actions based on this status
code.
Note Although a GUID can be changed or added by means of the vmchange and vmadd
commands, the GUID field is for internal use only. Do not add or change a GUID.
Explanation: An attempt to open and link to a dynamic library failed. This may be caused
by a missing or unusable dynamic library for the EMC Symmetrix API. The error may be
generated at both the server and the client; the dynamic libraries are used by the ltid,
tldd, and bptm processes.
Recommended Action: Make sure that the EMC-supplied files
/usr/symapi/shlib/libsymapi.so and /usr/symapi/shlib/libsymlvm.so
exist on the system that reported the error. For new copies of these files, contact EMC.
1. Verify that you have specified the correct global database, volume database, pool
database, or rule database host. This is the -h option on the command line. If you did
not specify the database host, the command line defaults to the local host, while the
GUI will use the host you are currently administering.
2. Contact the administrator in charge of this configuration and verify that the host was
intentionally blocked from being a database host. If not, remove the
NOT_DATABASE_HOST flag in the host’s vm.conf file. To do so without having to
stop and restart the daemons, use:
vmquery -h <hoostname> -remove_not_db_host.
To add this entry to a host without having to stop and restart the daemons, use:
vmquery -h <hostname> -add_not_db_host.
1. Verify that you specified the correct host and that vmd is running on the host
specified.
2. Verify that the files exist and are intact. Files to verify are volDB, globDB, poolDB,
and ruleDB.
1. Decide which host you want to be the Media and Device management Domain host.
Put both the global device database and the volume database on this host.
2. Use the -noverify option for vmdb_merge if you are trying to move your volume
database from the current volume database host to the Media and Device
Management Domain Server.
Note This option is currently not supported and should be used with great caution.
1. See the Media Manager System Administrator's Guides for detailed information on
Media Manager security. Media Manager security is based on NetBackup
authentication/authorization, but has extensions for handling SERVER entries in the
Media Manager configuration file.
2. Examine the debug log files for a more detailed message on the
authentication/authorization problem. Examine the debug log files for occurrences of
Media Manager Status Code 126 (“not authorized to connect to vmd”) to determine
whether authorization is failing on vmd as well.
b. Check the methods_allow.txt files on the systems that are having problems to
ensure that authentication is enabled. The files are in the following locations:
Windows: install_path\NetBackup\var\auth
UNIX: /usr/openv/var/auth
c. On the systems that are having the authentication problem, remove the remote
host that is not being authenticated from the methods_allow.txt file.
For example, if Host A and Host B are having the problem, remove Host A from
the file on Host B, and vice versa.
Retry the operation.
- If the problem still exists, there are connection problems not related to
authentication.
- If connections are now successful, proceed to the next step.
e. Add back the names removed in step c and retry the operation.
1. If desired, give the user or process administrator privileges (on Windows) or root
privileges (on UNIX) and reissue the device configuration request.
4. During a global database merge or preview status code 1 could be returned under the
following conditions:
- Cannot communicate with one of the required servers.
ACTION: Ensure that the bp.conf file contains the correct SERVER entries.
Ensure that bprd and vmd are running on the SERVER.
2. The file is for a different version of NetBackup. You can find what version it is for by
reading the header in the file.
2. The file is for a different version of NetBackup. You can find what version it is for by
reading the header in the file.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
3. Examine the device configurations of other hosts sharing the same global device
database, looking for conflicts such as duplicate robot numbers with conflicting robot
types.
Explanation: A request was made to add a robot, but the robot type is not supported on
the device host.
Recommended Action: Check www.veritas.com and product release documentation
for supported device configurations.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Specify the correct SCSI port number for the robot. Perform device discovery using
the Device Configuration wizard, or check the Windows registry as needed to obtain
the SCSI port number.
Recommended Action: Specify the correct SCSI target for the robot. Perform device
discovery using the Device Configuration wizard, or check the Windows registry as
needed to obtain the SCSI target.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Check the tpconfig or tpautoconf usage statement for expected usage and
compare with the parameters being sent to start the new process.
3. Verify that all Media Manager binaries are at a compatible version level.
1. Examine the daemon debug log and command or interface output for a more detailed
message on the error.
2. Examine the permissions and available file system space for writing to the device
configuration database files (ltidevs and robotic_def), located in the directory
/usr/openv/volmgr/database (UNIX) or in the folder
install_path\Volmgr\database (Windows). Display the device configuration
to determine whether or not the database is corrupt, and restore a saved copy of the
databases from catalog backups, or delete them and recreate the device configuration
as needed.
1. Examine the daemon debug log and command or interface output for a more detailed
message on the error.
2. Examine the permissions and check for the existence of the device configuration
database files (ltidevs and robotic_def), located in the directory
/usr/openv/volmgr/database (UNIX) or the folder
install_path\Volmgr\database (Windows). Display the device configuration
to determine whether or not the database is corrupt. Restore a saved copy of the
databases from catalog backups, or delete them and recreate the device configuration
as needed.
1. Display the device configuration to obtain the list of valid drives. Avoid making
device configuration changes from multiple sources simultaneously.
2. If more information is needed, examine the daemon debug log and command or
interface output for a more detailed message on the error.
2. Ensure that all device configuration changes or deletions are performed on devices
that are currently part of the device configuration.
3. Check the integrity of the robotic database file robotic_def located in the directory
/usr/openv/volmgr/database (UNIX) or the folder
install_path\Volmgr\database (Windows), by displaying the contents of the
device configuration. Restore a saved copy of the robotic database from catalog
backups, or delete it and recreate any needed robotic configuration information.
2. Ensure that the operating system is configured to recognize the device and that the
operating system can see the device.
3. Ensure that no other process is using the device and that the device is not offline.
1. Configure all drives for this robotic library with the same drive type.
2. If you are using NetBackup BusinesServer and want a robotic library with multiple
media types, contact VERITAS to purchase NetBackup DataCenter.
1. Check the device configuration for configured robots, and specify the correct robot
type applicable for the device configuration information being updated.
2. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
3. Verify that all Media Manager binaries are at a compatible version level.
1. To avoid configuring invalid device paths and device names, use the Device
Configuration wizard (on supported device discovery platforms) so that device paths
and device names are automatically configured.
2. On Windows hosts, check the operating system configuration or registry for device
names and refer to the tpconfig command in NetBackup online help. On UNIX
hosts, refer to the appropriate chapter in the NetBackup Device Configuration Guide.
Always use no-rewind device files for drives attached to UNIX hosts, and check to
ensure that the specified device paths exist as character-special files. Check for
detailed errors from the command or user interface output.
Recommended Action: Check the device configuration on all device hosts for configured
robots, and specify a robot number that is not already in use. Use tpautoconf
-get_gdbhost to obtain the global device database host, and use the following
vmglob -h global_device_database_host -listall
to display all devices sharing a common global device database.
1. To avoid configuring device paths that are already in use, use the Device
Configuration wizard (on supported device discovery platforms) so that device paths
and device names are automatically configured.
delete one of the drives or make use of an unused drive address as a temporary state. For
example, if a robot has two drives with robot drive numbers 1 and 2 that need to be
swapped, change one drive to use robot drive number 3 temporarily, change the other
drive to use robot drive number 1 or 2 as appropriate, and finally change the first drive to
the open robot drive address 1 or 2.
1. To avoid configuring a drive index that is already in use, use the Device
Configuration wizard (on supported device discovery platforms) so that the drive
index is automatically configured.
2. If using a device configuration interface that allows the drive index to be specified,
use tpconfig -d to determine the drive indexes that are already in use on the
targeted device host, and specify a drive index that is not already in use.
2. Configure the device with local control using its local device path.
1. To avoid configuring paths that are already in use, use the Device Configuration
wizard (on supported device discovery platforms) so that the drive paths are
automatically configured.
2. Before making configuration changes, check the existing drive configuration through
a device configuration interface or run tpconfig -d to determine the drive paths
that are already in use on the targeted device host, and specify a drive path that is not
already in use.
1. Examine the daemon debug log and command or interface output for a more detailed
message on the system error, as follows.
2. Examine the permissions and check for the existence of the local device database files.
Display the device configuration to determine whether or not the database is corrupt,
and restore a saved copy of the databases from catalog backups, or delete them and
recreate the device configuration as needed.
2. Examine the daemon debug log and command or interface output for a more detailed
message on the system error, as follows.
b. Retry the operation and examine the logs. One of the following may have
occurred, as described in the following steps.
3. Lock file problems: The device discovery process sets a lockfile in the
/usr/openv/volmgr/misc (UNIX) or install_path\Volmgr\misc (Windows)
directory named tpac.lock to ensure that only one instance of discovery is running
on a particular host. It then checks the lockfile before updating the configuration.
- Cannot obtain lockfile.
The lockfile may be held by another discovery process. In this case the following
error is displayed:
"another tpautoconf is already running"
Use standard OS process tools (ps on UNIX or Task Manager on Windows) to
determine if another tpautoconf process is running. If not, delete the lockfile
and re-run device discovery. If another tpautoconf process is running, wait for
it to complete before retrying.
bison and mud and look for serial number 1234567 on robot 1 on bison and robot
2 on mud. If these serial numbers are the same, check with the robot vendor to see
if it is possible to modify the serial number. If the serial numbers are different,
delete the robot on one of the hosts and re-run device discovery there.
- Fatal Global Database consistency error: drive SSO mismatch MyDrive0 on hosts
bison and mud
The global device database has at least two entries for MyDrive0, one on bison,
and one on mud. One of these two entries states that the drive is shared.
Determine if MyDrive0 should be shared and look for entries that are conflicting.
Run tpconfig -d to determine which of these hosts is incorrect. Delete the
drive on the host that has the incorrect data and re-run device discovery on that
host. If neither of these hosts is incorrect according to the tpconfig -d output,
delete the drive on both hosts and re-run device discovery on both hosts.
- Fatal Global Database consistency error: serial number on drive MyDrive0 on
host bison, and on drive MyDrive1 on host mud.
The global device database has found duplicate drive serial numbers on
MyDrive0 on bison, and on MyDrive1 on mud. This is probably an invalid
configuration. First determine if these are unique drives, or if they are actually the
same drive connected to each host. If they are unique drives, run
tpconfig -tables on bison and mud and look for the serial number for
MyDrive0 and MyDrive1. If the serial numbers are the same, check with the drive
vendor to see if it is possible to modify the serial number. If the serial numbers are
different, delete the drive on one of the hosts and re-run device discovery there.
1. Use the Media and Device Management interface New Robot or Change Robot
display to browse for robots in the system registry, eliminating the need to manually
specify device paths or device control parameters.
2. Check the operating system registry for changer names and their associated SCSI
paths when manually specifying robotic control information. Check for detailed
errors from the command or user interface output. Ensure that the Removable Storage
service is running. Ensure that the device is present and working properly according
to the Removable Storage administration interface.
1. Examine the daemon debug log and command or interface output for a more detailed
message on the system error, as follows.
2. Examine the permissions and check for the existence of the global device database file.
Display the device configuration to determine whether or not the database is corrupt,
and restore a saved copy of the databases from catalog backups, or delete them and
recreate the device configuration as needed.
1. See the recommended actions for the following Media Manager status codes:
- 69, failed sending request to vmd
- 70, cannot connect to vmd
- 71, failed sending to vmd
- 72, failed receiving from vmd
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Check the tpformat usage statement and compare with the parameters being sent to
start the new process.
3. Verify that all Media Manager binaries are at a compatible version level.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify integrity of the device and the media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide. Examples of
problems that may have been encountered are:
a. Operating system error where exclusive access to the disk could not be set.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify integrity of the device and the media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide. Use the tpformat
-f option if the media has not already been sector formatted.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify the integrity of the device and media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide. Use the tpformat
-f option if the media has not already been sector formatted.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify the integrity of the device and media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify the integrity of the device and media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide. Use the tpformat
-f option if the media has not already been sector formatted.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Ensure that the device files and optical drive library address are correct, since this
error may occur if the device paths or drive address was incorrectly configured. Use
the tpformat -o (overwrite) option if you want to reformat the optical platter. If the
platter is WORM (write-once, read-many), it cannot be reformatted.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify the integrity of the device and media, and check the system device files for
correctness according to the NetBackup Device Configuration Guide. Investigate robotic
errors and determine whether mount requests are being canceled by the
administrator.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Check the device configuration to see if a robot of type TLM (Tape Library
Multimedia) or ODL (Optical Disk Library) is configured, matching the robot number
passed on the tpformat -r option.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Resubmit the request and observe the Device Monitor for standalone optical mount
requests, servicing them as needed. Look for pending requests indicating reasons for
the optical mount not being completed.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Resubmit the request and observe the Device Monitor for standalone optical mount
requests, servicing them as needed, and look for pending requests indicating reasons
for the optical mount not being satisfied.
Recommended Action: Check the tpreq man page (command description) for the list of
valid densities. Resubmit the mount request using a valid density.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use.
Explanation: An attempt was made to receive a message from ltid (the Media Manager
device daemon on UNIX and the NetBackup Device Manager service on Windows) on an
already existing internal message queue used for inter-process communication. But an
error was encountered in the message communications. The error probably indicates a
lack of system resources for message queues.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use. Investigate whether ltid is tied up in communications with
devices or other components.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use. Investigate whether the robotic daemon/process on the local
device host is tied up in communications with devices or other components.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use. Check the installed software components and verify that they are
all at a compatible release version.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use.
1. Enable debug logging by creating the necessary directories/folders. Increase the level
of verbosity by adding the VERBOSE option in the vm.conf file and restarting the
daemons/services, or execute the command's verbose option, if available.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather output from the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Check the application log files (such as the bptm log) to see why the drive may have
been configured DOWN.
2. When selecting the drive manually, check the device configuration and the valid
density table (available in the tpreq man page or command description), then
specify a drive that is compatible with the requested density.
Recommended Action: Check the installed software components and verify that they are
all at a compatible release version.
Explanation: A request to ltid could not be serviced. (ltid is the Media Manager
device daemon on UNIX or the NetBackup Device Manager service on Windows.) ltid is
probably not running. If ltid is still running, its process lock file may have been removed.
Also, message queues may not be functioning correctly on the system.
Recommended Action:
1. If ltid is not running, start ltid and try the operation again. On UNIX, run
/usr/openv/volmgr/bin/ltid, and on Windows, start the NetBackup Device
Manager service.
2. If ltid was already running, check for the existence and permissions of the lock file
itself and the lock file directory, which are /usr/openv/volmgr/misc/.ltipid
(UNIX) or Install_ path\Volmgr\misc\.ltipid (Windows). Terminate the ltid
process if it is running. Create the lock directory/folder and adjust the permissions as
needed so that ltid can obtain the above lock.
3. On UNIX, check the msgget man page and look for suggestions on troubleshooting
the system message queues.
1. Query the volume pool information for the requested volume pool on the host where
the mount request was issued by running vmpool -listall -b. Obtain the name
of the host from which the mount request originated by checking the system log. This
host name is the one returned by the system hostname(1) command.
2. Change the volume pool host name security with vmpool or another user interface
that supports volume pool host attributes, change the volume pool associated with
the volume (if it is not assigned), or log in to the host that is allowed to use media in
the targeted volume pool. Then, resubmit the mount request.
Recommended Action: Request read-only access to the media on the mount request if a
read-only operation is needed. Replace the media or change the expiration date to a future
date, based on site policy. A media management interface can be used to view and change
the expiration date for the media. Check and correct the system date/time, as needed.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error. Enable debug logging by creating the necessary
directories/folders. Increase the level of verbosity by adding the VERBOSE option in
the vm.conf file and restarting ltid (the device daemon on UNIX or NetBackup
Device Manager service on Windows).
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use. Check the installed software components and verify that they are
all at a compatible release version.
Explanation: A mount request has been canceled because the media being requested has
reached the maximum mount count associated with the media.
Recommended Action: Replace the media or change the maximum mount count to a
higher value, based on site policy. A media management interface can be used to view and
change the maximum mounts allowed for the media. Check that the number of mounts
for the media is set to a reasonable value given the media's usage history, and correct it as
needed using vmchange.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error. Enable debug logging by creating the necessary
directories/folders. Increase the level of verbosity by adding the VERBOSE option in
the vm.conf file and restarting ltid (the device daemon on UNIX or NetBackup Device
Manager service on Windows).
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use. Check the installed software components and verify that they are
all at a compatible release version.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
Explanation: A mount request has been canceled because of the following: the request
was targeted to a drive configured as attached to an NDMP client, but the request was
manually assigned to a drive other than the requested drive, and the assigned drive is
either not NDMP or it is an NDMP drive configured to a different client.
Recommended Action: Display the device configuration to determine which drives are
configured as being attached to specific NDMP clients. Ensure that ltid was stopped and
restarted after the last configuration changes were made. Reissue the request and assign it
to a drive attached to the requested NDMP client.
1. To avoid configuring invalid device paths and device names, use the Device
Configuration wizard (on supported device discovery platforms) so that device paths
and device names can be automatically configured for tape drives.
2. Refer to the appropriate chapter in the NetBackup Device Configuration Guide. Always
use no-rewind tape device files, recommended character device files for optical
devices, or recognized drive name syntax (such as for NDMP) for tape drives. Make
sure that the specified device paths exist as character-special files. Check for detailed
errors from the command or user interface output.
1. If a cleaning operation was requested, check the tpclean usage statement and
compare with the parameters that were specified.
2. Check the installed software components and verify that they are all at a compatible
release version.
1. Ensure that ltid (the Media Manager device daemon on UNIX or the NetBackup
Device Manager service on Windows) was stopped and restarted after changes were
last made to the device configuration. Display the device configuration (using
tpconfig -d or other means) to see the list of valid drives. Specify the drive name
or index as appropriate for the interface being used.
2. Check integrity of the drive database file ltidevs, located in the directory
/usr/openv/volmgr/database (UNIX) or in the folder
install_path\Volmgr\database (Windows). Display the device configuration
to determine whether or not the database is corrupt, and restore a saved copy of the
database file from catalog backups, or delete it and recreate the device configuration
as needed.
Recommended Action: Change the physical media write-protect setting to allow write
access (unlocked), or resubmit the request with read-only access. To request read-only
access using tpreq, specify an access mode argument of r for read or use the default
(read) access mode.
1. Determine which host is serving as the drive's scan host. Do this by sending a
vmdareq command to the volume database host for the drives's residence (robot or
set of standalone drives on a host).
2. Ensure that vmd (the Media Manager volume daemon on UNIX or NetBackup
Volume Manager service on Windows) is running on the scan host. On the scan host,
examine debug logs and system logs for messages related to the error.
3. Enable debug logging by creating the necessary directories/folders. Increase the level
of verbosity by adding the VERBOSE option in the vm.conf file and restarting ltid (the
device daemon on UNIX or NetBackup Device Manager service on Windows). The
detailed reason for the canceled request should be available in the daemon debug logs
on the scan host. Correct the problem and resubmit the request if needed.
host is handling for drive sharing. Identify the DA (drive allocation) host as the
volume database for the residence in which the drives are configured. Identify the
current scan host for the drive by sending a vmdareq call to the DA host.
2. Examine command output (if available), debug logs, and system logs for messages
related to the error. Enable debug logging by creating the necessary
directories/folders. Increase the level of verbosity by adding the VERBOSE option in
the vm.conf file and restarting ltid (the device daemon on UNIX or NetBackup
Device Manager service on Windows). Configure scan ability priorities for assigning
scan hosts by changing the Media Manager configuration, so that less network
connections need to be maintained, and greater system load is placed on hosts more
capable of servicing the load.
drives in ACS, LMF, RSM, and TLH robots is managed by vendor or operating system
administrative interfaces for these types of robotic libraries. Drives in optical disk libraries
cannot be cleaned using cleaning media.
1. Ensure that cleaning media has been added to the robotic library for each drive type
capable of being cleaned with a separate cleaning cartridge.
2. Ensure there is a positive number of cleanings available for the cleaning media in the
appropriate volume database for the robotic library. Replace the cleaning tape or
increase the number of cleanings for the cleaning media before the count reaches zero.
3. Check the availability of vmd (the Media Manager volume daemon on UNIX or
NetBackup Volume Manager service on Windows) on the volume database host
where the cleaning media is defined, by sending a request to it or using a media
management interface.
4. Examine command output (if available), debug logs, and system logs for messages
related to the error. Enable debug logging by creating the necessary
directories/folders. Increase the level of verbosity by adding the VERBOSE option in
the vm.conf file and restarting the device daemon (ltid) on UNIX, or the NetBackup
Device Manager service on Windows.
Recommended Action: Use a media management interface to obtain the volume pool
name of the media that is to be mounted, and resubmit the mount request, specifying the
correct pool name.
1. Stop any robot test utilities that may be running, since they have the lock on the
robotic device when they are active.
3. Check the health of the robotic device by using a robot test utility, then close the test
utility when finished.
4. Check for the existence and permissions of the lock file itself and the lock file
directory, which is /usr/openv/volmgr/misc/vmd.lock (UNIX) or
install_path\Volmgr\misc\vmd.lock (Windows). Create the directory/folder
and adjust the permissions as needed so that the robotic daemon/process can use the
lock file. Stop and restart ltid (the device daemon on UNIX or the NetBackup Device
Manager service on Windows).
2. Check the health of the robotic device by using a robot test utility, then close the test
utility when finished.
3. Check for the existence and permissions of the temporary robotic database and the
temporary database directory/folder, which is
/usr/openv/volmgr/misc/robotic_db (UNIX) or
install_path\Volmgr\misc\robotic_db (Windows). Create the
directory/folder and adjust the permissions as needed so that the robotic
daemon/process can create it or use it. Stop and restart ltid (the device daemon on
UNIX or the NetBackup Device Manager service on Windows).
1. Stop any robot test utilities that may be running, since they have the lock on the
robotic device when they are active, and can block other requests.
2. Check whether excessive hardware retries have delayed the completion of a robotic
command.
3. Check to see whether the robotic device is still functioning. Use a robot test utility to
send commands to the device to see whether it is responsive. Verify that there are no
unexpected Media Manager processes running by executing vmps. Some processes
are expected to remain running, but some processes that do not go away could
indicate a more serious problem, such as a hung system call.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
Recommended Action:
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify that all Media Manager binaries and user interfaces are at a compatible version
level.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Check for improperly configured cleaning media or interference with the drive
cleaning operation. Check for bad media which may have led to the drive not
becoming ready after media was placed within it.
3. To avoid configuring incorrect device paths and device names, which is a common
root cause of drive open problems, use the Device Configuration wizard (on
supported device discovery platforms) so that device paths and device names can be
automatically configured. Resolve the situation by referring to troubleshooting
methods or investigating the system log messages related to the specific error leading
to the open failure.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Check for improperly configured cleaning media or interference with the drive
cleaning operation. Check for bad media which may have led to the drive not being
able to be unloaded. To avoid configuring incorrect device paths and device names,
which is a common root cause of drive unload problems, use the Device
Configuration wizard (on supported device discovery platforms) so that device paths
and device names can be automatically configured. Resolve the situation by referring
to troubleshooting methods or investigating the system log messages related to the
specific error leading to the unload failure.
1. Examine system and debug logs for a more detailed message error.
b. Retry the operation and examine the logs. Ensure that the robotic process is
allowed to fully complete.
2. Check vendor or operating system administrative interfaces and logs to see if robotic
commands are being canceled.
1. Stop any robot test utilities that may be running, since they have the lock on the
robotic device when they are active, and can block other requests.
4. Use a robot test utility to send commands to the device to see whether it is responsive.
Verify that there are no unexpected Media Manager processes running by executing
vmps. Some processes are expected to remain running, but some processes that do not
go away could indicate a more serious problem, such as a hung system call.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Attempt to obtain the list of drives using a method that involves a robotic library
query, such as that available from the robot test utility. Compare the list of drives
returned against the device configuration. Ensure that ltid (the Media Manager
device daemon on UNIX or the NetBackup Device Manager service on Windows) was
stopped and restarted after changes were last made to the device configuration.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Ensure that ltid (the Media Manager device daemon on UNIX or the NetBackup
Device Manager service on Windows) was stopped and restarted after changes were
last made to the device configuration. When issuing commands to robotic libraries,
specify only robotic libraries that are actively part of the device configuration.
1. If the media is needed immediately, examine command output (if available), debug
logs, and system logs for messages relating to the targeted media.
2. Check for conflicts between multiple applications using media in the robotic library.
Check integrity of the drive and drive paths, so that media is not routinely left in
other drives.
Explanation: A robotic inject media operation returned a status indicating that an inject
failure occurred.
Recommended Action:
1. Check to see whether the robotic library has a media access port. Use the robot test
utility to validate this. Investigate whether the administrator or operator has canceled
the inject operation. Ensure that inject for LMF robot types is done only on the LMF
server.
2. Examine command output (if available), debug logs, and system logs for messages
related to the error.
1. Check to see whether the robotic library has a media access port. Use the robot test
utility to validate this. Investigate whether the administrator or operator has canceled
the eject operation. Ensure that eject for LMF robot types is done only on the LMF
server. When ejecting RSM media, ensure that the device is available, and that media
is available in the NetBackup media pool.
2. Examine command output (if available), debug logs, and system logs for messages
related to the error.
1. Enable debug logging by creating the necessary directories/folders. Increase the level
of verbosity by adding the VERBOSE option in the vm.conf file and restarting ltid
(the device daemon on UNIX or NetBackup Device Manager service on Windows).
Retry the operation and examine the logs.
1. Enable debug logging by creating the necessary directories/folders. Increase the level
of verbosity by adding the VERBOSE option in the vm.conf file and restarting ltid
(the device daemon on UNIX or NetBackup Device Manager service on Windows).
Retry the operation and examine the logs.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Investigate the state of the physical hardware and correct the holder status for
storage, drive, and transport elements as needed. Then, resubmit the request.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
3. Verify that robotic interfaces to vendor and operating system software have
compatible versions.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
3. Verify that all Media Manager binaries are at a compatible version level. Verify that
robotic interfaces to vendor and operating system hardware and software have
compatible versions.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Issue a robot inventory Contents report to determine the valid slot range for the robot.
Check the volume configuration to ensure that only valid slots are referenced in
volume records, paying particular attention to the starting and ending slot numbers.
Update the volume configuration as needed, or request only valid slot ranges for
robotic operations.
1. Examine command output (if available), debug logs, and system logs for a more
detailed message on the error.
2. Verify that all Media Manager binaries and user interfaces are at a compatible version
level.
1. Check for other error messages in the command or interface output to indicate which
system call failed. Enable debug logging, retry the operation, and check the debug log
files for more specific error messages.
2. Check the system application log for error and warning messages.
3. Verify that the system is not running out of virtual memory. If virtual memory is the
problem, shut down unused applications or increase the amount of virtual memory.
To increase virtual memory on Windows: display the Control Panel, double-click
System, and on the Performance tab, set Virtual Memory to a higher value.
5. Verify that there are no unexpected Media Manager processes running by executing
vmps. Some processes are expected to remain running, but some processes that do not
go away could indicate a more serious problem, such as a hung system call.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. Issue a robot inventory Contents report to obtain the list of media in the robotic
library. Check to see whether inventory filters have been enabled in the Media
Manager configuration file, since they affect the contents of the media list returned
from the robotic daemon/process. Use a robot test utility or an operating
system/vendor administrative interface to verify the status of media, as needed.
Update the volume configuration and search for the media if it was not in the robotic
library, as needed, and resubmit the request.
Explanation: The volume targeted for a mount request was in a robotic library domain
that is in the offline or offline pending state.
Recommended Action: Bring the robotic library domain (ACS Library Storage Module)
back online, or postpone use of media in that domain until the domain can be brought
back online.
Explanation: A robotic daemon/process could not create or open a status file in the
database directory/folder.
Recommended Action: Investigate why the robot status file in the directory
/usr/openv/volmgr/database (UNIX) or folder
install_path\Volmgr\database (Windows) cannot be created or opened. On
Windows, check which account the NetBackup Device Manager service (and thus the
robotic process) is running under and compare it against the security properties of the
database folder.
1. Install the Shared Storage Option (SSO) license for mount requests to requeue when
physical drive resources are not available.
2. Since there is a fixed limit for the number of drives that can be in use at any one time,
optionally configure backup windows so the different storage units tied to the same
physical drives are active only at non-overlapping times. Also, raise (or set to infinite)
the media mount timeout to avoid job failures when the job cannot get a physical
drive due to the drives all being busy.
Recommended Action: Wait until the robot is done performing the inject opoeration
before starting new requests. check the vendor or operating system administrative
interfaces and logs to see if robotic resources are busy.
Recommended Action: Log on as the root user before starting robotic daemons. Allow
robotic daemons to be started automatically as needed by ltid (the device daemon).
1. Start ltid so that shared memory can be initialized, allowing the robotic
daemon/process to function.
2. If problems persist, examine command output (if available), debug logs, and system
logs for messages related to the error.
3. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Examine command output (if available), debug logs, and system logs for messages
related to the error.
2. On UNIX servers, gather the output of the ipcs -a command to see what resources
are currently in use.
1. Restart the device daemon at a later time and investigate system problems that limit
the number of processes.
2. Examine the system logs for a more detailed message on the error. Increase the level
of verbosity by adding the VERBOSE option in the vm.conf file. Restart the device
daemon, then retry the operation and examine the system log file.
Recommended Action:
a. Increase the level of verbosity by adding the VERBOSE option in the vm.conf
file. Restart the ltid device daemon (UNIX) or NetBackup Device Manager
service.
2. Verify that all Media Manager binaries are at a compatible version level.
2. Obtain an additional software license that allows robots of the associated robot type
to be configured, or limit the configuration to robot types allowed by the current
licensing. Check for the existence and permissions of the external_robotics.txt
file in the /usr/openv/share directory (UNIX) or in the
install_path\NetBackup\share folder (Windows).
Messages
This section lists Media Manager messages alphabetically. The status code type and
number are included in parentheses after the message. Refer to the appropriate section in
this chapter (such as “Media Manager Status Codes,” “Device Configuration Status
Codes,” and so forth) for the status code with explanation and recommended action.
<NONE>
(Device Configuration Status Code 36)
Cannot recover aborted eject with this type of media access port
(Robotic Status Code 248)
daemon terminated
(Media Manager Status Code 7)
Drive being assigned is either not NDMP or on the wrong NDMP client
(Device Management Status Code 37)
Error in MsgGet
(Device Management Status Code 28)
invalid barcode
(Media Manager Status Code 10)
invalid description
(Media Manager Status Code 11)
invalid media ID
(Media Manager Status Code 8)
Invalid Operator
(Device Management Status Code 12)
Invalid Usage
(Device Configuration Status Code 11)
invalid volgroup
(Media Manager Status Code 15)
no entries changed
(Media Manager Status Code 47)
no entries deleted
(Media Manager Status Code 48)
no entries inserted
(Media Manager Status Code 49)
No memory available
(Robot Error Status Code 8)
<NONE>
(Device Configuration Status Code 36)
Parameter is invalid
(Device Management Status Code 39)
protocol error
(Media Manager Status Code 20)
request can only be performed on the Media and Device Management Domain Server
(Media Manager Status Code 177)
request completed
(Media Manager Status Code 1)
Request terminated because media is unavailable (in DOWN drive, misplaced, write
protected or unmountable
(Device Management Status Code 35)
STATUS_SUCCESS
(Robotic Status Code 200)
Success
(Device Configuration Status Code 0)
Success
(Format Optical Status Code 0)
system error
(Media Manager Status Code 2)
tpformat: Skip
(Format Optical Status Code 12)
Volume is in use
(Robotic Status Code 237)
467
Master Server Disk Recovery for UNIX
Tape Drive
Master Server
Shark
1. Verify that the operating system is working. If it isn’t, take the appropriate corrective
actions.
5. Recover the NetBackup catalogs by using the bprecover command on the master
server.
Choose one of the procedures under “Recovering the NetBackup Catalogs for UNIX”
on page 473.
6. Start the NetBackup client-user interface and restore other files to the server as
desired.
1. Load OS
Tape Drive
Disk to
2. Install NetBackup recover
3. Recover NetBackup
catalogs:
/usr/openv/netbackup/db
/usr/openv/volmgr/database Tape with catalog
/usr/openv/var backups (media ID
4. Restore root partition
JBL29)
5. Restore /usr/openv/netbackup
6. Restore /usr/openv/volmgr
7. Restore all other files
Tape with other
backups
8. Copy NetBackup catalogs from the
9. Delete NetBackup or unhook alternate disk:
alternate disk from the system if /usr/openv/netbackup/db
it is a spare /usr/openv/volmgr/database
/usr/openv/var
1. Load the operating system on the alternate boot disk, using the same procedure as
you normally would for the server.
2. Create, on the alternate disk, the partition and directory where NetBackup and its
catalogs resided on the original disk. By default, they reside under /usr.
3. Install NetBackup on the alternate disk. See the NetBackup Installation Guide for UNIX
for instructions on installing NetBackup software.
Install only the robotic software for the devices that are required to read backups of
the NetBackup catalogs and the regular backups of the disk being restored. If a
nonrobotic drive can read these backups, then you do not need a robot. The example
in the illustration requires only a nonrobotic tape drive.
4. Recover the NetBackup catalogs to the alternate disk by using the bprecover
command on the master server.
The NetBackup catalogs can be recovered only to the same location from which they
were backed up (alternate path recovery is not allowed).
Choose one of the procedures under “Recovering the NetBackup Catalogs for
Windows” on page 494.
6. Start the NetBackup client user interface and restore the latest backed up version of all
files to the disk you are recovering.
It is not necessary to restore the NetBackup catalogs because you will be doing this in
step 7. But you must restore all other NetBackup files.
7. Copy the NetBackup catalogs from the alternate disk to the disk that you are
recovering. These are the catalogs recovered in step 4.
8. Stop all NetBackup processes that you started from NetBackup on the alternate disk.
9. Start and test the copy of NetBackup on the disk that you have recovered.
Try the NetBackup Administration utilities. Also, try some backups and restores.
10. When you are satisfied that the recovery is complete, delete the NetBackup files from
the alternate disk. Or, unhook that disk, if it is a spare.
The procedure for recovering a media server where the system disk has failed is the same
as for a master server, except that you use the following paths when running bprecover:
media_server_name:/usr/openv/netbackup/db/media
media_server_name:/usr/openv/volmgr/database
media_server_name:/usr/openv/var
In the above paths, substitute the host name of the media server for media_server_name
(for example, elk). For install_path, substitute the directory where NetBackup is
installed.
You can execute bprecover from either the master or media server by specifying the
correct destination host with the bprecover -dhost option.
1. Reload the operating system the way you normally would for a client workstation of
that type.
Note If the root file system is lost, the best approach may be to reload the operating
system on an alternate boot disk and boot from this disk. After you restore
NetBackup, you can restore root to its original partition. This lets you recover the
root partition without risking a crash due to overwriting files being used by the
operating system during the restore. The procedure is similar to that for the master
server, except you do not have to install Media Manager or recover the NetBackup
catalogs. (See “Recovering Master Server When Root is Lost” on page 469).
Note The following discussions assume that NetBackup has been reinstalled, if required.
(See “Master Server Disk Recovery for UNIX” on page 468.)
As mentioned in the NetBackup System Administrator’s Guide for UNIX the best way to track
media IDs for catalog backups is to configure email notifications with the E-mail Address
global attribute. This attribute causes NetBackup to specify the status and media ID in an
email to the administrator each time a catalog backup occurs. You can then check the
email to determine the last media ID used.
If you know the media IDs that were used but are not sure which of them has the most
recent backup, use the -l option of bprecover to list the backups on each media ID. This
information includes the date and time that the media was written.
Note If the /dev file for the device you will use for listing the catalog information is lost
in the failure, you must create the special device file path for that device before
using bprecover. See the Media Manager Device Configuration Guide for information
on creating this path.
In this case, insert the media in an appropriate drive (assume the raw-device path is
/dev/rmt/hc2d4). Then, execute the following command on the NetBackup server that
has the drive.
bprecover -l -tpath /dev/rmt/hc2d4
Database Backup Information from /dev/rmt/hc2d4
Created: 03/30/93 11:31:34
Server: bphost
Block size: 32768
Path
----
IMAGE1 /usr/openv/netbackup/db
IMAGE2 /usr/openv/volmgr/database
IMAGE3 /usr/openv/var
Server: nbmedia
Block Size: 32768
Path
----
IMAGE1 nbmaster:/usr/openv/netbackup/db
IMAGE2 nbmaster:/usr/openv/volmgr/database
IMAGE3 nbmaster:/usr/openv/var
IMAGE4 nbmedia:C:\VERITAS\NetBackup\db\media
IMAGE5 nbmedia:C:\VERITAS\NetBackup\var
IMAGE6 nbmedia:C:\VERITAS\Volmgr\database
Note The Media Manager device catalogs are binary files and you cannot restore them to
a different type of platform.
Before Starting
◆ Reinstall the NetBackup software (if necessary) as explained in “Master Server Disk
Recovery for UNIX” on page 468 or “Media Server Disk Recovery for Windows” on
page 490.
◆ If you had created symbolic links to the catalog locations, be sure to manually recreate
those links before starting the recovery.
◆ Find the tape that has the latest catalog backups.
◆ Ensure that the disk where you are restoring the catalogs contains the directory where
the catalogs resided.
This is required because the bprecover command always restores the NetBackup
catalogs to the path from which they were backed up (alternate-path restores are not
allowed).
Note If the /dev file was lost for the device you are using to recover the catalogs, create
the special device file path for that device before using bprecover. See the Media
Manager Device Configuration Guide for information on creating this path.
▼ To recover the NetBackup catalog when the Media Manager catalog is lost
8 mm tape drive
(/dev/rmt/1cbn)
Master Server
Shark
/usr/openv/netbackup/db
/usr/openv/volmgr/database
/usr/openv/var
2. Stop the NetBackup request daemon (bprd) and NetBackup database manager
daemon (bpdbm).
- Stop bprd by using the Terminate Request Daemon command on the bpadm
Special Actions menu.
- Stop bpdbm by executing:
/usr/openv/netbackup/bin/bpdbm -terminate
3. Stop the Media Manager device daemon (ltid) and Media Manager volume daemon
(vmd).
- Stop ltid with the following command:
/usr/openv/volmgr/bin/stopltid
- Stop vmd by executing /usr/openv/volmgr/bin/vmctrldbm -t
4. On the NetBackup server where the drive attaches, execute the bprecover command
to recover the required files and directories. Specify the raw-device path for the drive
where you inserted the media in step 1.
Example 1
The following command interactively restores images to disk 1 by using raw device
path /dev/rmt/1cbn:
bprecover -r -tpath /dev/rmt/1cbn
Recover shark:/usr/openv/netbackup/db y/n (n)? y
Recovering shark:/usr/openv/netbackup/db
Recover shark:/usr/openv/volmgr/database y/n (n)? y
Recovering shark:/usr/openv/volmgr/database
Recover shark:/usr/openv/var y/n (n)? y
Recovering shark:/usr/openv/var
Example 2
If the catalogs were backed up from another disk, bprecover restores them to that
disk:
bprecover -r -tpath /dev/rmt/1cbn
Recover shark:/sfs2/netbackup/db y/n (n)? y
Recovering shark:/sfs2/netbackup/db
Recover shark:/sfs2/volmgr/database y/n (n)? y
Recovering shark:/sfs2/volmgr/database
Recover shark:/sfs2/var y/n (n)? y
Recovering shark:/sfs2/var
The figure below shows links from the NetBackup catalog directories on disk 1 to the
actual catalog location on disk 2. You must manually recreate these links if they are
lost.
8 mm tape drive
(/dev/rmt/1cbn)
Master Server
Shark
Example 3
If you have media servers, bprecover includes their catalog paths in the prompts
and you select the catalogs you want to recover.
The following example recovers only the catalogs for a UNIX media server named eel.
Here, you execute bprecover on the UNIX master server shark and use the -dhost
option to specify eel as the destination host:
bprecover -r -tpath /dev/rmt/1cbn -dhost eel
Recover shark:/usr/openv/netbackup/db y/n (n)? n
Recover shark:/usr/openv/volmgr/database y/n (n)? n
Recover eel:/usr/openv/netbackup/db/media y/n (n)? y
Recovering eel:/usr/openv/netbackup/db/media
Recover eel:/usr/openv/volmgr/database y/n (n)? y
Recovering eel:/usr/openv/volmgr/database
Recover eel:/usr/openv/var y/n (n)? y
Recovering eel:/usr/openv/var
You can also use the -dhost option to restore from a media server to the master (for
example, if the master does not have a drive).
8 mm tape drive
(/dev/rmt/1cbn)
Media Server Master Server
eel shark
/usr/openv/netbackup/db/media /usr/openv/netbackup/db
/usr/openv/volmgr/database /usr/openv/volmgr/database
/usr/openv/var /usr/openv/var
5. After recovering catalogs for the master and all media servers, start the following:
- bprd (NetBackup request daemon)
- bpdbm (NetBackup database manager daemon)
- ltid (Media Manager device daemon)
- vmd (Media Manager volume daemon)
Use the following commands:
/usr/openv/netbackup/bin/initbprd
/usr/openv/volmgr/bin/ltid
(Note that initbprd starts bpdbm and ltid starts vmd.)
▼ To recover the NetBackup catalog with the Media Manager catalog intact
1. Stop the NetBackup request daemon (bprd) and NetBackup database manager
daemon (bpdbm):
- Stop bprd by using the Terminate Request Daemon command on the bpadm
Special Actions menu.
- Stop bpdbm by executing:
/usr/openv/netbackup/bin/bpdbm -terminate
2. Insert the tape with the catalog backup into an appropriate drive.
If the tape is not in the drive, the Device Monitor shows a mount request when you
start the recovery.
3. On the NetBackup server where the drive attaches, execute the bprecover
command.
Example 1
Assume the drive is attached to the NetBackup server you are recovering and the
backup is on an 8 mm tape that has media ID JBL29. To recover the NetBackup part of
the catalogs from image 1 on the tape:
bprecover -r 1 -ev JBL29 -d 8mm
Recovering shark:/usr/openv/netbackup/db
Example 2
If the drive attaches to another NetBackup server, execute bprecover on the server
where the drive attaches and specify the destination server with the -dhost option.
bprecover -r 1 -ev JBL29 -d 8mm -dhost shark
Recovering shark:/usr/openv/netbackup/db
4. Start the NetBackup request daemon (bprd) and NetBackup database manager
daemon (bpdbm) by executing.
/usr/openv/netbackup/bin/initbprd
(Note that bprd starts bpdbm)
5. Stop and restart both the device and volume daemons so they can read the recovered
configuration.
Note If this disk has failed, you must resort to backups of this disk that have gone to
another server. If you have not backed up the NetBackup catalogs to another server,
you must use the NetBackup Import Images feature to import the image
information into the catalogs. See the NetBackup System Administrator’s Guide for
UNIX for instructions.
1. Stop the NetBackup request daemon (bprd) and NetBackup database manager
daemon (bpdbm):
- Stop bprd by using the Terminate Request Daemon command on the bpadm
Special Actions menu.
- Stop bpdbm by executing:
/usr/openv/netbackup/bin/bpdbm -terminate
2. Stop the Media Manager device daemon (ltid) and Media Manager volume daemon
(vmd).
- Stop ltid by executing:
/usr/openv/volmgr/bin/stopltid
/nb/dbbackup
Disk 1 IMAGE 1
/usr/openv/netbackup/db
IMAGE 2
/usr/openv/netbackup/db
/usr/openv/volmgr/database
/usr/openv/volmgr/database
/usr/openv/var IMAGE 3
/usr/openv/var
Before Starting
Verify that you have:
◆ NetBackup server software for Windows
◆ The latest NetBackup catalog backup on tape or disk
6. Start the NetBackup Client service and stop all other NetBackup services.
Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel.
8. When catalog recovery is complete, start the NetBackup services that are not already
running.
Use the Activity Monitor, or the Services application in the Windows Control Panel.
c. Browse for restores and select the partitions that were lost.
10. When all partitions are restored, check the debug logs in the directories created in
step 5. If there are any ERR or WRN messages, resolve the problems before
proceeding.
Total Recovery
The following procedure explains how to perform a total recovery of a NetBackup master
server and assumes that Windows must be reinstalled. The figure illustrates the
procedure.
Assumptions
◆ The NetBackup master server was running Windows NT or Workstation 4.0 or above,
Windows 2000, XP, or .NET.
◆ The latest NetBackup catalog backup is available on tape or disk.
◆ The regular backups included the system directory (typically, C:\Winnt). This is the
directory where the Windows operating system and therefore the registry reside.
If the regular backups excluded any files that resided in the system directory, it is
possible that you will not be able to restore the system so it completely matches its
previous configuration.
◆ Defective hardware has been replaced.
Before Starting
Verify that you have:
◆ Windows software to reinstall on the NetBackup server that is being restored.
Reinstall the same type and version of software that was previously used. For
example, do not install Windows NT Server 4.0 software if, before the failure, the
system was a Windows NT 4.0 workstation.
◆ NetBackup server software for Windows.
◆ Special Drivers or other software required to get the hardware operational (for
example, a special driver for the disk drive).
◆ IP address and host name of the NetBackup master server.
◆ Partitioning and formatting scheme that was used on the system you are restoring.
You must duplicate that scheme during Windows installation.
◆ Latest NetBackup catalog backup on tape or disk.
2. Install SCSI or other drivers needed to communicate with the tape drives on the
system.
7. Start the NetBackup Client service and stop all other NetBackup services.
Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel.
9. When catalog recovery is complete, start the NetBackup services that are not already
running.
Use the Activity Monitor, or the Services application in the Windows Control Panel.
11. Check the debug logs in the directories created in step 6. If there are any ERR or WRN
messages, resolve the problems before proceeding.
The procedure for recovering a media server where the system disk has failed is the same
as for a master server, except that you use the following paths when running bprecover:
If the media server is a Windows system:
media_server_name:install_path\NetBackup\db\media
media_server_name:install_path\NetBackup\var
media_server_name:install_path\Volmgr\database
In the above paths, substitute the host name of the media server for
media_server_name (for example, elk). For install_path, substitute the directory
where NetBackup is installed.
You can execute bprecover from either the master or media server by specifying the
correct destination host with the bprecover -dhost option.
Note For Windows NT/2000/XP or .NET systems: if you have installed and configured
NetBackup Intelligent Disaster Recovery, refer to the NetBackup System
Administration Guide instead of the instructions below.
This procedure assumes that the Windows operating system and NetBackup must be
reinstalled in order to boot the system and perform a restore.
Assumptions
◆ The NetBackup client was running one of the following:
- Windows NT Server or Workstation 4.0 or above, Windows 2000, XP, or .NET.
- Windows 98 or 95 software
◆ The NetBackup client was backed up with version 3.0 or later NetBackup client and
server software.
◆ The NetBackup master server to which the client sent its backups is operational. This
is the server from which you will be requesting the restore.
◆ The backups included the directory where the operating system and therefore the
registry resided (for example, typically C:\winnt40 on Windows NT and
C:\Windows on Windows 98 or 95).
If the backups excluded any files that resided in the above directory, it is possible that
you will not be able to restore the system so it completely matches its previous
configuration.
◆ Defective hardware has been replaced.
Before Starting
Verify that you have the following:
◆ Windows system software to reinstall on the NetBackup client that is being restored:
- Reinstall the same type and version of software that was previously used. For
example, do not install Windows NT Server 4.0 software if, before the failure, the
system was a Windows NT 4.0 workstation.
- For a Windows NT/2000/XP/.NET client, this software must be Windows NT
Server or Workstation 4.0 or above, Windows 2000, XP, or .NET.
◆ NetBackup 3.0 or later client software to install on the client that is being restored.
◆ Special drivers or other software required to get the hardware operational (for
example, a special driver for the disk drive).
◆ IP address and host name of the NetBackup client.
◆ IP address and host name of the NetBackup master server.
◆ Partitioning and formatting scheme that was used on the system that you are
restoring. You must duplicate that scheme during Windows installation.
6. Enable debug logging by creating the following debug log directories on the client:
On a Windows NT/2000/XP/.NET client:
install_path\NetBackup\Logs\tar
install_path\NetBackup\Logs\bpinetd
On a Windows 98 or 95 client:
install_path\NetBackup\Logs\bpcd
NetBackup creates logs in these directories.
7. For a Windows NT/2000/XP/.NET client, stop and restart the NetBackup Client
service.
This enables NetBackup to start logging to the bpinetd debug log.
8. For a Windows 98 or 95 client, stop and restart the NetBackup Client Daemon.
This enables NetBackup to start logging to the bpcd debug log.
9. Use the NetBackup client user interface to restore the system and user files to the
client system.
For example, if all files are on the C: drive, restoring that drive restores the entire
system.
To restore files, you do not have to be the administrator, but you must have restore
privileges. For example, on Windows NT/2000/XP/.NET, you must be a member of
the Restore group, which is one of the built-in Windows NT/2000/XP/.NET groups.
Refer to the online help or NetBackup User's Guide for Microsoft Windows for
instructions on how to restore files.
Note NetBackup restores the registry when it restores the Windows system files. For
example on a Windows NT/2000/XP/.NET client, if the system files are in the
C:\Winnt40 directory, NetBackup restores the registry when it restores that
directory and all its subordinate subdirectories and files.
10. Check for ERR or WRN messages in the log files that are in the directories you created
in step 6.
- For a Windows NT/2000/XP/.NET client, these are the tar and inetd log files.
- For a Windows 98 or 95 client, this is the bpcd log file.
If the logs indicate problems with the restore of Windows system files, resolve those
problems before proceeding.
Note The following discussions assume that NetBackup has been reinstalled, if required
(see “Master Server Disk Recovery for Windows” on page 484).
As mentioned in the NetBackup System Administrator’s Guide forWindows, the best way to
track media IDs for catalog backups is to configure email notifications with the E-mail
Address global attribute. This attribute causes NetBackup to specify the status and media
ID in an email to the administrator each time a catalog backup occurs. You can then check
the email to determine the last media ID used.
If you know the media IDs that were used but are not sure which of them has the most
recent backup, use the -l option of bprecover to list the backups on each media ID. This
information includes the date and time that the media was written.
Path
----
IMAGE1 D:\apps\VERITAS\NetBackup\db
IMAGE2 D:\apps\VERITAS\Volmgr\database
Path
----
IMAGE1 D:\apps\VERITAS\Netbackup\db
IMAGE2 D:\apps\VERITAS\Volmgr\database
IMAGE3 D:\apps\VERITAS\NetBackup\var
Path
----
IMAGE1 D:\apps\VERITAS\NetBackup\db
IMAGE2 D:\apps\VERITAS\NetBackup\var
IMAGE3 D:\apps\VERITAS\Volmgr\database
Note The Media Manager device catalogs are binary files and you cannot restore them to
a different type of platform.
Before Starting
◆ Reinstall the NetBackup software (if necessary) as explained in “Master Server Disk
Recovery for UNIX” on page 468 or “Media Server Disk Recovery for Windows” on
page 490.
◆ Find the tape that has the latest catalog backups.
◆ Ensure that the disk where you are restoring the catalogs contains the directory where
the catalogs resided.
This is required because the bprecover command always restores the NetBackup
catalogs to the path from which they were backed up (alternate-path restores are not
allowed).
Note If the configuration was lost for the device that you plan to use for the recovery,
reinstall the device as explained in the Windows system documentation.
▼ To recover the NetBackup catalog from tape when Media Manager catalogs lost
8 mm tape drive
(\\.\Tape1
Master Server
shark
D:\VERITAS\Netbackup\db
D:\VERITAS\Volmgr\database
2. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to stop the following services, if they are running.
- NetBackup Request Manager service
- NetBackup Database Manager service
- NetBackup Device Manager service
- NetBackup Volume Manager service
3. Use the Activity Monitor, or the Services application in the Windows Control Panel,
to verify that the NetBackup Client service is running. Start it if necessary.
4. On the NetBackup server where the drive attaches, execute the bprecover
command. Specify the raw-device path for the drive where you inserted the tape in
step 1.
Example 1
This example interactively restores images to disk 1 by using raw-device path
\\.\Tape1:
bprecover -r -tpath \\.\Tape1
Recover shark:D:\VERITAS\NetBackup\db y/n (n)? y
Recover shark:D:\VERITAS\Volmgr\database y/n (n)? y
Recovering shark:D:\VERITAS\NetBackup\db
Recovering shark:D:\VERITAS\Volmgr\database
Example 2
If you have media servers, bprecover includes their catalog paths in the prompts
and you select the catalogs you want to recover.
The following example recovers only the catalogs for a media server named eel. Here,
you execute bprecover on the master server shark and use the -dhost option to
specify eel as the destination host:
bprecover -r -tpath \\.\Tape1 -dhost eel
Recover shark:install_path\NetBackup\db y/n (n)? n
Recover shark:install_path\NetBackup\var y/n (n)? n
Recover shark:install_path\Volmgr\database y/n (n)? n
Recover eel:install_path\NetBackup\db\media y/n (n)? y
Recovering eel:install_path\NetBackup\db\media
Recover eel:install_path\NetBackup\var y/n (n)? y
Recovering eel:install_path\NetBackup\var
Recover eel:install_path\Volmgr\database y/n (n)? y
Recovering eel:install_path\Volmgr\database
You can also use the -dhost option to restore from a media server to the master (for
example, if the master does not have a drive).
8 mm tape drive
(\\.\Tape1
Media Server Master Server
eel shark
install_path\Netbackup\db\media install_path\Netbackup\db
install_path\Netbackup\var install_path\Netbackup\var
install_path\Volmgr\database install_path\Volmgr\database
5. After recovering catalogs for the master and all media servers, use the NetBackup
Activity Monitor, or the Services application in the Windows Control Panel, to start
the following services:
▼ To recover NetBackup catalog from tape with Media Manager catalog intact
1. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to stop the following services if they are running:
- NetBackup Request Manager service
- NetBackup Database Manager service
2. Insert the tape with the catalog backup into an appropriate drive.
If the tape is not in the drive, the Device Monitor shows a mount request when you
start the recovery. If this occurs, insert the tape and use the Device Monitor to assign
the drive to the request.
3. On the NetBackup server where the drive attaches, execute the bprecover
command.
Example 1
Assume you are restoring the catalogs to disk 1 and the 8mm tape has media ID
JBL29. To recover the NetBackup part of the catalogs from image 1 on the tape,
execute the following command on shark:
bprecover -r 1 -ev JBL29 -d 8mm
Recovering shark:D:\VERITAS\NetBackup\db
Example 2
If the drive attaches to another NetBackup server, execute bprecover on the server
where the drive attaches and specify shark with the -dhost option.
bprecover -r 1 -ev JBL29 -d 8mm -dhost shark
Recovering shark:D:\VERITAS\NetBackup\db
4. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to:
b. Stop and restart the following services so they can read the recovered
configuration:
- NetBackup Device Manager service
- NetBackup Volume Manager service
Note If this disk has failed then you must resort to backups of this disk that have gone to
another server. If you have not backed up the NetBackup catalogs to another server,
you must use the NetBackup Import Images feature to re-add the image
information to the catalogs. See the NetBackup System Administrator’s Guide for
Windows for instructions.
1. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to stop the following services:
- NetBackup Request Manager service
- NetBackup Database Manager service
- NetBackup Device Manager service
- NetBackup Volume Manager service
Master Server
Disk 2
shark
D:\apps\dbbackup
Disk 1 IMAGE 1
D:\VERITAS\Netbackup\db
IMAGE 2
D:\VERITAS\NetBackup\db
D:\VERITAS\Volmgr\database
D:\VERITAS\Volmgr\database
3. After recovering the catalogs, use the NetBackup Activity Monitor, or the Services
application in the Windows Control Panel, to start the following services:
- NetBackup Request Manager Service
- NetBackup Database Manager Service
- NetBackup Device Manager Service
- NetBackup Volume Manager service
tape drive
Disk 1
Name of NDMP-attached device is
of this form:
ndmp_host_name:device_file
1. Use the NetBackup Activity Monitor, or the Services application in the Windows
Control Panel, to stop the following services, if they are running.
- NetBackup Request Manager service
- NetBackup Database Manager service
- NetBackup Device Manager service
- NetBackup Volume Manager service
2. Use the Activity Monitor, or the Services application in the Windows Control Panel,
to verify that the NetBackup Client service is running. Start it if necessary.
3. On the master server, reinstall NetBackup software (if not already installed) and
NetBackup for NDMP software.
5. If the robot (in which the tape resides) is controlled by the NDMP host, enter the
following:
set_ndmp_attr -robot ndmp_host robot_device scsi_controller scsi_id scsi_lun
6. Configure the tape drive as a standalone drive, whether or not it resides in a robot.
7. Use the appropriate robtest command (acstest, tldtest, tsdtest, or tl8test) to mount the
catalog tape into the NDMP-attached drive.
9. After recovering catalogs for the master and all media servers, use the NetBackup
Activity Monitor, or the Services application in the Windows Control Panel, to start
the following services:
- NetBackup Request Manager Service
- NetBackup Database Manager Service
- NetBackup Device Manager Service
- NetBackup Volume Manager service
505
Backup and Restore Functional Description
Startup Process
Before NetBackup can perform scheduled operations or respond to user-directed requests,
the NetBackup request daemon bprd must be started on the master server, and the Media
Manager device daemon ltid must be started on the master server and all media servers.
These two daemons, in turn, automatically start other daemons and programs as
necessary (see the figure below, “Starting NetBackup”).
On a media server, it is not necessary to start bprd because it is not used. NetBackup
automatically starts other required NetBackup programs when it accesses the media
server.
Another daemon that executes on all server and clients is the NetBackup client daemon,
bpcd. On UNIX clients, inetd starts bpcd automatically so no special actions are
required. On Windows NT clients, bpinetd performs the same functions as inetd.
Other PC clients do not use inetd or bpinetd but are usually configured to start bpcd
automatically (see their user’s guides for instructions).
There are no other daemons or programs that you must explicitly start. The necessary
programs are started automatically during the backup or restore operation.
The figure “Starting NetBackup” shows the programs that must be running and how they
are started. The Media Manager functional description, later in this appendix, has details
on the actions started by ltid.
Starting NetBackup
Master Server
Execute:
Execute:
/usr/openv/volmgr/bin/ltid
/usr/openv/netbackup/bin/initbprd
Starts applicable
robotic daemons. See
ltid the Media Manager
bprd Functional Description
later in this appendix.
bpdbm
Media Server
Execute:
The Media Manager device
components of NetBackup must be /usr/openv/volmgr/bin/ltid
started as shown to the right.
Starts applicable
robotic daemons. See
The master server starts other ltid the Media Manager
NetBackup programs as necessary to Functional Description
use storage units that attach to the later in this appendix.
media server.
vmd avrd
Client
On UNIX clients, bpcd must be in a listening state. On Windows and NetWare clients, bpcd must be
running. Except for bpcd, required programs are started as necessary during the backup or restore.
Macintosh and Windows NT/2000, XP and .NET clients must only be turned on and ready.
NetBackup Command
Volume * Configuration File
User Interface Line
Database Database Database
bprd
bpbackup
vmd * bpdbm or
bpsched bparchive
New media ID for NB
Master
Fil
or
eI
Media
nfo
Media Database
rm
ati
on
ID
dia
bpcd
Me
NB
bptm
(parent) bpbrm bpcd
Sha File
r
Mem ed
Tape re
Info
ory rma
tio n
bptm
Ba (child)
ck Backup Im
quest
up age bpbkar
Im
ag
e
ltid *
mou
nt
Client
Notes:
Disk
* For detail on these components, see
the Media Manager Functional Tape or Optical
Description later in this chapter.
For all three types of backup and archive operations, bpsched uses bpcd (client daemon)
to start the backup/restore manager (bpbrm). If the required storage unit attaches to the
master server, bpsched starts the backup/restore manager on the master server. If the
storage unit connects to a media server, bpsched starts the backup/restore manager on
the media server.
The backup/restore manager starts the appropriate media manager process (bptm for
tape or optical and bpdm for disk) and also starts the actual backup (or archive) by using
the client daemon (bpcd) to start the backup and archive program (bpbkar) on the client.
The bpbkar program:
◆ Sends information about files within the image to the backup/restore manager, which
directs the file information to the NetBackup file database.
◆ Transmits the backup image to the media manager process, bptm or bpdm. The bptm
or bpdm process forks a second process, which receives the image and stores it block
by block in shared memory. The original process then takes the image from shared
memory and directs it to the storage media.
- If the storage is tape or optical, bptm checks the NetBackup media database for a
suitable media ID (for example, the correct density and retention level). If it can’t
find one, it obtains a new media ID from the Media Manager volume daemon,
vmd. The bptm program includes the media ID in a tape request to the Media
Manager device daemon, ltid, which finds the physical media and causes it to
be mounted on an appropriate device. bptm also controls the spanning of
backups across multiple tapes, if required.
- If the storage media is disk, bpdm writes the images to the path configured in the
disk storage unit. The system disk manager controls the actual writing of data.
In the case of an archive, NetBackup deletes the files from the client disk after the files
have been successfully backed up.
For multiplexed backups, the process is essentially the same except that a separate bpbrm
and bptm process is created for each backup image being multiplexed onto the media.
NetBackup also allocates a separate set of shared memory blocks for each image. The
figure below, “Multiplexed Backups Example (two streams)” shows an example of
multiplexing images from two clients. The other client and server processes are the same
as on the “Backup or Archive to Tape or Optical” graphic.
bpbrm
Only on master (parent) bpcd
server bpdbm
File
bpbrm Information
bpbkar
(child)
age
k up Im
Bac
bptm
(child)
red
Sha ory Client
Me m Disk
bptm
(parent) bpbrm
(child)
t
eques
Shar
e
Mem d Fil
eI
ory bptm nfo bpcd
Backu
Tape r
(child) r ma
ti on
Bac
p Ima
kup
Ima
ge
bpbkar
ge
ltid *
mo
un
t
Notes: Client
* For detail on this component, see Disk
Media Manager Functional
Tape or Optical
Description later in this chapter.
Request
bprd NBWIN
File Information
bpbrm BPCDW32
Im age
bptm Backup
Client Disk
◆ NBWIN is the user interface program on the client. The bpbackup, bparchive, and
bplist functions are merged into NBWIN.
◆ BPINETD serves the same purpose as inetd on UNIX clients.
◆ The NetBackup client daemon is called BPCD.
◆ BPBKAR32 serves the same purpose as bpbkar on UNIX clients.
The server processes are the same as described for UNIX.
bprd NBWIN
Request
BPINETD
bpbrm
File
I nfo BPCD
bptm rm
a tion
Backu
p Image
BPBKAR32
Client Disk
◆ For NetWare nontarget, the user interface program is called NBNW95 on Windows 95
and 98 clients and NBNWNT on Windows NT/2000, XP, and .NET. For NetWare target,
the user interface program is called BP on the Netware console. The bpbackup,
bparchive, and bplist functions are merged into the user interface programs on
the clients.
◆ The NetBackup NetWare client daemon is called BPCD. The bpbkar functions are
merged into BPCD.
The server processes are the same as described for UNIX.
Request
bprd NBNW95 (NetWare nontarget on 95, 98)
NBNWNT (NetWare nontarget on NT/2000)
Image
bptm Backup
Client Disk
Server Client
For details on the server processes,
see Backups and Archives - UNIX NetBackup
Clients earlier in this chapter. User Interface
Request
bprd NetBackupBPBACKUP
NetBackupListen
File Information
bpbrm NetBackupBPCD
Image
bptm Backup
Client
Disk
1. Queries bpdbm for the database paths to back up and the media ID to use for the
backup.
2. Starts the tape and optical manager, bptm, and sends it the media ID in a special
mount request.
The tape and optical manager, bptm, recognizes the request as being for a database
backup and checks the database to ensure that the media ID is not one used for
regular backups. The bptm program then includes the media ID in a request to the
Media Manager device daemon, ltid. The device daemon finds the media and
causes it to be mounted on an appropriate device.
NetBackup
bprd Administration
Configuration
Database Interface
After backup
sessions Master Server
bpdbm bpsched
Master
ed
Da d m
an
iat
or
tab edi
init
as a ID
Media
ep
ally
ath
nu
Ma
qu
bpcd
e
ry
bptm
bpbackupdb bpcd
B ac
Ta
kup
pe
Ima
fo r k
ge
eqr
age
ue
bpbkar
st
up Im
n
ltid* * bpbackupdb File rmatio
Back
ltid o
In f
m
ou
nt
3. Starts the actual backup by using bpcd to start the backup program, bpbkar.
If the database is on the master server, bpbackupdb starts the backup and archive
program on the master server. If the database is on a media server, bpbackupdb
starts the backup and archive program on the media server.
The bpbkar program transmits file information and the backup image to separate
bpbackupdb processes as shown in the figure “NetBackup Database Backup”.
- The original bpbackupdb process receives the backup image and sends it to the
backup device.
- A second bpbackupdb process checks the file information to ensure that the
proper files are being backed up.
The entire database backup must fit on a single tape. The bpbackupdb process is unable
to span tapes and there is no mechanism for specifying multiple tapes for an NetBackup
database backup.
If any part of the database backup fails, then NetBackup discards the entire backup. This
is done because you must have a backup of all the databases to be certain that you have a
consistent database.
Restore Processes
NetBackup restore operations, like backups, can vary according to client type. The
following explains the basic variations.
File
NetBackup command
Database
User Interface line
query
When the user starts a restore, NetBackup invokes the client’s bprestore program
which sends a request to the request daemon, bprd (see the graphic “Restore operation
From Tape or Optical”). This request identifies the files and client. The request daemon
then uses bpcd (client daemon) to start the backup/restore manager (bpbrm).
If the storage unit on which the files reside attaches to the master server, then bprd starts
the backup/restore manager on the master server. If the storage unit connects to a media
server, bprd starts the backup/restore manager on the media server.
The backup/restore manager starts the appropriate media manager process (bptm for
tape or optical or bpdm for disk) and uses the client daemon (bpcd) to establish a
connection between the NetBackup tar program on the client and bptm or bpdm on the
server.
The bptm (for tape or optical) or bpdm (for disk) process obtains the location of the data
(media ID or file path) and then starts retrieving data. During retrieval, the original bptm
or bpdm process stores the image block by block in shared memory. A second bptm or
bpdm process transmits the image to the client.
◆ If the storage is tape or optical, bptm includes the media ID in a tpreq command to
the Media Manager device daemon, ltid. The device daemon finds the physical
media and causes it to be mounted on an appropriate device. The bptm program
reads the image and directs it to the client, where the NetBackup tar program writes
it on the client disk.
◆ If the storage unit is disk, bpdm uses the file path in a read request to the system disk
manager. The image is then read from disk and transmitted to the client, where the
NetBackup tar program writes it on the client disk. Only the part of the image that is
required to satisfy the restore request is sent to the client, not necessarily the entire
backup image.
NetBackup command
User Interface line
bprd bprestore
Master Server
Master
or
Media bpcd
Media Database
NetBackup
Media ID bpbrm bpcd
bptm
Sha ge NetBackup
r Ima
Mem ed
st
kup
Bac tar
ue
ory
eq
bptm
r
Bac
pe
Ta
kup
Ima
ltid *
m Client
ge
ou
nt Disk
Notes:
* For detail on this component, see
Media Manager Functional
Tape or Optical
Description later in this chapter.
Request
bprd NBWIN
BPCDW32
bptm p Im age
or Backu
bpdm
Client Disk
bprd NBWIN
Request
BPINETD
bpbrm
BPCD
bptm
Backup
Image
TAR32
Client Disk
◆ The NetWare nontarget user interface program is called NBNW95 on Windows 95 and
98 clients and NBNWNT on Windows NT/2000, XP and .NET clients. The NetWare
target user interface program is BP on the Netware console. The bprestore and
bplist functions are merged into the user interface programs on the clients.
◆ The NetBackup NetWare client daemon is called BPCD. The NetBackup tar functions
are merged into BPCD.
The server processes are the same as described for UNIX.
BPCD (NetWare)
bptm Image
or Backup
bpdm
Client Disk
Request NetBackupBPRESTORE
bprd
NetBackupBPCLIMAGELIST
NetBackupListen
bpbrm
NetBackupBPCD
Image
bptm Backup
Client
Disk
NetBackup Server
/usr/openv/netbackup
bin/ bp.conf client/* db/ exclude_list include_list help/ logs/ release_notes version
/usr/openv/netbackup
bp.conf Configuration file where you can specify various options for
NetBackup operation. The NetBackup System Administrator’s Guide
has a detailed explanation of each option and how to set it. On a
Windows server, these options are set in the interface.
exclude_list On UNIX clients, this file contains a list of files and directories to
exclude from scheduled backups. The NetBackup System
Administrator’s Guide explains how to use this file.
help Help files used by NetBackup programs. These files are in ASCII
format.
include_list On UNIX clients, this file contains a list where you can specify a
subset of the exclude list to add back into scheduled backups. The
NetBackup System Administrator’s Guide explains how to use this
file.
logs Detailed debug logs for NetBackup processes. You must create the
necessary subdirectories in order for these log files to be written
(see the chapter “Using the Logs and Reports”). See the table
“NetBackup Daemons and Programs” for an explanation of the
processes that produce the logs.
Program/ Description
Daemon
BP.NLM On NetWare target clients, this is the NetWare Loadable Module that
starts the client-user interface.
Started By: LOAD BP command.
Stopped By: Choosing Quit Utility from the main menu.
Debug Log: SYS:\OPENV\NETBACK\LOGS\BP\mmddyy.log file
on the client.
Program/ Description
Daemon
bpblr On UNIX clients, the Block-Level Restore program calls the VfMS
mapping methods and is used to restore NetBackup for EMC Fastrax
images.
Started By: For each NetBackup for EMC Fastrax restore, bpcd
starts an instance of bpblr on the client.
Stopped By: Completion of restore operation.
Debug Log: bpblr.log on the client.
Program/ Description
Daemon
bpcd On UNIX clients, bpcd is the NetBackup client daemon and lets
NetBackup start programs on remote hosts (can be UNIX clients or
other servers). For example, the server can connect to UNIX clients
without requiring /.rhosts entries on the remote host. The
program is used when bpsched starts bpbrm and when bpbrm
communicates with the client.
(For a description of the NetBackup client daemon on PC clients, see
BPCDW32.EXE, BPCD.NLM, and NetBackupBPCD later in this table.)
Started By: inetd.
Stopped By: Completion of operation.
Debug Log: bpcd.log on both client and server.
Program/ Description
Daemon
BPCD.NLM On NetWare clients, this is the executable file that starts the
NetBackup client daemon.
Started By: When you start the Novell NetWare system if you add
load bpcd to the AUTOEXEC.NCF file. Otherwise, with the LOAD
BPCD command.
Stopped By: UNLOAD BP command
Debug Log: BPCD.LOG file in the NetBackup logs directory on the
client.
Program/ Description
Daemon
bpdm On master and media servers, bpdm is the disk-media manager and
is used when the storage unit type is a disk. This program manages
the transfer of images between the client and the operating-system
disk manager on the server to which the disk attaches.
Started By: For each backup or restore, bpbrm starts an instance of
bpdm, on the server with the storage unit.
Stopped By: Completion of operation.
Debug Log: bpdm.log on the server.
Program/ Description
Daemon
Program/ Description
Daemon
bpsched On master servers, the Scheduler uses policy information from the
NetBackup configuration databases to determine:
◆ Clients to start and when to start them.
◆ Storage units to use for backups and archives.
Started By: bprd for the following operations:
◆ User-directed backups and archives
◆ Immediate manual backups (started through the option that is
available in the NetBackup administrator interface)
◆ Scheduled automatic incremental or full backups. In this case,
bprd starts the scheduler at intervals determined by the wakeup
interval global attribute.
Stopped By: Completion of all backups that are due.
Debug Log: bpsched.log on the server.
bptm On master and media servers, bptm is the tape-media manager and
is used when the storage unit type is Media Manager. This program
manages transfer of images between the client and the storage
device. It also handles communication between the backup and
Media Manager software. In addition, bptm manages the NetBackup
media database and provides information for the media list report
screen.
Started By: For each backup or restore, bpbrm starts an instance of
bptm on the server that has the storage unit.
Stopped By: Completion of operation.
Debug Log: bptm.log on the server.
BPSRV.EXE On NetWare nontarget clients, this is the program that allows the
system that has the client-user interface to communicate with the
Netware server that is the NetBackup client.
Started By: Starting NetBackup for NetWare.
Stopped By: Exiting the client-user interface.
Debug Log: BPSRV.LOG file in the NetBackup LOGS directory on
the client.
Program/ Description
Daemon
Program/ Description
Daemon
NDMP Mover Agent On the NetBackup media server (Windows), this service acts as an
NDMP server in a type of three-way backup called Remote NDMP.
Started By: Executing
install_path/netbackup/bin/InstallNdmpMoverAgent
path_of_NetBackup_binaries
Stopped By:Executing
install_path/netbackup/bin/InstallNdmpMoverAgent
-r.
Debug Log:
install_path/netbackup/logs/ndmpmoveragent
NBWIN.EXE For Windows clients, this is the executable file that starts the
client-user interface on Windows systems.
Started By: From the Windows Start menu, under Programs/
NetBackup.
Stopped By: Exiting the client-user interface.
Debug Log: mmddyy.log file in the NBWIN directory on the client.
NBNWNT.EXE For NetWare nontarget clients, this is the executable file that starts
the client-user interface on Windows systems.
Started By: From the Windows Start menu, under Programs/
NetBackup.
Stopped By: Exiting the client-user interface.
Debug Log: none.
NBNW95.EXE For NetWare nontarget clients, this is the executable file that starts
the client-user interface on Windows 98/95 systems.
Started By: From the Windows Start menu, under Programs/
NetBackup.
Stopped By: Exiting the client-user interface.
Debug Log: none.
Program/ Description
Daemon
Program/ Description
Daemon
NetBackup Databases
The table below, “NetBackup Databases”, describes the NetBackup databases. These
databases contain information that is used internally by NetBackup and reside in the
/usr/openv/netbackup/db directory on UNIX servers and in the
install_path\NetBackup\db directory on Windows NetBackup servers.
NetBackup Databases
Database Contents
images Information about the backup images and resides only on the master
server. One of the files in the images directory is the file database.
The file database is the one that NetBackup accesses when a user
browses for files to restore.
jobs Job information that is used by the NetBackup job monitor (UNIX
NetBackup server) and activity monitor (Windows NetBackup
server). The Jobs database is on the master server
media Media related information used by bptm. Each master or media server
has a media database with media information for the images stored on
that server’s storage units.
The media database also has an errors file that contains error history
information for media and devices.
◆ “Startup Process”
◆ “Media and Device Management Process”
◆ “Barcode Operations”
◆ “Media Manager Components”
Note In this section, the term Media Manager refers to the media and device
management software that is part of NetBackup on either a UNIX or Windows
NetBackup server.
Startup Process
Media Manager is part of NetBackup but, on UNIX, can also be run independently and
used by other applications, such as Storage Migrator. The easiest way to start Media
Manager is to initiate all the necessary processes during system startup on all servers that
have devices under control of Media Manager.
ltid automatically starts other daemons and programs as necessary. The graphic
“Starting Media Manager” shows the Media Manager daemons that should be running
after initial startup. In the case of robotic daemons, such as ts8d and rsmd, the associated
robot must also be configured for the daemon to run. See the “Media Manager Daemons
and Programs” table for other ways to start and stop these daemons.
As shown in the figure “Starting Media Manager”, the LMF, TL8, TLH, and TLD, require
two types of daemons: robotic and robotic control.
◆ Each host with a robotic drive attached must have a robotic daemon. These daemons
provide the interface between ltid and the robot or, if different drives within a robot
can attach to different hosts, the robotic daemon communicates with a robotic-control
daemon (see below).
◆ Robotic-control daemons centralize the control of robots when drives within a robot
can connect to different hosts. A robotic-control daemon receives mount and
unmount requests from the robotic daemon on the host to which the drive is attached
and then communicates these requests to the robot.
You must know the hosts involved in order to start all the daemons for a robot.
Automated
acsd
Cartridge System
Execute:
/usr/openv/volmgr/bin/ltid Library
Imfd Imfcd Management
Facility
Optical Disk
odld
Library
Removable
ltid rsmd Storage Man-
ager (Windows
2000 only)
Tape Library
tl4d 4mm
Tape Library
tldd tldcd
DLT
vmd avrd
Tape Library
tlhd tlhcd Half-inch
Tape Library
tlmd Multimedia
Tape Stacker
ts8d
8mm
Tape Stacker
tsdd DLT
Tape Stacker
tshd Half-inch
When a robotic volume is added or removed through the media access port, the media
management utility communicates with the appropriate robotic daemon to verify the
volume location and/or barcode. The media management utility (through a library or
command-line interface) also calls the robotic daemon for robot inventory operations.
Storage NetBackup
User Migrator
Device-management
Req
utility
uest
Volume
Device
new
Database
Monitor Request media ID
me
dia
ID
Where is
media ID? Media-management
Device ltid vmd utility
Database
M
ou
nt
Inventory barcodes
m
Mount media ID
ed
or inject/eject
ia
EXB8500 QIC
ID
Non-robotic
drives tl8d
ct
Mo
je
un
t/e
tm
j ec
ed
ia
in
ID
odld tl8cd
Client
Disk
Robotic control
Robotic control
Barcode Operations
Barcode reading is mainly a function of the robot hardware rather than Media Manager.
When a robot has a barcode reader, it scans any barcode that may be on a tape and stores
the code in its internal memory. This associates the slot number and the barcode of the
tape in that slot. Media Manager determines that association for its own use by
interrogating the robot.
If a robot supports barcodes, Media Manager automatically compares a tape’s barcode to
what is in the volume database as an extra measure of verification before mounting the
tape.
Barcode Request
Storage
User NetBackup
Device-management Migrator
utility
Volume
Request media ID Database
Where is
media ID?
Media-management
ltid vmd
utility
Location
Mo
un
met
or inject/eject
ID
tl8d
tl8cd
1 2 3
What is Barcode Mount
barcode? tape
Tape Library
TL8
/usr/openv/volmgr
. ..
Caution DO NOT under any circumstances attempt to modify the Media Manager
databases. These files are for internal program use only and changing them will
result in program failure and possible loss of data. It is also recommended that
they not be moved to another host.
debug Debug logs for the Media Manager volume daemon, vmd, and all
requesters of vmd, ltid, and device configuration. The
administrator must create these directories for debug logging to
occur.
help Help files used by Media Manager programs. These files are in
ASCII format.
Note The following table contains references to the system log. This log is managed by
syslog on UNIX (the facility is daemon). On Windows the Event Viewer manages
the system log (the log type is Application).
Program/ Description
Daemon
acsd The Automated Cartridge System daemon interfaces with the Automated
Cartridge System and communicates with the server that controls the ACS
robotics through the acsssi process (UNIX) or the STK Libattach Service
(Windows). Also, for UNIX see the acsssi and acssel programs.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/ascd command.
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid) or by putting
VERBOSE in the vm.conf file.
acssel Available only on UNIX. See the Media Manager System Administrator’s
Guide (UNIX or Windows) for details.
acsssi Available only on UNIX. See the Media Manager System Administrator’s
Guide (UNIX or Windows) for details.
Program/ Description
Daemon
Program/ Description
Daemon
odld The Optical Disk Library daemon interfaces with the Optical Disk Library,
communicating with the robotics through a SCSI interface. This library is
not supported on Windows.
Started By: Starting ltid or independently by using the
/usr/openv/volmgr/bin/odld command.
Stopped By: Stopping ltid or independently by finding the PID
(process id) and then using the kill command.
Debug Log: All errors are logged in the system log. Debug information is
included if the daemon is started with the -v option (either by itself or
through ltid) or adding VERBOSE to the vm.conf file.
rsmd The Removable Storage Manager daemon is the interface between ltid
and the Microsoft Windows 2000 Removable Storage Manager (RSM)
interface. The rsmd daemon runs only on Windows 2000 systems; note
that the system must have drives configured in RSM robots configured in
the Media Manager interface.
Started By: Starting ltid on Windows 2000 only.
Stopped By: Stopping ltid on Windows 2000 only.
Debug Log: All errors are logged in the system log. Debug information is
included in the system log as notifications.
tl4d The Tape Library 4MM daemon is the interface between ltid and the
Tape Library 4MM and communicates with the robotics through a SCSI
interface.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tl4d command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
Program/ Description
Daemon
tl8d The Tape Library 8MM daemon drives in the same TL8 robot may be
attached to different hosts than the robotic control. tl8d is the interface
between the local ltid and the robotic control. If a host has a device path
for a drive in a TL8 robot, then mount or unmount requests for that drive
go first to the local ltid and then to the local tl8d (all on the same host).
tl8d then forwards the request to tl8cd on the host that is controlling
the robot (could be on another host).
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tl8d command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command.
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
tl8cd The Tape Library 8MM Control daemon provides the robotic control for a
TL8 robot and communicates with the robotics through a SCSI interface.
tl8cd receives mount and unmount requests from tl8d on the host to
which the drive is attached and then communicates these requests to the
robot.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tl8cd command).
Stopped By: Stopping ltid or by using the tl8cd -t command.
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
tldd The Tape Library DLT daemon works in conjunction with tldcd to
handle requests to TLD robots. tldd provides the interface between the
local ltid and the robotic control (tldcd) in the same manner as
explained previously for tl8d.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tldd command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
Program/ Description
Daemon
tldcd The Tape Library DLT Control daemon provides robotic control for a TLD
robot in the same manner as explained previously for tl8cd.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tldcd command).
Stopped By: Using the tldcd -t command. Stopping ltid or by using
the tldcd -t command.
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
tlhd The Tape Library Half-inch daemon works in conjunction with tlhcd to
handle requests to TLH robots that are in an IBM Automated Tape Library
(ATL). tlhd provides the interface between the local ltid and the robotic
control (tlhcd) in the same manner as explained previously for tl8d.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tlhd command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
tlhcd The Tape Library Half-inch Control daemon provides robotic control for a
TLH robot that is in an IBM Automated Tape Library (ATL) in a similar
manner to that which was explained previously for tl8cd.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tlhcd command).
Stopped By: Stopping ltid or by using the tlhcd -t command.
Debug Log: All errors are logged in the system log. Debug information is
included if the daemon is started with the -v option (either by itself or
through ltid). The -v option is available only on UNIX. Also, add the
VERBOSE option to the vm.conf file.
Program/ Description
Daemon
tlmd The Tape Library Multimedia daemon is the interface between ltid and a
TLM robot that is in an ADIC Distributed AML Server (DAS). This
daemon communicates with the TLM robotics through a network API
interface.
Started By: Starting ltid or independently by using the
/usr/openv/volmgr/bin/tlmd command.
Stopped By: Stopping ltid or independently by finding the PID
(process id) and then using the kill command.
Debug Log: All errors are logged in the system log. Debug information is
included if the daemon is started with the -v option (either by itself or
through ltid). The -v option is available only on UNIX. Also, add the
VERBOSE option to the vm.conf file.
tsdd The Tape Stacker DLT daemon is the interface between ltid and the DLT
tape stacker and communicates with the robotics through a SCSI interface.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tsdd command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
Program/ Description
Daemon
tshd The Tape Stacker Half-inch daemon is the interface between ltid and the
half-inch-cartridge stacker and communicates with the robotics through a
SCSI interface. This robot is not supported on Windows.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/tshd command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
ts8d The Tape Stacker 8MM daemon is the interface between ltid and the
8-mm Tape Stacker and communicates with the robotics through a SCSI
interface.
Started By: Starting ltid (or on UNIX, independently by using the
/usr/openv/volmgr/bin/ts8d command).
Stopped By: Stopping ltid (or on UNIX, independently by finding the
PID (process id) and then using the kill command).
Debug Log: All errors are logged in the system log. Debug information is
included by adding VERBOSE to the Media Manager configuration file,
vm.conf. On UNIX, debug information is also included by starting the
daemon with the -v option (either by itself or through ltid).
Program/ Description
Daemon
555
The comparison is first a simple string comparison which, if successful, is verified by
comparing hostnames and aliases retrieved by using the network function
gethostbyname().
If none of the comparisons succeed, a more brute force method is used, which compares
all names and aliases using gethostbyname().
The configured name is the first comparison that succeeds. Note that other comparisons
might also have succeeded if aliases or other “network names” are configured.
If the comparison fails, the client’s hostname as returned by the gethostname()
function on the client is used as the configured name. One example of why the
comparison could fail is the case where the client had changed its hostname but its new
hostname is not reflected in any policies yet.
These comparisons are logged in the bpdbm debug log if VERBOSE is set. You can
determine a client’s configured name by using the bpclntcmd command on the client.
For example:
# /usr/openv/netbackup/bin/bpclntcmd -pn (UNIX)
# install_path\NetBackup\bin\bpclntcmd -pn (Windows)
expecting response from server wind.abc.me.com
danr.abc.me.com danr 194.133.172.3 4823
Where the first output line identifies the server to which the request is directed and the
second output line is the server’s response in the following order:
◆ Peername of the connection to the server
◆ Configured name of the client
◆ IP address of the connection to the server
◆ Port number used in the connection
When the client connects to the server, it sends three names to the server:
◆ browse client
◆ requesting client
◆ destination client
The browse client name is used to identify the client files to list or restore from. The user
on the client can modify this name to restore files from another client. For example, on a
Windows client, the user can change the client name by using the client user interface (see
the user’s guide for instructions). For this to work, however, the administrator must also
have made a corresponding change on the server. For more information, refer to the
NetBackup System Administrator’s Guide.
The requesting client is the value from the gethostname() function on the client.
Note Do not use the robotic test utilities when backups or restores are active. The tests
lock the robotic control path and prevent the corresponding robotic software from
performing actions, such as loading and unloading media. If a mount is requested,
the corresponding robotic process times out and goes to the DOWN state. This
usually results in a media mount timeout. Also, be certain to quit the utility when
your testing is complete.
559
Robotic Tests on UNIX
/usr/openv/volmgr/bin/acstest -r ACSLS_HOST
LMF
/usr/openv/volmgr/bin/lmftest -r robotic_library_name
ODL
/usr/openv/volmgr/bin/odltest -r roboticpath
TL4
/usr/openv/volmgr/bin/tl4test -r roboticpath
TL8
/usr/openv/volmgr/bin/tl8test -r roboticpath
TLD
/usr/openv/volmgr/bin/tldtest -r roboticpath
TLH
/usr/openv/volmgr/bin/tlhtest -r robotic_library_path
TLM
/usr/openv/volmgr/bin/tlmtest -r DAS_Hostname
TS8
/usr/openv/volmgr/bin/ts8test -r roboticpath
TSD
/usr/openv/volmgr/bin/tsdtest -r roboticpath
TSH
/usr/openv/volmgr/bin/tshtest -r roboticpath
Note For more information on ACS, TLH, LMF, and TLM robotic control, see the
appendixes in the NetBackup DataCenter Media Manager System Administrator’s Guide
for UNIX.
In the above commands, roboticpath is the full path to the device file for the robotic
control (SCSI). Refer to the Media Manager Device Configuration Guide for UNIX and review
the chapter for your platform to find the appropriate value for roboticpath.
There is also an optional parameter that specifies the device file path for the drive(s) so
that SCSI unloading of the drive(s) can be done with this utility.
Note If the robot is not configured, you cannot use robtest and must execute the
command that applies to the robot you are testing (see below). However, in the case
of an RSM robot, the robot must be configured under NetBackup before a test can be
run. When the RSM robot has been configured, use the robtest command as
described above.
ACS
install_path\Volmgr\bin\acstest -r ACSLS_HOST
RSM
install_path\Volmgr\bin\rsmtest -r robotnumber roboticpath
TL4
install_path\Volmgr\bin\tl4test -r roboticpath
TL8
install_path\Volmgr\bin\tl8test -r roboticpath
TLD
install_path\Volmgr\bin\tldtest -r roboticpath
TLH
install_path\Volmgr\bin\tlhtest -r robotic_library_name
TLM
install_path\Volmgr\bin\tlmtest -r DAS_Hostname
TS8
install_path\Volmgr\bin\ts8test -r roboticpath
TSD
install_path\Volmgr\bin\tsdtest -r roboticpath
Note For more information on ACS, TLH, LMF, and TLM robotic control, see the
appendixes in the NetBackup DataCenter Media Manager System Administrator’s Guide
for Windows.
For more information on RSM robotic control, refer to the Microsoft Removable Storage
Manager (RSM) appendix in the NetBackup BusinessServer Media Manager System
Administrator’s Guide for Windows.
In the above commands, roboticpath is the full path to the device file for the robotic control
(SCSI). Refer to the Media Manager Device Configuration Guide and review the chapter for
your platform to find the appropriate value for roboticpath.
There is also an optional parameter that specifies the device file path for the drive(s) so
that SCSI unloading of the drive(s) can be done with this utility.
Usage is:
install_path <-p port -b bus -t target -l lan | -r roboticpath>
where: roboticpath is the changer name (e.g., Changer0)
Note If, in spite of following the suggestions in this appendix, catalog conversion,
physical inventory, bpimport, or file browse and restore are not working, it is
recommended that the Backup Exec services be restarted.
Message: Unable to connect to the Backup Exec engine on the local host
Explanation: Backup Exec services are not running on the host on which beconv is being
run.
Recommended Action:
Check whether the Backup Exec services are running. Start them if needed. The Backup
Exec services are the following:
◆ Backup Exec 8.x Agent Browser
◆ Backup Exec 8.x Alert Server
◆ Backup Exec 8.x Device & Media Service
◆ Backup Exec 8.x Job Engine
563
beconv Error Messages
For example: The Backup Exec ADAMM database says that Backup Exec media
BE-Media, having barcode EFG00, media type dlt, is in Backup Exec robot Exabyte-210.
Backup Exec robot Exabyte-210 corresponds to Media Manager robot tld (0). The Media
Manager volume database for robot tld(0) contains a media record EFG000, having
barcode EFG00, media type 4mm, belonging to robot tl4(1).
This is an error because a Backup Exec media of type dlt, having barcode EFG00 cannot be
associated with a Media Manager volume record having media type 4mm. Backup Exec
media cannot be associated with a Media Manager volume record of an incompatible
robot type.
Recommended Action: Examine the Media Manager volume record having the same
barcode as the Backup Exec media. Is the Media Manager media type of the volume
record really the media type of the media to which the record corresponds? Update the
Media Manager volume record accordingly (either manually with add/change/delete
volume operations or by using the NetBackup robot inventory update) and run beconv
again.
Message: Media having guid ‘XXX’ not present in Backup Exec database
Explanation: This happens when a user runs beconv with the beconv -m media_id
option, but the ADAMM GUID field of media_id in the Media Manager volume database
is not NULL and not present in the Backup Exec ADAMM database. Such a situation can
arise when the Media Manager volume database was updated by utilities other than
bephyinv or beconv (like vmadd).
Recommended Action: Examine the Media Manager volume record corresponding to
media_id and determine whether the ADAMM GUID field is correct. If required run
bephyinv on media_id. After updating the volume record corresponding to media_id,
run beconv again.
Message: Backup Exec media type and Media Manager volume record media type
incompatible
Explanation: This happens when the user runs beconv with the beconv -m media_id
option, but the Backup Exec media record corresponding to media_id has a different base
media type than the base media type of the Media Manager volume record.
Message: Unable to connect to the Backup Exec engine on the local host
Explanation: Backup Exec services are not running on the host on which bephyinv is
running.
Recommended Action: Check whether the Backup Exec services are running. The
Backup Exec services are the following:
◆ Backup Exec 8.x Agent Browser
◆ Backup Exec 8.x Alert Server
◆ Backup Exec 8.x Device & Media Service
◆ Backup Exec 8.x Job Engine
◆ Backup Exec 8.x Naming Service
◆ Backup Exec 8.x Notification Server
◆ Backup Exec 8.x Server
Message: Volume database mismatch detected. media_id XXX was obtained from volume
database ABC, but the drive in which it was mounted has a volume database XYZ
Explanation: This happens when the same media IDs are present in different Media
Manager volume databases. The volume record that was used to issue the mount was
different from the volume record used by Media Manager to mount the media.
Recommended Action: Run beconv -check_consistency to determine which
Media Manager databases contain the same media ID. Remove the duplicate media ID
from the appropriate volume databases and run bephyinv. Use a single volume database
instead of configuring volumes on multiple hosts.
▼ To browse Backup Exec files using the Backup, Archive, and Restore interface:
2. Set the restore type to Backup Exec Backups or Normal and Backup Exec Backups.
For more assistance, refer to the NetBackup user guide appropriate for your platform.
To list Backup Exec files using the bplist command, ensure that the -flops parameter
has been specified correctly to list only Backup Exec files, or both Backup Exec and
NetBackup files.
To list only Backup Exec files, -flops 524288 should be specified. To list both Backup
Exec and NetBackup files, -flops 1048576 should be specified. Refer to the NetBackup
DataCenter System Administrator's Guide for usage of the bplist command.
Ensure that the Backup Exec services are running on the Media Servers that contain the
Backup Exec catalogs whose images are being browsed.
The Backup Exec services are the following:
◆ Backup Exec 8.x Agent Browser
◆ Backup Exec 8.x Alert Server
◆ Backup Exec 8.x Device & Media Service
◆ Backup Exec 8.x Job Engine
◆ Backup Exec 8.x Naming Service
◆ Backup Exec 8.x Notification Server
◆ Backup Exec 8.x Server
▼ To restore Backup Exec files using the Backup, Archive, and Restore interface:
2. Set the restore type to Backup Exec Backups or Normal and Backup Exec Backups.
For more assistance, refer to the NetBackup user guide appropriate for your platform.
To restore Backup Exec files using the bprestore command, ensure that the -F
parameter has been specified correctly to restore only Backup Exec files, or both Backup
Exec and NetBackup files.
To restore only Backup Exec files, -F 524288 should be specified. To restore both Backup
Exec and NetBackup files, -F 1048576 should be specified. Refer to the NetBackup
DataCenter System Administrator's Guide for the usage of the bprestore command.
Ensure that the Backup Exec services are running on the Media Servers that contain the
Backup Exec catalogs whose images are being restored.
The Backup Exec services are the following:
◆ Backup Exec 8.x Agent Browser
◆ Backup Exec 8.x Alert Server
◆ Backup Exec 8.x Device & Media Service
◆ Backup Exec 8.x Job Engine
◆ Backup Exec 8.x Naming Service
◆ Backup Exec 8.x Notification Server
◆ Backup Exec 8.x Server
Note If the NetBackup device configuration is changed and the NetBackup Device
Manager service is restarted, the “Backup Exec 8.x Device & Media Service” on the
same host should also be restarted. If the Backup Exec service is not restarted,
Backup Exec restore jobs may not run, or some of the available drives may not be
used for Backup Exec restore jobs.
Redirected Restores
Please note the following:
◆ Redirected restores are not allowed when restoring files from a combination of
Backup Exec and NetBackup images.
◆ When restoring from only Backup Exec images, individual files cannot be restored to
different paths. To restore to a different path, all the files must be directed to the same
path.
◆ The restore option Restore the file using a temporary filename is not available when
restoring from Backup Exec images or from a combination of both Backup Exec and
NetBackup images.
For Backup Exec images, the following kinds of redirected restores are supported:
◆ Backups of a Windows client to the same or a different Windows client.
Note The path specified depends upon the client type of the destination machine.
Note When restoring Netware client backups to a Windows client, the NetBackup
Windows client interface (nbwin.exe), NetBackup Java interface, or the
bprestore command should be used. The NetBackup Netware client
(nbnwnt.exe) should not be used to restore Netware client backups to Windows
clients.
You can only restore to paths which have been exported in the agent.cfg file. In the
above example, you could only restore to paths under space/home or /home1 on
machine A.
Note When restoring Netware client backups to a UNIX client, use the NetBackup
Windows client interface (nbwin.exe), NetBackup Java interface, or the
bprestore command. The NetBackup Netware client (nbnwnt.exe) should not
be used to restore Netware client backups to UNIX clients.
The NetBackup user interfaces and the command lines must explicitly indicate that a list
of Backup Exec files or both Backup Exec and NetBackup files are requested. To determine
whether the correct file list options have been specified, check the bprd debug log for the
following text:
If only Backup Exec files are requested:
13:58:46.488 [4132.2140] <2> fileslist: client_flops = 524288
If both Backup Exec and NetBackup files are requested:
13:58:46.488 [4132.2140] <2> fileslist: client_flops = 1048576
If the NetBackup user interfaces are being used to browse the Backup Exec images, then
client_flops should be set correctly as above. If bplist was being used, then ensure
that the -flops parameter has been set correctly.
If the correct file browse request has reached bprd, bprd will ask bpdbm to obtain a list of
files. For Backup Exec images, bpdbm will launch bpcd on the media server that contains
the Backup Exec catalogs whose images are being browsed. This can be seen by searching
the bpdbm debug log for the following text:
13:58:46.819 [1780.3476] <2> open_file_rec_remote: host = dell_2
13:58:46.819 [1780.3476] <2> open_file_rec_remote: mediaid = BE0001
13:58:46.819 [1780.3476] <2> open_file_rec_remote: keyword = 22
13:58:46.819 [1780.3476] <2> open_file_rec_remote: path = /
13:58:46.819 [1780.3476] <2> open_file_rec_remote: client = adaj
13:58:46.819 [1780.3476] <2> open_file_rec_remote: depth = 2
13:58:46.819 [1780.3476] <2> open_file_rec_remote: dirs_only = 0
In the above text:
Host dell_2 is the name of the media server that contains the Backup Exec catalogs
corresponding to the image of client (adaj). The NetBackup image has a keyword (22)
which is the Backup Exec backupset number on the Backup Exec media having a Media
Manager media ID BE0001.
bpcd will be launched on host dell_2 and will launch bptm to obtain the ADAMM GUID
corresponding to Media Manager media ID of BE0001. This can be seen by searching the
bpcd debug log on the media server host for the following text:
13:58:47.029 [3792.2544] <2> bpcd main: BPCD_GET_FILE_REC_RQST
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received mediaid: BE0001
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received keyword: 22
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received path: /
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received client: adaj
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received dirs_only: 0
13:58:47.029 [3792.2544] <2> bpcd_get_file_rec: received depth: 2
13:58:47.029 [3792.2544] <2> createProcessWithOutput: CreateProcess of
>D:\nb\NetBackup\bin\bptm.exe -guid -ev BE0001 -cmd<
13:58:47.710 [3792.2544] <2> MediaID2MediaGuid: Backup Exec media id BE0001 has guid
{6EE3FFEF-B111-4EDD-97C1-78931D988268} (voldb: dell_2)
The above text indicates that bptm obtained the ADAMM GUID
{6EE3FFEF-B111-4EDD-97C1-78931D988268} corresponding to Media Manager media ID
BE0001 from the Media Manager volume database on host voldb (dell_2).
The text below from the bpcd debug log file indicates that two files were returned to
bpdbm:
13:58:50.023 [3792.2544] <2> BEopen_file_rec: GetNBFileList returns 2
files
bpdbm will send the file list to bprd and bprd will send the file list to the requesting user
interface or command line.
By looking at the debug logs, the exact stage where a file browse problem occurred can be
determined.
Examples
Example 1: The bplist command did not specify the -flops parameter, or the Backup
Exec Backups or the Normal and Backup Exec Backups option was not selected in the
user interface. The bprd debug log indicates that client_flops has not been set.
14:38:09.215 [3316.2376] <2> fileslist: client_flops = 0
Example 2: If the NetBackup Volume Manager service is not running on the media server
that contains the Backup Exec catalogs corresponding to the image, the bpcd and bptm
debug logs indicate the problem.
The following is from the bpcd log on the media server that contains the Backup Exec
catalogs corresponding to the image:
15:08:26.614 [3792.3596] <2> bpcd main: BPCD_GET_FILE_REC_RQST
15:08:26.614 [3792.3596] <2> bpcd_get_file_rec: received mediaid: BE0001
15:08:26.614 [3792.3596] <2> bpcd_get_file_rec: received keyword: 22
15:08:26.624 [3792.3596] <2> bpcd_get_file_rec: received path: /
15:08:26.624 [3792.3596] <2> bpcd_get_file_rec: received client: adaj
15:08:26.624 [3792.3596] <2> bpcd_get_file_rec: received dirs_only: 0
15:08:26.624 [3792.3596] <2> bpcd_get_file_rec: received depth: 3
15:08:26.644 [3792.3596] <2> createProcessWithOutput: CreateProcess of
>D:\nb\NetBackup\bin\bptm.exe -guid -ev BE0001 -cmd<
15:09:04.267 [3792.3596] <16> MediaID2MediaGuid: Error - can't get GUID from string
15:09:04.267 [3792.3596] <16> MediaID2MediaGuid: couldn't obtain media guid for Backup Exec
media id BE0001
The following is from the bptm log on the media server that contains the Backup Exec
catalogs corresponding to the image:
15:09:04.207 [4160.3616] <16> vmd_connect: unable to connect to vmd:
Error number: (10061)
15:09:04.217 [4160.3616] <16> query_one_volume: query_onevol request
status: cannot connect to vmd (70)
The previous text indicates that bptm obtained the ADAMM GUID
{6EE3FFEF-B111-4EDD-97C1-78931D988268} corresponding to Media Manager media ID
BE0001 from the Media Manager volume database on host voldb (dell_2).
A portion of the bpcd debug log below shows the Backup Exec files being added to the
restore selection list and the restore job being launched on host dell_2:
16:11:04.185 [1660.3324] <2> StartRestoreJob: adding Backup Exec path: util\mykill to
selection list
16:11:04.185 [1660.3324] <2> StartRestoreJob: adding Backup Exec file: pkill.cpp to selection
list
16:11:04.185 [1660.3324] <2> GetRedirectionDeviceAndPath: NT Share Name f$
16:11:04.185 [1660.3324] <2> SetRestoreJobProperties: Device Name: \\ADAJ\f$
16:11:04.185 [1660.3324] <2> SetRestoreJobProperties: Path: temp\be_restore
16:11:06.318 [1660.3324] <2> SetBEDrivesToUnknown: Obtained 2 drives
16:11:09.162 [1660.3324] <2> write_BE_restore_progress: sending job status message to bprd:
JOB_START:DELL_2
A portion of the bpcd debug log below shows that the Backup Exec job was successfully
completed:
16:12:17.889 [1660.3324] <2> StartBERestoreJob: Backup Exec Job Status: 5
16:12:17.889 [1660.3324] <2> write_BE_restore_progress: sending job status message to bprd:
JOB_SUCCESS
16:12:19.311 [1660.3324] <2> FreeBELibrary: Successfully unloaded beutil.dll
A portion of the bprd debug log below shows bprd receiving the JOB_START and
JOB_SUCCESS status from bpcd:
16:11:09.162 [2540.3248] <2> close_BE_restore_connection: recieved JOB_START from bpcd
16:12:17.889 [2540.3248] <2> close_BE_restore_connection: recieved JOB_SUCCESS from bpcd
16:12:17.889 [2540.3248] <2> close_BE_restore_connection: sending disconnect request to bpcdor
command line.
By looking at the debug logs, the exact stage where a file restore problem occurred can be
determined.
Examples
Example 1: If the bprestore command did not specify the -F parameter, the bprd
debug log indicates that client_flops has not been set:
16:22:54.735 [3476.2644] <2> restorefiles: clnt_flops = 0
Example 2: If the NetBackup Volume Manager service is not running on the media server
that contains the Backup Exec catalogs corresponding to the image, the bpcd and bptm
debug logs indicate the problem. The following is an example bpcd log on the media
server that contains the Backup Exec catalogs corresponding to the image:
16:25:25.918 [1600.4028] <2> bpcd main: BPCD_RESTORE_IMAGE_FILES_RQST
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: browse_client= adaj
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: requesting_client= adaj
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: destination_client= adaj
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: client_type= 13
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: mediaid= BE0001
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: keyword= 22
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: obj_desc= NULL
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: keep= 1
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: progress_file=
/G/nb/NetBackup/logs/user_ops/adonijah/logs/NBWIN008
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: rename_file= NONE
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: commit= 0
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: dirByteCount= 0
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: tempDirectory= NONE
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: mountDatabase= 0
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: beFilePathLen= 19
16:25:25.918 [1600.4028] <2> bpcd_restore_image_files: beRedirectionPath= \f$\temp\be_restore
16:25:25.918 [1600.4028] <2> createProcessWithOutput: CreateProcess of
>D:\nb\NetBackup\bin\bptm.exe -guid -ev BE0001 -cmd<
16:26:03.431 [1600.4028] <16> MediaID2MediaGuid: Error - can't get GUID from string Cannot
16:26:03.431 [1600.4028] <16> MediaID2MediaGuid: couldn't obtain media guid for Backup Exec
media id BE0001
The following is an example bptm log on the media server that contains the Backup Exec
catalogs corresponding to the image:
16:26:03.411 [3672.3924] <16> vmd_connect: unable to connect to vmd:
Error number: (10061)
16:26:03.411 [3672.3924] <16> query_one_volume: query_onevol request
status: cannot connect to vmd (70)
16:26:03.421 [3672.3924] <16> GetMediaGuid: Media Manager error 70,
cannot connect to vmd, host = dell_2
The bptm log above indicates that it could not connect to vmd, perhaps because vmd was
not running.
Example 3: If the Backup Exec services are not running on the media server that contains
the Backup Exec catalogs corresponding to the image, the progress log contains the
following text:
^ ^ ^ ^ ^
User canceled a Physical Volume Library operation.
^ ^ ^ ^ ^
User canceled a Physical Volume Library operation.
The adamm.log file in the Backup Exec install path indicates the ADAMM GUID of the
media that was required for the restore. The adamm.log file indicates whether or not the
media was misplaced. In the following example log, the text “MountMedia failure -
requested media not found” indicates that the Backup Exec media having ADAMM GUID
C4B3BBAE-8B29-4823-ACE5-EBD546E1574B was misplaced.
The Backup Exec install path can be obtained from the following registry value:
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\Backup Exec\Install\Path
This is the adamm.log file in the Backup Exec install path:
[1012] 02/05/02 13:52:07 MountMedia failure - requested media not
found.
[1012] 02/05/02 13:50:10 PvlSession::Mount(
{C4B3BBAE-8B29-4823-ACE5-EBD546E1574B}, 1, 1, 4294967295 )
Job ID = 689276194, Job Name = "Restore 2915851e"
Drive Pool = {FFFFFFFF-0000-0000-0000-000000000000} "NetBackup
Drives"
Media Set = {00000009-0004-0000-0000-000000000000} "Backup
Exec and Windows NT Backup Media"
ERROR = 0xA000810F (E_PVL_USER_ABORTED)
If the ADAMM GUID corresponding to the media id in the NetBackup Media Manager
volume database is not the same as the GUID obtained from the adamm.log, then
different ADAMM GUIDs are associated with the same media id in the NetBackup Media
Manager volume databases of the locally configured drives.
Run beconv with the -check_consistency option, to detect inconsistencies in the
NetBackup Media Manager volume database. Refer to the section “Using beconv with the
-check_consistency Option” in the NetBackup DataCenter System Administrator's Guide.
583
bpbackup log 68 bpmount log 69
bpbkar bporaexp log 66
description 529 bporaexp64 log 66
log 66, 68 bporaimp log 66
bpbkar and fsclone 99 bporaimp64 log 66
bpbkar log 68 bppfi log on client 102, 103
BPBKAR32 513, 529 bprd
bpblr description 532
description 528 bprd log 63
bpbrm bprecover 161, 162, 469, 471, 473, 474, 476,
description 529 477, 478, 481, 482, 485, 489, 490, 494,
bpbrm log 63 495, 496, 497, 498, 500, 501
BPCD 514, 522, 523 bprestore
bpcd description 532
description 529 log 67, 69
Mac client log 71 bprestore log 69
server log 63 bpsched
UNIX client log 66, 68 description 533
BPCD.NLM 530 bpsched log 63
BPCDW32 512, 521 bpsrv
BPCDW32.EXE 530 log 69
bpclntcmd utility 39 bpsrv log 69
bpdbjobs BPSRV.EXE 533
description 530 BPSYS.EXE 534
bpdbjobs log 63 bptm
bpdbm description 533
description 530 bptm log 63
bpdbm log 63
C
bpdm
Catalog recovery
description 531
identify media 495
bpdm log 63
procedure 496
bperror command 89
class database file 538
bpgetdebuglog 84
Client Backups report 61
bphdb
Client, NetBackup
description 531
activity logs
log 66
Mac clients 71
bpimport 567
configured name 555
BPINETD 513, 522
debug logs
bpinetd log 68
UNIX clients 65
bpinetd.log 68
Windows and NetWare clients 67
bpjava-msvc 531
installation problems 14
bpjava-msvc log 63, 78
multiple hostnames 555
bpjava-usvc log 78
NT disk recovery 491
bplist 568
peername 555
description 532
software location
log 66, 69
UNIX clients 526
bplist log 69
testing configuration 21, 24
bpmount
UNIX disk recovery 472
log 66
Index 585
for symbolic link 97 J
frozen image (removing) 99, 100 Java interface
fsckptadm command 99 debug logging 78
fsclone frozen image 99 troubleshooting background 76
Functional overview jbpSA, overview 534
introduction 505 Jobs database 538
Media Manager
K
device management 541
Keep Logs for 64
directories and files 545
key value 177
programs and daemons 547
startup 539 L
volume management 541 license key 116
NetBackup license problems 17, 19
backup and archive 508 links (in file list) 97
directories and files 525 Linux 13
programs and daemons 527 listing Backup Exec and NetBackup files 568
restores 518 lmfs description 548
startup 506 lmftest 560
log (bppfi) 102, 103
G
log analysis utilities
gethostbyname 213
debug logs 81
getpid 214
how to run 83
Global Logging Level 65
installation 82
Glossary. See NetBackup Help. xii
limitations 83
goodies directory 546
output format 82
goodies, directory 526
Log level
GUID 564
Macintosh clients 71
H Windows and NetWare clients 70
Help files Logs
Media Manager 546 overview 59
UNIX client 526 debug, enabling detailed 78
Host name entries, checking 35 event viewer logging option 74
host.xlate file 37, 557 Mac client activity
bpcd 71
I
inetd 71
IDR 491
media management 71
Images database 538
PC client activity
Images on Media report 61
bp 68
import 567
bparchive 68
importtrace 85
bpbackup 68
include_list
bpbkar 68
UNIX client 526
bpcd 68
inetd 13
bpinetd 68
inetd, Mac client log 71
bplist 69
installation
bpmount 69
Linux 13
bprestore 69
Installation problems 13
bpsrv 69
Intelligent Disaster Recovery (IDR) 491
nbwin 69
Introduction to troubleshooting 1
tar 69
Index 587
O NetBackup databases 473
obackup_tape log 67 NT client disk 491
odld, description 549 NT master server disk 484
odltest 560 root on master 469
Operating system errors 77 server disk 471, 490
output, redirect to a file 79 total on master 487
UNIX client disk 472
P
UNIX master server disk 468
pass-thru not supported 19
RedHat 13
patches (installing during recovery) 469,
redirect output to a file 79
485, 489, 493
Related manuals xii
pathname length 90
Release notes, online copy 527
Preliminary troubleshooting procedure 10
removing a frozen image clone 99, 100
Problems report 61
Reports, NetBackup 61
Procedures
reqlib 72
recovery
restore
master when NT intact 484
problem with sparse file 122
media server disk 471, 490
Restore process 518
NetBackup catalogs 494
NetWare client 522
NetBackup databases 473
Windows 98/95 client 521
NT client disk 491
Windows NT/2000 client 522
NT master server disk 484
restore type
root on master 469
for Backup Exec files 568
total on master 487
restoretrace 84
UNIX client disk 472
restoring Backup Exec files 568
UNIX master server disk 468
robot
troubleshooting
drive number unknown 18
communications problems 26
robot limit exceeded 19
host names and services 35
type not determined 18
installation and configuration 13
unknown 18
introduction 9
Robot drive selection 541
master server and clients 21
Robotic control daemons 539
media server and clients 24
Robotic daemons 539
preliminary 10
Robotic test utility 559
Processes (see Functional overview)
acstest 559, 561
Programs
odltest 560
Media Manager 547
RSM robot 561
NetBackup 527
tl4test 560, 561
Progress logs, user 62
tl8test 560, 561
R tldtest 560, 561
Raw partitions tlhtest 561
backup process 508 ts8test 560, 562
restore process 518 tsdtest 560, 562
Recording information 2 tshtest 560
Recovery procedures Robotic test utilitylmftest 560
importing media 474, 495 robtest 559, 561
master when NT intact 484 RSM robot 561
NetBackup catalogs 494 rsmd, description 549
Index 589
V debug logging 72
vault 91 overview 553
Verbose option 65 vnetd log 64
verifytrace 86 Volume database 546
VERITAS NetBackup xi vxassist command 97, 102
VERITAS Volume Manager 97 vxprint command 101
Version, software (see Software version, vxvm frozen image method 97
determining) vxvol command 97
vlteject 213
W
vltoffsitemedia 213
Windows Display Console 79
vltopmenu 213, 214
vltrun 211, 213 X
vm.conf file 546 xbp, overview 537
vmadm, overview 554 xinetd 13
vmd XML 66