Purpose
Checks the integrity of the Protection Database
Synopsis
prdb_check -database <ptdb_file> [-uheader] [-pheader] [-entries] [-verbose] [-help] prdb_check -d <ptdb_file> [-u] [-p] [-e] [-v] [-h]
Description
The prdb_check command checks the integrity of the Protection Database, reporting any errors or corruption it finds. If there are problems, do not issue any pts commands until the database is repaired.
Cautions
The results can be unpredictable if the Protection Server makes changes to the Protection Database while this command is running. Use the bos shutdown command to shutdown the local ptserver process before running this command, or before creating a second copy of the prdb.DB0 file (with a different name) on which to run the command.
Options
Output
If there are errors in the database, the output always reports them on the standard error stream. If any options other than -database or -help are provided, the output written to the standard output stream includes additional information as described for each option in the preceding Options section of this reference page. The output is intended for debugging purposes and is meaningful to someone familiar with the internal structure of the Protection Database.
Privilege Required
The issuer must be logged in as the local superuser root.
Related Information