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="auarf101.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="auarf103.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="HDRBOS_GETLOG" HREF="auarf002.htm#ToC_116">bos getlog</A></H2>
19 <A NAME="IDX4527"></A>
20 <A NAME="IDX4528"></A>
21 <A NAME="IDX4529"></A>
22 <A NAME="IDX4530"></A>
23 <A NAME="IDX4531"></A>
24 <A NAME="IDX4532"></A>
25 <A NAME="IDX4533"></A>
26 <A NAME="IDX4534"></A>
27 <A NAME="IDX4535"></A>
28 <P><STRONG>Purpose</STRONG>
29 <P>Prints a server process's log file
30 <P><STRONG>Synopsis</STRONG>
31 <PRE><B>bos getlog -server</B> <<VAR>machine name</VAR>> <B>-file</B> <<VAR>log file to examine</VAR>>
32 [<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
34 <B>bos getl -s</B> <<VAR>machine name</VAR>> <B>-f</B> <<VAR>log file to examine</VAR>> [<B>-c</B> <<VAR>cell name</VAR>>]
35 [<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
37 <P><STRONG>Description</STRONG>
38 <P>The <B>bos getlog</B> command displays on the standard output stream
39 the specified log file from the machine named by the <B>-server</B>
40 argument. The BOS Server fetches the log file from the
41 <B>/usr/afs/logs</B> directory unless an alternate pathname is provided as
42 part of the <B>-file</B> argument.
43 <P><STRONG>Cautions</STRONG>
44 <P>Log files can grow quite large, especially for the database server
45 processes. To keep them to a manageable size, periodically either use
46 the UNIX <B>rm</B> command to truncate each log file, or use the <B>bos
47 restart</B> command to restart each process.
48 <P>It can take up to five minutes after the file is removed or process
49 restarted for the space occupied by a log file to become available.
50 <P><STRONG>Options</STRONG>
52 <P><DT><B><B>-server</B>
53 </B><DD>Indicates the server machine from which to retrieve the log file.
54 Identify the machine by IP address or its host name (either fully-qualified or
55 abbreviated unambiguously). For details, see the introductory reference
56 page for the <B>bos</B> command suite.
57 <P><DT><B><B>-file</B>
58 </B><DD>Names the log file to display. If a filename only is provided, the
59 BOS Server fetches the log file from the <B>/usr/afs/logs</B>
60 directory; the standard values are:
62 <P><DT><B><B>AuthLog</B>
63 </B><DD>The Authentication Server (<B>kaserver</B>) log file
64 <P><DT><B><B>BackupLog</B>
65 </B><DD>The Backup Server (<B>buserver</B>) log file
66 <P><DT><B><B>BosLog</B>
67 </B><DD>The BOS Server (<B>bosserver</B>) log file
68 <P><DT><B><B>FileLog</B>
69 </B><DD>The File Server (<B>fileserver</B>) log file
70 <P><DT><B><B>SalvageLog</B>
71 </B><DD>The Salvager (<B>salvager</B>) log file
72 <P><DT><B><B>VLLog</B>
73 </B><DD>The Volume Location (VL) Server (<B>vlserver</B>) log file
74 <P><DT><B><B>VolserLog</B>
75 </B><DD>The Volume Server (<B>volserver</B>) log file
78 <P>If a pathname and filename are provided, the log file is retrieved from the
79 indicated directory. Partial pathnames are interpreted relative to the
80 <B>/usr/afs/logs</B> directory.
81 <P><DT><B><B>-cell</B>
82 </B><DD>Names the cell in which to run the command. Do not combine this
83 argument with the <B>-localauth</B> flag. For more details, see the
84 introductory <B>bos</B> reference page.
85 <P><DT><B><B>-noauth</B>
86 </B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
87 issuer. Do not combine this flag with the <B>-localauth</B>
88 flag. For more details, see the introductory <B>bos</B> reference
90 <P><DT><B><B>-localauth</B>
91 </B><DD>Constructs a server ticket using a key from the local
92 <B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
93 interpreter presents the ticket to the BOS Server during mutual
94 authentication. Do not combine this flag with the <B>-cell</B> or
95 <B>-noauth</B> options. For more details, see the introductory
96 <B>bos</B> reference page.
98 </B><DD>Prints the online help for this command. All other valid options
101 <P><STRONG>Output</STRONG>
102 <P>The output is preceded by the line
103 <PRE> Fetching log file '<VAR>filename</VAR>'...
106 <P>The remainder of the output depends on the particular log file.
107 <P><STRONG>Examples</STRONG>
108 <P>The following example displays the <B>FileLog</B> file from the machine
110 <PRE> % <B>bos getlog -server fs3.abc.com -file FileLog</B>
111 Fetching log file 'FileLog'...
112 Sun Nov 8 04:00:34 1998 File server starting
113 Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
114 0 volumes not attached
115 Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
117 Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
118 failed for host 28cf37c0.22811
121 <P><STRONG>Privilege Required</STRONG>
122 <P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
123 the machine named by the <B>-server</B> argument, or must be logged onto a
124 server machine as the local superuser <B>root</B> if the
125 <B>-localauth</B> flag is included.
126 <P><STRONG>Related Information</STRONG>
127 <P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
129 <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="auarf101.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="auarf103.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>
130 <!-- Begin Footer Records ========================================== -->
132 <br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
134 <!-- End Footer Records ============================================ -->
135 <A NAME="Bot_Of_Page"></A>