tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "T. Horsnell" <tsh@mrc-lmb.cam.ac.uk>
Subject: why has logging stopped?
Date: Wed, 22 Feb 2006 11:35:33 +0000 (GMT)	[thread overview]
Message-ID: <E1FBsHO-000w8N-Pm@alf1.lmb.internal> (raw)

Hi all,
Logging into syslog.dated seems to have stopped on
my 5.1B system on Feb 17th at around 11.27am:

# ls -l /var/adm/syslog.dated/
total 2
drwxr-xr-x   2 root     adm          512 Feb 15 11:26 15-Feb-11:26
drwxr-xr-x   2 root     adm          512 Feb 16 11:27 16-Feb-11:27
lrwxr-xr-x   1 root     adm           12 Feb 16 11:27 current -> 16-Feb-11:27

# ls -l /var/adm/syslog.dated/current/
total 10040
-rw-r-----   1 root     adm        60627 Feb 17 11:24 auth.log
-rw-r-----   1 root     adm       317782 Feb 17 11:27 daemon.log
-rw-r-----   1 root     adm        10598 Feb 17 11:15 kern.log
-rw-r-----   1 root     adm          745 Feb 16 18:20 lpr.log
-rw-r-----   1 root     adm      9855365 Feb 17 11:27 mail.log
-rw-r-----   1 root     adm         7697 Feb 17 11:27 syslog.log
-rw-r-----   1 root     adm            0 Feb 16 11:27 user.log

syslogd is running:
# ps -ef | grep syslogd
root        581      1  0.0   Jan 14 ??          14:54.54 /usr/sbin/syslogd -e

plenty of disk space:
# df -k /var
Filesystem      1024-blocks        Used   Available Capacity  Mounted on
/dev/disk/dsk0d     1969183      940584      831680    54%    /var


What could cause this?
What is it that causes the logs to rotate anyway? I cant see
anything in root's crontab to do this.
Is it time for a reboot?

Also, when I look at /etc/syslogd.conf, it seems to be set up
to log into the wrong place - shouldnt stuff be going into
/var/adm/syslog.dated/current/... and not /var/adm/syslog.dated/...


Cheers,
Terry.


# syslogd config file
# 
# facilities: kern user mail daemon auth syslog lpr binary
# priorities: emerg alert crit err warning notice info debug
kern.debug              /var/adm/syslog.dated/kern.log
user.debug              /var/adm/syslog.dated/user.log
mail.debug              /var/adm/syslog.dated/mail.log
daemon.debug            /var/adm/syslog.dated/daemon.log
auth.debug              /var/adm/syslog.dated/auth.log
syslog.debug            /var/adm/syslog.dated/syslog.log
lpr.info                /var/adm/syslog.dated/lpr.log

msgbuf.err              /var/adm/crash/msgbuf.savecore

kern.debug              /var/adm/messages
kern.debug              /dev/console
*.emerg                 *
# %LGT611_BEGIN% - DO NOT MODIFY OR DELETE (Wed Sep  3 13:20:50 2003)
# The following lets NetWorker use the syslog facility
daemon.notice           /dev/console
daemon.notice           /nsr/logs/messages
daemon.notice           operator
local0.notice           /nsr/logs/summary
local0.alert            root, operator
# %LGT611_END% - DO NOT MODIFY OR DELETE
 




                 reply	other threads:[~2006-02-22 11:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox