LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-06-2003, 02:49 PM   #1
johnyy
Member
 
Registered: Jun 2003
Posts: 92

Rep: Reputation: 15
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
 
Old 12-06-2003, 02:56 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
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...
 
Old 12-06-2003, 06:07 PM   #3
johnyy
Member
 
Registered: Jun 2003
Posts: 92

Original Poster
Rep: Reputation: 15
/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 ?
 
Old 12-10-2003, 06:00 PM   #4
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cron Job petenyce Linux - Newbie 5 10-11-2005 04:03 PM
cron job working2hard Programming 6 07-28-2004 09:12 PM
Cron job rajasekarvr Linux - General 4 05-03-2004 05:35 PM
Cron Job imanahmadi Linux - Newbie 1 07-03-2003 11:39 PM
cron job? luap Linux - Software 2 03-16-2003 08:48 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration