[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] [Raq3] Logcheck stopped working!



Sorry for being a pain in the butt,

But this servers playing up something rotten this weekend...have had
logcheck working hunky dorey for the last month or so and received emails as
per normal every 30 minutes. But all of a sudden nothing, this is what I
have in the crontab file as per logcheck man:-

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
03,18,33,48 * * * * root run-parts /etc/cron.quarter-hourly
04,34 * * * * root run-parts /etc/cron.half-hourly
01 * * * * root run-parts /etc/cron.hourly
05 0,6,12,18 * * * root run-parts /etc/cron.quarter-daily
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

# Monitor services to make sure everything is still okay.
0,15,30,45 * * * * root /usr/local/sbin/swatch >>/var/cobalt/adm.log 2>&1

#30 minute logcheck (BSD Systems and Redhat /etc/crontab):
00,30 * * * * /usr/local/etc/logcheck.sh

Now I've done a kill -HUP 615 (pid for crond) but still no joy nothing sent
over a 24 hour period - if the logcheck.sh is envoked manually then it works
okay. I even did a kill - HUP on the syslogd incase that wasn't behaving -
again no joy. I thought that crond maybe playing up so I did the following:-

/etc/rc.d/init.d/crond restart

And again nothing :<

Can anyone shed any light on the matter as I may have missed something
obvious all the other cron jobs seem to be working okay

Many thanks in advance

Chae