-   Linux - Software (
-   -   cron job ? (

johnyy 12-06-2003 02:49 PM

cron job ?
i'm running redhat9 with qmail. could someone help me fix this ?

i got email automate sent from saying

Can't open: /etc/log.d/scripts/services/qmail at
/etc/cron.daily/00-logwatch line 643.

I vi /etc/cron.daily/00-logwatch and here some script lines..

if ( -f $BaseDir . "scripts/services/" . $Service ) {
$FilterText .= ("" . $BaseDir . "scripts/services/" . $Service );
else {
Line 643 ) die "Can't open: " . $BaseDir . "scripts/services/" . $Service;


acid_kewpie 12-06-2003 02:56 PM

well does that file exist? are there rights issues on it? have you looked at that file at all? should be the first thing you did really...

johnyy 12-06-2003 06:07 PM


the file don't exist, the part i wonder it's why it check for qmail ?
when vi /etc/cron.daily/00-logwatch look for something with the qmail in it, but didn't found anything ?

ac1980 12-10-2003 06:00 PM

It likely process every active service. The purpose of this script is to send you an alarm if a log file is missing, since this may have been done by a hacker to hide her/his intrusion.
if qmail as logging disabled, you can 'touch /etc/log.d/scripts/services/qmail', so you won't get the daily message

All times are GMT -5. The time now is 10:24 AM.