3 prdb_check - Checks the integrity of the Protection Database
7 B<prdb_check> B<-database> <I<ptdb file>> [B<-uheader>] [B<-pheader>]
8 [B<-entries>] [B<-verbose>] [B<-help>]
10 B<prdb_check> B<-d> <I<ptdb file>> [B<-u>] [B<-p>] [B<-e>] [B<-v>] [B<-h>]
14 The B<prdb_check> command checks the integrity of the Protection Database,
15 reporting any errors or corruption it finds. If there are problems, do not
16 issue any B<pts> commands until the database is repaired.
20 The results can be unpredictable if the Protection Server makes changes to
21 the Protection Database while this command is running. Use the B<bos
22 shutdown> command to shutdown the local B<ptserver> process before running
23 this command, or before creating a second copy of the F<prdb.DB0> file
24 (with a different name) on which to run the command.
30 =item B<-database> <I<ptdb file>>
32 Names the Protection Database (copy of the F<prdb.DB0> file) to check. If
33 the current working directory is not the location of the file, provide a
34 pathname, either full or relative to the current working directory.
38 Displays information which Ubik maintains in the database's header.
42 Displays information which the Protection Server maintains in the
47 Outputs every entry in the database. Some of the information is similar to
48 that returned by the B<pts examine> command.
52 Reports additional information about the database, including the number of
53 entries in the database and a trace of the internal database structures
54 the command is verifying.
58 Prints the online help for this command. All other valid options are
65 If there are errors in the database, the output always reports them on the
66 standard error stream. If any options other than B<-database> or B<-help>
67 are provided, the output written to the standard output stream includes
68 additional information as described for each option in L<OPTIONS>. The
69 output is intended for debugging purposes and is meaningful to someone
70 familiar with the internal structure of the Protection Database.
72 =head1 PRIVILEGE REQUIRED
74 The issuer must be logged in as the local superuser C<root>.
85 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
87 This documentation is covered by the IBM Public License Version 1.0. It was
88 converted from HTML to POD by software written by Chas Williams and Russ
89 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.