.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "PRDB_CHECK 8" .TH PRDB_CHECK 8 2024-03-20 OpenAFS "AFS Command Reference" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME prdb_check \- Checks the integrity of the Protection Database .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBprdb_check\fR \fB\-database\fR\ <\fIptdb\ file\fR> [\fB\-uheader\fR] [\fB\-pheader\fR] [\fB\-entries\fR] [\fB\-verbose\fR] [\fB\-help\fR] .PP \&\fBprdb_check\fR \fB\-d\fR\ <\fIptdb\ file\fR> [\fB\-u\fR] [\fB\-p\fR] [\fB\-e\fR] [\fB\-v\fR] [\fB\-h\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBprdb_check\fR command checks the integrity of the Protection Database, reporting any errors or corruption it finds. If there are problems, do not issue any \fBpts\fR commands until the database is repaired. .SH CAUTIONS .IX Header "CAUTIONS" The results can be unpredictable if the Protection Server makes changes to the Protection Database while this command is running. Use the \fBbos shutdown\fR command to shutdown the local \fBptserver\fR process before running this command, or before creating a second copy of the \fIprdb.DB0\fR file (with a different name) on which to run the command. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-database\fR <\fIptdb file\fR>" 4 .IX Item "-database " Names the Protection Database (copy of the \fIprdb.DB0\fR file) to check. If the current working directory is not the location of the file, provide a pathname, either full or relative to the current working directory. .IP \fB\-uheader\fR 4 .IX Item "-uheader" Displays information which Ubik maintains in the database's header. .IP \fB\-pheader\fR 4 .IX Item "-pheader" Displays information which the Protection Server maintains in the database's header. .IP \fB\-entries\fR 4 .IX Item "-entries" Outputs every entry in the database. Some of the information is similar to that returned by the \fBpts examine\fR command. .IP \fB\-verbose\fR 4 .IX Item "-verbose" Reports additional information about the database, including the number of entries in the database and a trace of the internal database structures the command is verifying. .IP \fB\-help\fR 4 .IX Item "-help" Prints the online help for this command. All other valid options are ignored. .SH OUTPUT .IX Header "OUTPUT" If there are errors in the database, the output always reports them on the standard error stream. If any options other than \fB\-database\fR or \fB\-help\fR are provided, the output written to the standard output stream includes additional information as described for each option in "OPTIONS". The output is intended for debugging purposes and is meaningful to someone familiar with the internal structure of the Protection Database. .SH "PRIVILEGE REQUIRED" .IX Header "PRIVILEGE REQUIRED" The issuer must be logged in as the local superuser \f(CW\*(C`root\*(C'\fR. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBprdb.DB0\fR\|(5), \&\fBbos_shutdown\fR\|(8), \&\fBpts_examine\fR\|(1), \&\fBptserver\fR\|(8) .SH COPYRIGHT .IX Header "COPYRIGHT" IBM Corporation 2000. All Rights Reserved. .PP This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.