Problem
NetBackup upgrade is failing during the nbcheck phase related to checks for the NetBackup web services.
Error Message
Several checks are performed, any of which might find a problem. The unique messages for each step are detailed below.
This test checks for a match between the web services (nbwmc) update time and the NetBackup database (nbdb) update time. Specifically, it checks the time stamp of the web.conf file and the i_nbdbinfo.dat file.
The times must either match or the web.conf file can have a later update time.
Refer to the following article for more details:
https://www.veritas.com/support/en_US/article.100045508
This error indicates that the credentials are missing from one of two expected files:
not ok nbwmc_and_nb_dbsrv_mod_time_match: i_nbdbinfo.dat or web.conf file is missing.
This error indicates that the credentials have been updated, but not yet made available to the web services:
not ok nbwmc_and_nb_dbsrv_mod_time_match: The i_nbdbinfo.dat and web.conf files were updated independently.
The i_nbdbinfo.dat file was modified after the web.conf file.
Cause
At upgrade time, nbcheck ensures that someone has not updated the credentials to access the NetBackup relational database instance without also providing those updated credentials to the web services. If the credentials are not correct, web services will not be able to respond to certificate requests and other queries after the upgrade.
Solution
To resolve the error, the NBDB database must be updated.
1. Perform a NetBackup Catalog Backup.
2. Update the NetBackup database password using the command below:
- On UNIX: /usr/openv/db/bin/nbdb_admin -dba new_password
- On Windows: install_path\NetBackup\bin\nbdb_admin -dba new_password
For more information see the topic "Changing the NetBackup database password" in the NetBackup Administrator's Guide, Volume 1 for the installed version of NetBackup.
Note: A NetBackup upgrade from a version earlier than 10.2 fails if the NBDB database password contains the following special characters:
'%' (or) '/' (or) ':'
Please avoid using these characters when updating the NBDB password.