mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 00:41:08 +00:00
d7da1acc31
pull in all documentation from IBM
137 lines
6.9 KiB
HTML
137 lines
6.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
|
|
<HTML><HEAD>
|
|
<TITLE>Administration Reference</TITLE>
|
|
<!-- Begin Header Records ========================================== -->
|
|
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
|
|
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
|
|
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
|
|
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
|
|
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
|
|
</HEAD><BODY>
|
|
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
|
|
<BODY bgcolor="ffffff">
|
|
<!-- End Header Records ============================================ -->
|
|
<A NAME="Top_Of_Page"></A>
|
|
<H1>Administration Reference</H1>
|
|
<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>
|
|
<P>
|
|
<H2><A NAME="HDRBOS_GETLOG" HREF="auarf002.htm#ToC_116">bos getlog</A></H2>
|
|
<A NAME="IDX4527"></A>
|
|
<A NAME="IDX4528"></A>
|
|
<A NAME="IDX4529"></A>
|
|
<A NAME="IDX4530"></A>
|
|
<A NAME="IDX4531"></A>
|
|
<A NAME="IDX4532"></A>
|
|
<A NAME="IDX4533"></A>
|
|
<A NAME="IDX4534"></A>
|
|
<A NAME="IDX4535"></A>
|
|
<P><STRONG>Purpose</STRONG>
|
|
<P>Prints a server process's log file
|
|
<P><STRONG>Synopsis</STRONG>
|
|
<PRE><B>bos getlog -server</B> <<VAR>machine name</VAR>> <B>-file</B> <<VAR>log file to examine</VAR>>
|
|
[<B>-cell</B> <<VAR>cell name</VAR>>] [<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
|
|
|
|
<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>>]
|
|
[<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
|
|
</PRE>
|
|
<P><STRONG>Description</STRONG>
|
|
<P>The <B>bos getlog</B> command displays on the standard output stream
|
|
the specified log file from the machine named by the <B>-server</B>
|
|
argument. The BOS Server fetches the log file from the
|
|
<B>/usr/afs/logs</B> directory unless an alternate pathname is provided as
|
|
part of the <B>-file</B> argument.
|
|
<P><STRONG>Cautions</STRONG>
|
|
<P>Log files can grow quite large, especially for the database server
|
|
processes. To keep them to a manageable size, periodically either use
|
|
the UNIX <B>rm</B> command to truncate each log file, or use the <B>bos
|
|
restart</B> command to restart each process.
|
|
<P>It can take up to five minutes after the file is removed or process
|
|
restarted for the space occupied by a log file to become available.
|
|
<P><STRONG>Options</STRONG>
|
|
<DL>
|
|
<P><DT><B><B>-server</B>
|
|
</B><DD>Indicates the server machine from which to retrieve the log file.
|
|
Identify the machine by IP address or its host name (either fully-qualified or
|
|
abbreviated unambiguously). For details, see the introductory reference
|
|
page for the <B>bos</B> command suite.
|
|
<P><DT><B><B>-file</B>
|
|
</B><DD>Names the log file to display. If a filename only is provided, the
|
|
BOS Server fetches the log file from the <B>/usr/afs/logs</B>
|
|
directory; the standard values are:
|
|
<DL>
|
|
<P><DT><B><B>AuthLog</B>
|
|
</B><DD>The Authentication Server (<B>kaserver</B>) log file
|
|
<P><DT><B><B>BackupLog</B>
|
|
</B><DD>The Backup Server (<B>buserver</B>) log file
|
|
<P><DT><B><B>BosLog</B>
|
|
</B><DD>The BOS Server (<B>bosserver</B>) log file
|
|
<P><DT><B><B>FileLog</B>
|
|
</B><DD>The File Server (<B>fileserver</B>) log file
|
|
<P><DT><B><B>SalvageLog</B>
|
|
</B><DD>The Salvager (<B>salvager</B>) log file
|
|
<P><DT><B><B>VLLog</B>
|
|
</B><DD>The Volume Location (VL) Server (<B>vlserver</B>) log file
|
|
<P><DT><B><B>VolserLog</B>
|
|
</B><DD>The Volume Server (<B>volserver</B>) log file
|
|
</DL>
|
|
<P>
|
|
<P>If a pathname and filename are provided, the log file is retrieved from the
|
|
indicated directory. Partial pathnames are interpreted relative to the
|
|
<B>/usr/afs/logs</B> directory.
|
|
<P><DT><B><B>-cell</B>
|
|
</B><DD>Names the cell in which to run the command. Do not combine this
|
|
argument with the <B>-localauth</B> flag. For more details, see the
|
|
introductory <B>bos</B> reference page.
|
|
<P><DT><B><B>-noauth</B>
|
|
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
|
|
issuer. Do not combine this flag with the <B>-localauth</B>
|
|
flag. For more details, see the introductory <B>bos</B> reference
|
|
page.
|
|
<P><DT><B><B>-localauth</B>
|
|
</B><DD>Constructs a server ticket using a key from the local
|
|
<B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
|
|
interpreter presents the ticket to the BOS Server during mutual
|
|
authentication. Do not combine this flag with the <B>-cell</B> or
|
|
<B>-noauth</B> options. For more details, see the introductory
|
|
<B>bos</B> reference page.
|
|
<P><DT><B>-help
|
|
</B><DD>Prints the online help for this command. All other valid options
|
|
are ignored.
|
|
</DL>
|
|
<P><STRONG>Output</STRONG>
|
|
<P>The output is preceded by the line
|
|
<PRE> Fetching log file '<VAR>filename</VAR>'...
|
|
|
|
</PRE>
|
|
<P>The remainder of the output depends on the particular log file.
|
|
<P><STRONG>Examples</STRONG>
|
|
<P>The following example displays the <B>FileLog</B> file from the machine
|
|
<B>fs3.abc.com</B>:
|
|
<PRE> % <B>bos getlog -server fs3.abc.com -file FileLog</B>
|
|
Fetching log file 'FileLog'...
|
|
Sun Nov 8 04:00:34 1998 File server starting
|
|
Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
|
|
0 volumes not attached
|
|
Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
|
|
1998
|
|
Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
|
|
failed for host 28cf37c0.22811
|
|
|
|
</PRE>
|
|
<P><STRONG>Privilege Required</STRONG>
|
|
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
|
|
the machine named by the <B>-server</B> argument, or must be logged onto a
|
|
server machine as the local superuser <B>root</B> if the
|
|
<B>-localauth</B> flag is included.
|
|
<P><STRONG>Related Information</STRONG>
|
|
<P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
|
|
<P>
|
|
<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>
|
|
<!-- Begin Footer Records ========================================== -->
|
|
<P><HR><B>
|
|
<br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
|
|
</B>
|
|
<!-- End Footer Records ============================================ -->
|
|
<A NAME="Bot_Of_Page"></A>
|
|
</BODY></HTML>
|