Important, Syntax, Options – Red Hat 8.1 User Manual

Page 239: Table 7.34. verify-db.pl options

Advertising
background image

IMPORTANT

Never run verify-db.pl 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: Database
verification failed
Secondary index file uid.db4 in db/mstest2 is corrupted.
Please run db2index(.pl) for reindexing.

Run db2index -t uid to avoid rebuilding all of the indexes or export and reimport all of the
databases using db2ldif and ldif2db.

Syntax

verify-db.pl [ -a /path/to/database_directory ] [ -? ]

Options

Table 7.34 . verify-db.pl Options

Option

Description

-a path

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/lib/dirsrv/slapd-instance_name/db.

-?

Opens the help page.

Red Hat Directory Server 8.1 Configuration and Command Reference

239

Advertising