2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
bos_getlog - Prints a server process's log file
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
B<bos getlog> S<<< B<-server> <I<machine name>> >>> S<<< B<-file> <I<log file to examine>> >>>
|
|
|
|
S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>] [B<-help>]
|
|
|
|
|
|
|
|
B<bos getl> S<<< B<-s> <I<machine name>> >>> S<<< B<-f> <I<log file to examine>> >>>
|
|
|
|
S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-h>]
|
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The B<bos getlog> command displays on the standard output stream the
|
|
|
|
specified log file from the machine named by the B<-server> argument. The
|
|
|
|
BOS Server fetches the log file from the F</usr/afs/logs> directory unless
|
|
|
|
an alternate pathname is provided as part of the B<-file> argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Log files can grow quite large, especially for the database server
|
2005-12-13 19:21:13 +00:00
|
|
|
processes. To keep them to a manageable size, periodically either use the
|
|
|
|
UNIX B<rm> command to truncate each log file, or use the B<bos restart>
|
|
|
|
command to restart each process.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-server> <I<machine name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Indicates the server machine from which to retrieve the log file.
|
2005-12-13 19:21:13 +00:00
|
|
|
Identify the machine by IP address or its host name (either
|
|
|
|
fully-qualified or abbreviated unambiguously). For details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-file> <I<log file to examine>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names the log file to display. If a filename only is provided, the BOS
|
|
|
|
Server fetches the log file from the F</usr/afs/logs> directory; the
|
|
|
|
standard values are:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<AuthLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The Authentication Server (B<kaserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<BackupLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The Backup Server (B<buserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<BosLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The BOS Server (B<bosserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<FileLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The File Server (B<fileserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2016-06-03 20:33:19 +01:00
|
|
|
=item F<PtLog>
|
|
|
|
|
|
|
|
The Protection Server (B<ptserver>) log file.
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<SalvageLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The Salvager (B<salvager>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<VLLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The Volume Location (VL) Server (B<vlserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item F<VolserLog>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The Volume Server (B<volserver>) log file.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
If a pathname and filename are provided, the log file is retrieved from
|
|
|
|
the indicated directory. Partial pathnames are interpreted relative to the
|
|
|
|
F</usr/afs/logs> directory.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-cell> <I<cell name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names the cell in which to run the command. Do not combine this argument
|
|
|
|
with the B<-localauth> flag. For more details, see L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-noauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Assigns the unprivileged identity C<anonymous> to the issuer. Do not
|
|
|
|
combine this flag with the B<-localauth> flag. For more details, see
|
|
|
|
L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-localauth>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Constructs a server ticket using a key from the local
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
|
|
|
|
ticket to the BOS Server during mutual authentication. Do not combine this
|
|
|
|
flag with the B<-cell> or B<-noauth> options. For more details, see
|
|
|
|
L<bos(8)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 OUTPUT
|
|
|
|
|
|
|
|
The output is preceded by the line
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Fetching log file '<filename>'...
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
The remainder of the output depends on the particular log file.
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example displays the FileLog file from the machine
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
C<fs3.example.com>:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos getlog -server fs3.example.com -file FileLog
|
2005-12-08 12:14:33 +00:00
|
|
|
Fetching log file 'FileLog'...
|
|
|
|
Sun Nov 8 04:00:34 1998 File server starting
|
2005-12-21 00:41:17 +00:00
|
|
|
Sun Nov 8 04:00:39 1998 Partition /vicepa: attached 21 volumes;
|
2005-12-08 12:14:33 +00:00
|
|
|
0 volumes not attached
|
2005-12-21 00:41:17 +00:00
|
|
|
Sun Nov 8 04:00:40 1998 File Server started Sun Nov 8 04:00:40
|
2005-12-08 12:14:33 +00:00
|
|
|
1998
|
2005-12-21 00:41:17 +00:00
|
|
|
Mon Nov 9 21:45:06 1998 CB: RCallBack (zero fid probe in host.c)
|
2005-12-08 12:14:33 +00:00
|
|
|
failed for host 28cf37c0.22811
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The issuer must be listed in the F</usr/afs/etc/UserList> file on the
|
|
|
|
machine named by the B<-server> argument, or must be logged onto a server
|
|
|
|
machine as the local superuser C<root> if the B<-localauth> flag is
|
|
|
|
included.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2016-11-21 18:25:40 +00:00
|
|
|
When a server is in restricted mode, B<bos getlog> B<-file> may only
|
|
|
|
specify files from the logs directory.
|
2009-12-24 13:00:53 +00:00
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<bos(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|