cron job ?
i'm running redhat9 with qmail. could someone help me fix this ?
i got email automate sent from root@mydomain.com saying /etc/cron.daily/00-logwatch: 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; } thanks |
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...
|
/etc/log.d/scripts/services/qmail
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 ? |
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 09:25 PM. |