HP-UX Directory Server 8.1 configuration, command, and file reference

IMPORTANT:
Never run the verify-db.pl script when a modify operation is in progress. This command
calls the BerkeleyDB utility db_verify and does not perform any locking. This can lead to data
corruption if the script is run at the same time as a modify. If that occurs, an entry will be recorded
in the error log:
DB ERROR: db_verify: Page 3527: out-of-order key at entry 42
DB ERROR: db_verify: DB->verify: db/mstest2/uid.db4: DB_VERIFY_BAD: Data\
base
verification failed
Secondary index file uid.db4 in db/mstest2 is corrupted.
Please run db2index(.pl) for reindexing.
Run the db2index -t uid utility to avoid rebuilding all the indexes or export and reimport
all the databases using db2ldif and ldif2db scripts.
Syntax
verify-db.pl [ -a /path/to/database_directory] [ -? ]
Options
Table 7-34 verify-db.pl option
DescriptionOption
Gives the path to the database directory. If this option is not passed with the verify-db.pl
command, then it uses the default database directory,
/var/opt/dirsrv/slapd-instance_name/db.
-a path
Usage information.-?
238 Command-line scripts