1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
3 <TITLE>Administration Reference</TITLE>
4 <!-- Begin Header Records ========================================== -->
5 <!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
6 <!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
7 <META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
8 <META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
9 <META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
11 <!-- (C) IBM Corporation 2000. All Rights Reserved -->
12 <BODY bgcolor="ffffff">
13 <!-- End Header Records ============================================ -->
14 <A NAME="Top_Of_Page"></A>
15 <H1>Administration Reference</H1>
16 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf208.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf210.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
18 <H2><A NAME="HDRPRDB_CHECK" HREF="auarf002.htm#ToC_223">prdb_check</A></H2>
19 <A NAME="IDX5217"></A>
20 <A NAME="IDX5218"></A>
21 <A NAME="IDX5219"></A>
22 <P><STRONG>Purpose</STRONG>
23 <P>Checks the integrity of the Protection Database
24 <P><STRONG>Synopsis</STRONG>
25 <PRE><B>prdb_check -database</B> <<VAR>ptdb_file</VAR>> [<B>-uheader</B>] [<B>-pheader</B>] [<B>-entries</B>]
26 [<B>-verbose</B>] [<B>-help</B>]
28 <B>prdb_check -d</B> <<VAR>ptdb_file</VAR>> [<B>-u</B>] [<B>-p</B>] [<B>-e</B>] [<B>-v</B>] [<B>-h</B>]
30 <P><STRONG>Description</STRONG>
31 <P>The <B>prdb_check</B> command checks the integrity of the Protection
32 Database, reporting any errors or corruption it finds. If there are
33 problems, do not issue any <B>pts</B> commands until the database is
35 <P><STRONG>Cautions</STRONG>
36 <P>The results can be unpredictable if the Protection Server makes changes to
37 the Protection Database while this command is running. Use the <B>bos
38 shutdown</B> command to shutdown the local <B>ptserver</B> process
39 before running this command, or before creating a second copy of the
40 <B>prdb.DB0</B> file (with a different name) on which to run the
42 <P><STRONG>Options</STRONG>
45 </B><DD>Names the Protection Database (copy of the <B>prdb.DB0</B>
46 file) to check. If the current working directory is not the location of
47 the file, provide a pathname, either full or relative to the current working
50 </B><DD>Displays information which Ubik maintains in the database's
53 </B><DD>Displays information which the Protection Server maintains in the
56 </B><DD>Outputs every entry in the database. Some of the information is
57 similar to that returned by the <B>pts examine</B> command.
59 </B><DD>Reports additional information about the database, including the number of
60 entries in the database and a trace of the internal database structures the
63 </B><DD>Prints the online help for this command. All other valid options
66 <P><STRONG>Output</STRONG>
67 <P>If there are errors in the database, the output always reports them on the
68 standard error stream. If any options other than <B>-database</B>
69 or <B>-help</B> are provided, the output written to the standard output
70 stream includes additional information as described for each option in the
71 preceding <B>Options</B> section of this reference page. The output
72 is intended for debugging purposes and is meaningful to someone familiar with
73 the internal structure of the Protection Database.
74 <P><STRONG>Privilege Required</STRONG>
75 <P>The issuer must be logged in as the local superuser <B>root</B>.
76 <P><STRONG>Related Information</STRONG>
77 <P><A HREF="auarf047.htm#HDRPRDBDB">prdb.DB0 and prdb.DBSYS1</A>
78 <P><A HREF="auarf118.htm#HDRBOS_SHUTDOWN">bos shutdown</A>
79 <P><A HREF="auarf217.htm#HDRPTS_EXAMINE">pts examine</A>
80 <P><A HREF="auarf227.htm#HDRPTSERVER">ptserver</A>
82 <HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf208.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf210.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
83 <!-- Begin Footer Records ========================================== -->
85 <br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
87 <!-- End Footer Records ============================================ -->
88 <A NAME="Bot_Of_Page"></A>