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

Table 7-5 cl-dump options (continued)
DescriptionOption
Specifies the path, including the file name, for the final result. Defaults to STDOUT if omitted.-o outputFile
Specifies the Directory Server's port. The default value is 389.-p port
Specifies the path, including the file name, to the certificate database that contains the certificate
used for binding.
-P bindCert
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.
-r replicaRoots
Prints the version of the script.-v
Specifies the password for the bind DN.
-w bindPassword
For information on the equivalent Perl script, see “cl-dump.pl (Dumps and decodes the
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 the dbverify command when a modify operation is in progress. This command
calls the BerkeleyDB utility db_verify command 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 utilty to avoid rebuilding all the indexes or export and reimport
all the databases using the db2ldif and ldif2db utilities.
dbverify is a shell script wrapper of the verify-db.pl utility to set the appropriate library
path.
Syntax
dbverify [ -n backendInstance] [-V]
Options
Table 7-6 dbverify options
DescriptionOption
Gives the name of a backend instance, such as userRoot. If the -n option is not used, then
all databases are verified..
-n backendInstance
Verbose-V
For information on the equivalent Perl script, see “verify-db.pl (Check for corrupt databases)”.
218 Command-line scripts