Syslog and/or logrotate problem

Brad Crotchett brad at ispn.net
Fri Oct 25 16:32:37 CDT 2002


>You don't say which one has the desired behavior...

The one with the -r, but I do see now that that should not affect anything.

>Anyway, here's where the startup options come from:  In
>/etc/rc.d/init.d/syslog is the following section:
----------------------------------------
># Source config
>if [ -f /etc/sysconfig/syslog ] ; then
>        . /etc/sysconfig/syslog
>else
>        SYSLOGD_OPTIONS="-m 0"
>        KLOGD_OPTIONS="-2"
>fi
------------------------------------------

Oddly enough, the one running -r does not have -r in this file, I checked it
first.  I even diffed them to make sure.

>Although this is the obvious difference, man syslogd reveals that the -r
>option simply enables receiving messages over the network (as when a remote
>host is using the system as a log host).  (Mine runs without it and behaves
>properly.)

>Have you looked in /etc/cron.daily?  Any differences there?  Are you sure
>that all concerned software is the same version?

The working server has 2 additional cron jobs in cron.daily, logwatch and
anacron.

Thanks a lot!

Brad




More information about the Kclug mailing list