Configuring and gathering logs when troubleshooting Java GUI issues
Once installed, the log levels for the Java-based administration console are configured to gather a detailed set of logs.
The NetBackup Java GUI uses the Debug.properties file to determine which logging level to use.
On UNIX systems, the file is: /usr/openv/java/Debug.properties
On Windows systems, the file is: install_dir\VERITAS\Java\Debug.properties
Specifically, the following settings are tuned to enable additional logging (these are the default values):
printcmds=true debugMask=0x00040000
To increase the verbosity to max (which is recommended for troubleshooting), set debugMask to debugMask=0x00160000.
Gather the following Java console logs from the following pre-existing log directories on the system from which the GUI was started:
UNIX:
/usr/openv/netbackup/logs/user_ops/nbjlogsWindows:
install directory\netbackup\logs\user|ops\nbjlogs
On the master server, log in through the Java-based administration console to create the
admin,bpjava-msvc,bpjava-susvc, and bpjava-usvc log directories and enable VERBOSE 5 logging. You do not have to restart the NetBackup daemons for the logging level changes to take effect.For UNIX systems, create the following directories:
/usr/openv/netbackup/logs/admin/usr/openv/netbackup/logs/bpjava-msvc/usr/openv/netbackup/logs/bpjava-susvc/usr/openv/netbackup/logs/bpjava-usvc
Edit the
/usr/openv/netbackup/bp.conffile by adding the following lines:ADMIN_VERBOSE = 5 BPJAVA-MSVC_VERBOSE = 5 BPJAVA-SUSVC_VERBOSE = 5 BPJAVA-USVC_VERBOSE = 5
For Windows systems, create the following directories:
install_dir\VERITAS\NetBackup\logs\admininstall_dir\VERITAS\NetBackup\logs\bpjava-msvcinstall_dir\VERITAS\NetBackup\logs\bpjava-susvcinstall_dir\VERITAS\NetBackup\logs\bpjava-usvc
Update the Windows registry at and add the following entries of type DWORD:
ADMIN_VERBOSE = 5 BPJAVA-MSVC_VERBOSE = 5 BPJAVA-SUSVC_VERBOSE = 5 BPJAVA-USVC_VERBOSE = 5
Run the following commands to set up detailed nbatd (OID 18) and nbsl (OID 132) logging. OID 137 (NetBackup libraries) and OID 156 (CORBA/ACE) write to the caller that requires access to either the libraries or CORBA/ACE, as follows:
vxlogcfg -a -p NB -o 18 -s DebugLevel=6 vxlogcfg -a -p NB -o 132 -s DebugLevel=6 vxlogcfg -a -p NB -o 137 -s DebugLevel=6 vxlogcfg -a -p NB -o 156 -s DebugLevel=6
Gather the nbatd and nbsl logs located in the following directory paths:
For UNIX:
/usr/openv/logs/nbsl
/usr/openv/logs/nbatd
For Windows:
install_dir\VERITAS\NetBackup\logs\nbsl
install_dir\VERITAS\NetBackup\logs\nbatd
Finally, gather the PBX logs, as follows:
For UNIX: /opt/VRTSpbx/log (gather any logs that cover the current date/time)
For Windows: install_dir\VERITAS\pbx\log