1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="bos_getlog8">
4 <refentrytitle>bos getlog</refentrytitle>
5 <manvolnum>8</manvolnum>
8 <refname>bos getlog</refname>
9 <refpurpose>Prints a server process's log file</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">bos getlog</emphasis> <emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>> <emphasis role="bold">-file</emphasis> <<emphasis>log file to examine</emphasis>>
14 [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-help</emphasis>]</para>
16 <para><emphasis role="bold">bos getl</emphasis> <emphasis role="bold">-s</emphasis> <<emphasis>machine name</emphasis>> <emphasis role="bold">-f</emphasis> <<emphasis>log file to examine</emphasis>>
17 [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-n</emphasis>] [<emphasis role="bold">-l</emphasis>] [<emphasis role="bold">-h</emphasis>]</para>
21 <title>Description</title>
22 <para>The <emphasis role="bold">bos getlog</emphasis> command displays on the standard output stream the
23 specified log file from the machine named by the <emphasis role="bold">-server</emphasis> argument. The
24 BOS Server fetches the log file from the <replaceable>/usr/afs/logs</replaceable> directory unless
25 an alternate pathname is provided as part of the <emphasis role="bold">-file</emphasis> argument.</para>
29 <title>Cautions</title>
30 <para>Log files can grow quite large, especially for the database server
31 processes. To keep them to a manageable size, periodically either use the
32 UNIX <emphasis role="bold">rm</emphasis> command to truncate each log file, or use the <emphasis role="bold">bos restart</emphasis>
33 command to restart each process.</para>
35 <para>It can take up to five minutes after the file is removed or process
36 restarted for the space occupied by a log file to become available.</para>
40 <title>Options</title>
43 <term><emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>></term>
45 <para>Indicates the server machine from which to retrieve the log file.
46 Identify the machine by IP address or its host name (either
47 fully-qualified or abbreviated unambiguously). For details, see <link linkend="bos8">bos(8)</link>.</para>
52 <term><emphasis role="bold">-file</emphasis> <<emphasis>log file to examine</emphasis>></term>
54 <para>Names the log file to display. If a filename only is provided, the BOS
55 Server fetches the log file from the <replaceable>/usr/afs/logs</replaceable> directory; the
56 standard values are:</para>
60 <term><replaceable>AuthLog</replaceable></term>
62 <para>The Authentication Server (<emphasis role="bold">kaserver</emphasis>) log file.</para>
67 <term><replaceable>BackupLog</replaceable></term>
69 <para>The Backup Server (<emphasis role="bold">buserver</emphasis>) log file.</para>
74 <term><replaceable>BosLog</replaceable></term>
76 <para>The BOS Server (<emphasis role="bold">bosserver</emphasis>) log file.</para>
81 <term><replaceable>FileLog</replaceable></term>
83 <para>The File Server (<emphasis role="bold">fileserver</emphasis>) log file.</para>
88 <term><replaceable>SalvageLog</replaceable></term>
90 <para>The Salvager (<emphasis role="bold">salvager</emphasis>) log file.</para>
95 <term><replaceable>VLLog</replaceable></term>
97 <para>The Volume Location (VL) Server (<emphasis role="bold">vlserver</emphasis>) log file.</para>
102 <term><replaceable>VolserLog</replaceable></term>
104 <para>The Volume Server (<emphasis role="bold">volserver</emphasis>) log file.</para>
109 <para>If a pathname and filename are provided, the log file is retrieved from
110 the indicated directory. Partial pathnames are interpreted relative to the
111 <replaceable>/usr/afs/logs</replaceable> directory.</para>
116 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
118 <para>Names the cell in which to run the command. Do not combine this argument
119 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="bos8">bos(8)</link>.</para>
124 <term><emphasis role="bold">-noauth</emphasis></term>
126 <para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. Do not
127 combine this flag with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see
128 <link linkend="bos8">bos(8)</link>.</para>
133 <term><emphasis role="bold">-localauth</emphasis></term>
135 <para>Constructs a server ticket using a key from the local
136 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">bos</emphasis> command interpreter presents the
137 ticket to the BOS Server during mutual authentication. Do not combine this
138 flag with the <emphasis role="bold">-cell</emphasis> or <emphasis role="bold">-noauth</emphasis> options. For more details, see
139 <link linkend="bos8">bos(8)</link>.</para>
144 <term><emphasis role="bold">-help</emphasis></term>
146 <para>Prints the online help for this command. All other valid options are
154 <title>Output</title>
155 <para>The output is preceded by the line</para>
158 Fetching log file '&lt;filename&gt;'...
161 <para>The remainder of the output depends on the particular log file.</para>
165 <title>Examples</title>
166 <para>The following example displays the FileLog file from the machine
167 <computeroutput>fs3.abc.com</computeroutput>:</para>
170 % bos getlog -server fs3.abc.com -file FileLog
171 Fetching log file 'FileLog'...
172 Sun Nov 8 04:00:34 1998 File server starting
173 Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
174 0 volumes not attached
175 Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
177 Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
178 failed for host 28cf37c0.22811
183 <title>Privilege Required</title>
184 <para>The issuer must be listed in the <replaceable>/usr/afs/etc/UserList</replaceable> file on the
185 machine named by the <emphasis role="bold">-server</emphasis> argument, or must be logged onto a server
186 machine as the local superuser <computeroutput>root</computeroutput> if the <emphasis role="bold">-localauth</emphasis> flag is
191 <title>See Also</title>
192 <para><link linkend="bos8">bos(8)</link></para>
196 <title>Copyright</title>
197 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
199 <para>This documentation is covered by the IBM Public License Version 1.0. It was
200 converted from HTML to POD by software written by Chas Williams and Russ
201 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>