This preview shows page 126 - 130 out of 154 pages.
/usr/openv/netbackup/logs/bpdbsbdb2■bpdb2For any backup or restore of the database and orLOGARCHMETH2=VENDORlog backups./usr/openv/netbackup/logs/bpdb2126Troubleshooting NetBackup for DB2Enabling the debug logs manually (UNIX)
■bpbkarFor any snapshot backup and or user-exit log backup./usr/openv/netbackup/logs/bpbkar■nbtarFor any snapshot restore and or user-exit log restore./usr/openv/netbackup/logs/tar2Verify the user or group that the DB2 process (process that loadsbpdb2) hasappropriate permissions to write to the following directories if they exist. If thefollowing directories do not exist, the directories are created automatically withthe correct permissions./usr/openv/logs/user_ops/usr/openv/logs/user_ops/dbext/usr/openv/logs/user_ops/dbext/logsAlso verify that the user or group that the DB2 process runs as has appropriatepermissions to write to the log directories in step 1.3On the NetBackup server or servers, create the debug log directories for thelegacy processes that interact with the DB2 agent.On the master server:/usr/openv/logs/bprdOn the media server or servers:/usr/openv/logs/bpbrm/usr/openv/logs/bptm4The debug logs for unified processes on the server and the client hosts arecreated automatically by NetBackup.NetBackup writes unified logs to/usr/openv/logs.For information on how to use logs and reports, see theNetBackupTroubleshooting Guide.127Troubleshooting NetBackup for DB2Enabling the debug logs manually (UNIX)
Enabling the debug logs manually (UNIX)To enable the debug logs manually1Create the following directories on the client:/usr/openv/netbackup/logs/bpbackup/usr/openv/netbackup/logs/bpbkar/usr/openv/netbackup/logs/bpdb2/usr/openv/netbackup/logs/bpdbsdb2/usr/openv/netbackup/logs/bphdb/usr/openv/netbackup/logs/bprestore/usr/openv/netbackup/logs/bpubsdb2/usr/openv/netbackup/logs/dbclient/usr/openv/netbackup/logs/tar/usr/openv/netbackup/logs/bpdb2chmod 777 /usr/openv/netbackup/logs/bpdb2For example:cd /usr/openv/netbackup/logsmkdir bphdb2Theuser_ops, each of the log directories, and any subdirectories should have777 permissions. They must exist and be accessible for the applications tooperate correctly.For example:chmod 777 bphdbSee“About permissions for NetBackup for DB2 log files (UNIX)”on page 24.3Enable logging for thenbpem,nbjm, andnbrbscheduling processes that useunified logging.NetBackup writes unified logs to/usr/openv/logs.You do not need to create log directories for processes that use unified logging.Information on how to use logs and reports is available.See theNetBackup Troubleshooting Guide.128Troubleshooting NetBackup for DB2Enabling the debug logs manually (UNIX)
About the NetBackup for DB2 log filesThe following topics describe the logs that are created when you create the logdirectories. Use a text editor to view the contents of the logs.