1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="kadb_check8">
4 <refentrytitle>kadb_check</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>kadb_check</refname>
9 <refpurpose>Checks the integrity of the Authentication Database</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">kadb_check</emphasis> <emphasis role="bold">-database</emphasis> <<emphasis>kadb file</emphasis>> [<emphasis role="bold">-uheader</emphasis>] [<emphasis role="bold">-kheader</emphasis>]
14 [<emphasis role="bold">-entries</emphasis>] [<emphasis role="bold">-verbose</emphasis>] [<emphasis role="bold">-rebuild</emphasis> <<emphasis>out file</emphasis>>] [<emphasis role="bold">-help</emphasis>]</para>
16 <para><emphasis role="bold">kadb_check</emphasis> <emphasis role="bold">-d</emphasis> <<emphasis>kadb file</emphasis>> [<emphasis role="bold">-u</emphasis>] [<emphasis role="bold">-k</emphasis>] [<emphasis role="bold">-e</emphasis>] [<emphasis role="bold">-v</emphasis>]
17 [<emphasis role="bold">-r</emphasis> <<emphasis>out file</emphasis>>] [<emphasis role="bold">-h</emphasis>]</para>
21 <title>Description</title>
22 <para>The <emphasis role="bold">kadb_check</emphasis> command checks the integrity of the Protection Database,
23 reporting any errors or corruption it finds. If there are problems, do not
24 issue any <emphasis role="bold">kas</emphasis> commands until the database is repaired.</para>
28 <title>Cautions</title>
29 <para>The results can be unpredictable if the Authentication Server makes
30 changes to the Authentication Database while this command is running. Use
31 the <emphasis role="bold">bos shutdown</emphasis> command to shutdown the local <emphasis role="bold">kaserver</emphasis> process
32 before running this command, or before creating a second copy of the
33 <replaceable>kaserver.DB0</replaceable> file (with a different name) on which to run the command.</para>
37 <title>Options</title>
40 <term><emphasis role="bold">-database</emphasis> <<emphasis>kadb file</emphasis>></term>
42 <para>Names the Authentication Database (copy of the <replaceable>kaserver.DB0</replaceable> file) to
43 check. If the current working directory is not the location of the file,
44 provide a pathname, either full or relative to the current working
50 <term><emphasis role="bold">-uheader</emphasis></term>
52 <para>Displays information which Ubik maintains in the database's header.</para>
57 <term><emphasis role="bold">-kheader</emphasis></term>
59 <para>Displays information which the Authentication Server maintains in the
60 database's header.</para>
65 <term><emphasis role="bold">-entries</emphasis></term>
67 <para>Outputs every entry in the database, providing information similar to that
68 returned by the <emphasis role="bold">kas examine</emphasis> command.</para>
73 <term><emphasis role="bold">-verbose</emphasis></term>
75 <para>Reports additional information about the database, including the number of
76 free (allocated but unused) entries in the database.</para>
81 <term><emphasis role="bold">-rebuild</emphasis> <<emphasis>out file</emphasis>></term>
83 <para>Names the file in which to record a list of <emphasis role="bold">kas</emphasis> commands which, if
84 issued in the command shell, recreate the current state of the database
85 being verified. Partial pathnames are interpreted relative to the current
86 working directory.</para>
91 <term><emphasis role="bold">-help</emphasis></term>
93 <para>Prints the online help for this command. All other valid options are
101 <title>Output</title>
102 <para>If there are errors in the database, the output always reports them on the
103 standard error stream. If any options other than <emphasis role="bold">-database</emphasis> or <emphasis role="bold">-help</emphasis>
104 are provided, the output written to the standard output stream includes
105 additional information as described for each option in <link linkend="OPTIONS">OPTIONS</link>. The
106 output is intended for debugging purposes and is meaningful to someone
107 familiar with the internal structure of the Authentication Database.</para>
111 <title>Privilege Required</title>
112 <para>The issuer must be logged in as the local superuser <computeroutput>root</computeroutput>.</para>
116 <title>See Also</title>
117 <para><link linkend="kaserver_DB05">kaserver.DB0(5)</link>,
118 <link linkend="bos_shutdown8">bos_shutdown(8)</link>,
119 <link linkend="kas_examine8">kas_examine(8)</link>,
120 <link linkend="kaserver8">kaserver(8)</link></para>
124 <title>Copyright</title>
125 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
127 <para>This documentation is covered by the IBM Public License Version 1.0. It was
128 converted from HTML to POD by software written by Chas Williams and Russ
129 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>