Dbverify (Checks For Corrupt Databases) - Red Hat DIRECTORY SERVER 8.0 Command Reference Manual

Hide thumbs Also See for DIRECTORY SERVER 8.0:
Table of Contents

Advertisement

Option
-D bindDn
-h host
-i changelogFile
-o outputFile
-p port
-P bindCert
-r replicaRoots
-v
-w bindPassword
Table 7.5. cl-dump Options
For information on the equivalent Perl script, see
Changelog)".

7.3.3. dbverify (Checks for Corrupt Databases)

Verifies the backend database files. If the server crashes because of a corrupted database, this
command can be used to verify the integrity of the different database files to help isolate any
problems.
IMPORTANT
Never run dbverify 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.
dbverify (Checks for Corrupt Databases)
Description
Specifies the Directory Server's bind DN.
Defaults to cn=Directory Manager if the
option is omitted.
Specifies the Directory Server's host. This
defaults to the server where the script is running.
Specifies the path to the changelog file. If there is
a changelog file and if certain changes in that file
are base-64 encoded, use this option to decode
that changelog.
Specifies the path, including the filename, for the
final result. Defaults to STDOUT if omitted.
Specifies the Directory Server's port. The default
value is 389.
Specifies the path, including the filename, to the
certificate database that contains the certificate
used for binding.
Specifies the replica-roots whose changelog
to dump. When specifying multiple roots, use
commas to separate roots. If the option is
omitted, all the replica roots will be dumped.
Prints the version of the script.
Specifies the password for the bind DN.
Section 7.4.2, "cl-dump.pl (Dumps and Decodes the
207

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTORY SERVER 8.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents