Initial System Set-up
Installing a PCMCIA device
GRF 400/1600 Getting Started - 1.4 Update 2
October, 1998
4-13
# comma separated list without spaces.
#
# Blank lines and lines beginning with `#' are comments.
#
/dev/rd0a / ufs rw 0 0
/dev/wd2a /var/log ufs rw 0 2 #PCMCIA slot A, use wd3a for B
4
Edit the file
/etc/syslog.conf
to specify the location where the logs will be kept.
After you edit
/etc/syslog.conf
, you need to send a HUP signal to syslogd.
When installing a spinning disk or flash disk
Uncomment the local log configuration lines in the
“Log messages to Disk”
section
by removing
#disk#
from each line and specify
/var/log
as the directory for each log:
These are the first four lines in the section:
#disk#*.err;*.notice;kern.debug;lpr,auth.info;mail.crit
/var/log/messages
#disk#
cron.info /var/log/cron
#disk#
local0.info /var/log/gritd.packets
#disk#
local1.info /var/log/gr.console
The entries should now look like the following:
*.err;*.notice;kern.debug;lpr,auth.info;mail.crit /var/log/mes-
sages
cron.info /var/log/cron
local0.info /var/log/gritd.packets
local1.info /var/log/gr.console
local2.* /var/log/gr.boot
local3.* /var/log/grinchd.log
local4.* /var/log/gr.conferrs
local5.* /var/log/mib2d.log
Touch the files
Touch each file to create it, here is an example:
#cd /var/log
# touch gritd.packets gr.console gr.boot grinchd.log gr.conferrs
mib2d.log
Restart syslogd
Determine the PID (process ID) for the syslog daemon and restart it:
# ps -ax | grep syslogd
# kill -HUP <
PID>
Optional task:
Step 5 is only for sites that had previously configured logging to syslogd or NFS.
New installations can go onto Step 6.