The NetBackup database does not restart with a reboot of the system, but it can be manually started.
Problem
The Veritas NetBackup database does not restart with a reboot of the system, but it can be manually started.
Error Message
N/A - The NBDB (NetBackup database) does not restart with a reboot of the system, but it can be manually started.
Cause
Suspect there is a problem with the database and/or related log, potentially the information in the databases.conf file is incorrect, missing, or the file is corrupt.
Troubleshooting:
Initiate the nbdb_ping
command (found in /usr/openv/db/bin on a UNIX/Linux server, and in the install_path\veritas\db\bin directory on a Windows server) and see if the database is available. Then check the databases.conf file (found in the /usr/openv/var/global/ directory on a UNIX/Linux server, and in the install_path\veritas\netbackupdb\conf directory on a Windows server) and see what data it contains.
Solution
The databases.conf file should contain the directory path to the NBDB database, and the contents should be similar to the following:
UNIX/Linux:
If BMR is not configured,# cat databases.conf
"/usr/openv/db/data/NBDB.db" -n NBDB
"/usr/openv/db/data/NBAZDB.db" -n NBAZDB
If BMR is configured,# cat databases.conf
"/usr/openv/db/data/NBDB.db" -n NBDB
"/usr/openv/db/data/NBAZDB.db" -n NBAZDB
"/usr/openv/db/data/BMRDB.db" -n BMRDB
Windows:
If BMR is not configured,C:\VERITAS\NetBackupDB\conf>type databases.conf
"C:\VERITAS\NetBackupDB\data\NBDB.db" -n NBDB
"C:\VERITAS\NetBackupDB\data\NBAZDB.db" -n NBAZDB
If BMR is configured,C:\VERITAS\NetBackupDB\conf>type databases.conf
"C:\VERITAS\NetBackupDB\data\NBDB.db" -n NBDB
"C:\VERITAS\NetBackupDB\data\NBAZDB.db" -n NBAZDB
"C:\VERITAS\NetBackupDB\data\BMRDB.db" -n BMRDB
If the nbdb_ping
command indicates NBDB is not available, and the information in the databases.conf file is incorrect (or the file is corrupt), perform the following:
- Search the hard drive for the location of the nbdb.db file, and make note of it.
- Rename the existing databases.conf to databases.old.
- Create a blank databases.conf file.
- Open the databases.conf file in a text editor, and enter the path to the nbdb.db file, as well as the file name in double quotes, and then append the entries without the quotation marks, as shown above.
- Alternatively, you can have NetBackup add the proper entry via the command
nbdb_admin -auto_start NBDB
- From a command prompt, restart the nbdb database by issuing the
nbdb_admin -start NBDB
command (from the /usr/openv/db/bin directory on a UNIX/Linux server or the <install_path>\veritas\netbackup\bin directory on a Windows server).