Lucent Technologies 9077 16S User Manual

Page 42

Advertising
background image

2-8

October 22, 1999

SP Switch Router Adapter Guide - 1.4 Update 2

Configuring the SP Switch Router Adapter
Installing the PCMCIA spinning disk

# 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.

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 file entries should now look like the following:

*.err;*.notice;kern.debug;lpr,auth.info;mail.crit

/var/log/messages

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

If you had previously configured your SP Switch Router to log messages to a directory
other than

/var/log

, you changed settings in

/etc/grclean.conf

and

/etc/grclean.logs.conf

files.

Go back into those files now and change the log directory.

5

To install your changes, restart syslog:

Determine the PID (process ID) for the syslog daemon and then use the kill -HUP PID
command to restart it:

# ps -ax | grep syslogd

# kill -HUP

PID

6

Modify

/etc/grclean.conf

and

/etc/grclean.logs.conf

to reflect the new log

directory.

The

/etc/grclean.conf

file specifies which log and dump files the grclean program

compresses, archives, and deletes.

The

/etc/grclean.conf

file entries should look like the following:

#################################################################

# port card dump files.

#################################################################

Advertising
This manual is related to the following products: