System Log Configuration; Setting Up A Uucp Connection - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Sun 100/150 Installation Manual
System Set-Up and Operation
more smoothly.
6.3. System Log Configuration
Various system daemons and programs record information in the system log to aid in problem
analysis. They send this information as Internet datagrams directed to the 'syslog' daemon on
host 'loghost'. The daemon receives these datagrams and records the information or notifies
users of problems. See
~y~log(8)
for more details on this process.
The default configuration runs a
~y61og
daemon on each machine, and also keeps all datagrams
on the local machine (by maintaining the 'loghost' alias in the
I dcl hod6
entry for the local
machine). If you are running standalone, this is how your system is configured. However, in a
network environment it's much easier to track problems if all machines log their information in
a single place. Therefore, during first time
UNIX
installation, the
6dup
program re-configures
things so that only the designated server is the 'loghost':
~etup
strips the 'loghost' alias from
the
I etcl ho,t,
entries for the clients, and adds the alias for the server machine. This means
that, for example, if the machine named krypton is your network server, the beginning of your
machines'
I etcl ho,t,
files might look like:
192.9.1.1
krypton loghost
192.9.1.2
wally
192.9.1.3
beaver
192.9.1.4
june
192.9.1.5
eldridge
Now all datagrams sent to 'Ioghost' (from wally, beaver, etc.) are sent to krypton. There might
also be other aliases on the same line of the
Idclholt,
entry, like 'lprhost' or 'mailhost' -
that's OK. Note also that, since the
~y61og
daemon only starts up when messages must be han-
dled, only the 'loghost' runs the daemon. Getting rid of the daemon on all other machines frees
up resources and makes the system start up faster.
If you want to change this configuration -
for example, if you have more than one server, and
you want only one 'loghost' -
simply change the placement of the 'loghost' alias, and then re-
copy
I etcl holt,
to all machines. Test your system log configuration by running:
% tail-f /us .. /spool/log/syslog
on the loghost machine, then sending any kind of mail on the various other machines. Each
message sent will generate four or five lines of output if things are working.
6.4. Setting Up a UUCP Connection
uucp (UNIX
to
UNIX
copy) is a series of programs designed for communication, via dial-up or
hardwired lines, between two systems running
UNIX. uucp
may be used to transfer files between
UNIX
systems, and also to run commands on remote machines. For more detailed background,
see the UUCP
Implementation De,cription
in the
Tutorial,
section of this manual.
Support for
uucp
is located in three major directories:
I
u~rl
bin
(which contains user commands),
lu,rllibluucp
(operational commands), and
lu,rl,poolluucp
(spooling area).
Revision H of 12 March 1984
6-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents