March 31, 2017
verify-db.pl - Directory Server perl script for verifying the database.
verify-db.pl [-Z serverID] [ -a path ] [-h]
Verifies the backend database files. If the server crashes because of a corrupted database, this script can be used to verify the integrity of the different database files to help isolate any problems.
A summary of options is included below:
|-Z Server Identifier|
|The server ID of the Directory Server instance. If there is only one instance on the system, this option can be skipped.|
|-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.|
|verify-db.pl -Z instance2 -a /var/lib/dirsrv/slapd-instance2/db|
Exit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
verify-db.pl was written by the 389 Project.
Report bugs to https://pagure.io/389-ds-base/new_issue
Copyright © 2017 Red Hat, Inc.