Documentation How To Enable Logging To Troubleshoot NetBackup Oracle Backups On Unix-Windows
Documentation How To Enable Logging To Troubleshoot NetBackup Oracle Backups On Unix-Windows
htm
By default, log files are placed in the <install_path>\veritas\netbackup\logs (Windows) and /usr/openv
/netbackup/logs (UNIX/Linux) directories on a NetBackup server. NetBackup logs can grow quite large, and
it may be necessary to move the log location. To do this, please refer to TechNote 239186 ( (Optional Email Address)
http://support.veritas.com/docs/239186 ). This TechNote covers the way in which Symantec log files are relocated on
a Windows server. For information on how to relocate logs on a UNIX master or media ser r, please refer to
TechNote 266619 ( http://support.veritas.com/docs/266619 ).
NOTE: Comments entered here will NOT
To enable logging on any of the NetBackup processes, a subdirectory must be created in the NetBackup logs receive support services. If you need
Symantec Enterprise product support,
directory on the NetBackup host. please click here.
Unix: /usr/openv/netbackup/logs
Windows: <install_path>\Veritas\NetBackup\logs
The following log folders should be created on the Oracle client server:
dbclient: This log contains debugging information and execution status for the NetBackup Oracle client
processes. Ensure Oracle user has permissions to read/write to the directory.
bpdbsbora: This log contains debugging information and execution status for the bpdbsbora utility.
bphdb: This log contains debugging information for the process that executes the backup/restore script or
template. The obk_stdout and obk_stderr logs contain the stdout and stderr from the script if it does not
redirect those outputs elsewhere.
user_ops: This directory is created automatically and must remain readable and writeable by the Oracle
user. The comm and progress files therein are updated by the NetBackup server processes as the backup or
restore progresses.
bpcd: This log contains debugging information for the connection attempts to update the comm and progress
files.
bptm: The bptm process handles interactions with the tape device. If backing up to a disk storage unit, the
bpdm folder should be created. At NetBackup 6.5 and above, both bptm and bpdm are used for disk
storage units.
In order to ensure logs are sufficiently verbose, it is usually necessary to change the debug levels on all
involved machines and then stop and restart all the NetBackup services to pick up the change. To set the
debugging level, go into the Backup, Archive and Restore GUI, and select File | NetBackup Client
1 of 3 7/28/2010 3:54 PM
DOCUMENTATION: How to enable logging to troubleshoot NetBackup ... http://seer.entsupport.symantec.com/docs/267963.htm
Properties, and click on the Troubleshooting tab. Increase the General, Verbose, and Database levels to
5. On Unix, the debug level can be changed by editing the bp.conf file and adding the following line:
VERBOSE = 5
If the problem is a performance issue, use VERBOSE = 6 to display delays between dbclient and Oracle.
(This applies only to 5.x and 6.5.4 and above).
Once logging is enabled, run the backup or restore, and collect and send the following information for the
Support Engineer to review:
1. Collect the logs from the above directories, making sure to rename the files to reflect the folder from which
the log comes, and forward to the Support Engineer
2. In addition, on the Oracle client, send the script file (rename it to .txt so it isn't stripped off by anti-virus
software), the Recovery Manager (RMAN) output file, the initSID.ora file, and the zipped contents of the
user_ops directory.
3. In the bphdb directory, there should be two additional sets of files, oracle_stdout.<date> and
oracle_stderr.<date>. Send these files from the date of the backup or restore attempt.
4. Note the names each of the machines
Additionally, it is extremely helpful to have basic system and configuration information from each of the
servers involved in the backup or restore. For NetBackup 6.x and above, run nbsu on the servers. nbsu
should also be run on clients at the 6.5.4 and above versions/release updates. If nbsu is not available, run
the older support program on UNIX servers or download and run the nbsupport utility on Windows servers.
After downloading the file, uncompress it to the folder of your choice on the hard drive of the SQL server, as
well as the master and media servers, if they are also Windows servers. After it finishes uncompressing, go
to a command prompt, and change to the directory where the software was placed. Once at the correct
directory, run the nbsupport command, which will generate a .cab file and place it in an output folder in the
directory with the nbsupport file. Send the resulting .cab file(s) to the Support Engineer.
Related Documents:
239186: DOCUMENTATION: How to manually change the path where NetBackup log files are located.
http://support.veritas.com/docs/239186
266619: DOCUMENTATION: Best Practice recommendations for enabling and gathering VERITAS
NetBackup (tm) 4.5 and 5.x logging.
http://support.veritas.com/docs/266619
278388: DOCUMENTATION: How to troubleshoot Oracle backup problems in NetBackup 4.5 and 5.x
http://support.veritas.com/docs/278388
Languages:
English (US)
Operating Systems:
Windows Server 2003
Standard Server
2 of 3 7/28/2010 3:54 PM
DOCUMENTATION: How to enable logging to troubleshoot NetBackup ... http://seer.entsupport.symantec.com/docs/267963.htm
THE INFORMATION PROVIDED IN THE SYMANTEC SOFTWARE KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
SYMANTEC SOFTWARE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYMANTEC SOFTWARE OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES
WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES,EVEN IF
SYMANTEC SOFTWARE OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
3 of 3 7/28/2010 3:54 PM