LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2010, 02:11 PM   #16
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533

Quote:
Originally Posted by cnmoore View Post
Today the whole 'named' section has disappeared from the logwatch report.
Cool. No more errors logged for the time being then.


Quote:
Originally Posted by cnmoore View Post
The iptables AUTOBAN has worked wonders!
Nice but please keep your thread topics separated.
 
Old 09-28-2010, 11:29 PM   #17
cnmoore
Member
 
Registered: Sep 2010
Location: Sunnyvale, CA
Distribution: CentOS 5.5
Posts: 89

Original Poster
Rep: Reputation: 0
Logwatch has been faithfully mailing report to me every day, automatically. But right now I wanted to run it manually. Got error that it can't find sendmail.

Am I right that if I want to run it manually I have to set its conf to Print=yes.
That would be a nuisance since I only very rarely would want to do an extra run.
 
Old 09-29-2010, 01:30 AM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
To run manually just 'logwatch --whatever-args-you-need' from the commandline.
 
Old 09-29-2010, 01:37 AM   #19
cnmoore
Member
 
Registered: Sep 2010
Location: Sunnyvale, CA
Distribution: CentOS 5.5
Posts: 89

Original Poster
Rep: Reputation: 0
That's what I tried but it said it couldn't find sendmail.
Code:
Can't exec "sendmail": No such file or directory at /usr/sbin/logwatch line 1017, <TESTFILE> line 3.
Can't execute sendmail -t: No such file or directory
Sendmail is fine, located at /usr/sbin/sendmail as always.
 
Old 09-29-2010, 01:42 AM   #20
cnmoore
Member
 
Registered: Sep 2010
Location: Sunnyvale, CA
Distribution: CentOS 5.5
Posts: 89

Original Poster
Rep: Reputation: 0
Figured it out. I was trying to do it with sudo.

When I actually logged in as root and ran it - worked fine.
 
  


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
I want to disable logwatch on our RHEL servers to stop the logwatch mail svik Linux - Enterprise 10 08-27-2009 03:51 PM
Does logwatch run automatically? How can I reset logwatch? abefroman Linux - Software 4 06-17-2009 03:17 AM
Installing logwatch Old_Fogie Slackware 3 10-02-2006 02:27 PM
Baffled by Gaim fails Linux - Software 7 06-04-2006 07:47 AM
Baffled w/Debian 3.1 zdwc01 Linux - Software 2 12-30-2005 01:30 AM


All times are GMT -5. The time now is 07:37 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration