[Fedora] no entries in /var/log/* - FC3
Ashley M. Kirchner
ashley at pcraft.com
Wed Mar 9 10:07:56 UTC 2005
Götz Reinicke wrote:
> After a /etc/init.d/syslog restart the logs are written until they
> have to be rotated, then no new entries are loged (The empty logfile
> is touched). :-((
>
> Any ideas? What to check?
Make sure /etc/logrotate.d/syslog is actually restarting syslog as
well. Mine looks like this:
----------
/var/log/messages /var/log/secure /var/log/boot.log /var/log/cron {
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2>
/dev/null || true
endscript
}
----------
(there are missing log files from the first line compared to a stock
install - I don't need those rotated, so I remove them.)
--
H | I haven't lost my mind; it's backed up on tape somewhere.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
More information about the fedora-list
mailing list