[Logwatch] logwatch does not run from cron now (fc4,lw7.2.1)

Mike Tremaine mgt at stellarcore.net
Sat Apr 15 06:42:52 MST 2006


On Sat, 2006-04-15 at 07:53 -0500, unruhtech wrote:
> here is the output i do get:
> -----
> 
> From: root at domain.net (Cron Daemon)
> To: root at domain.net
> Subject: Cron <root at shell> /usr/sbin/logwatch --detail low --range today
> X-Cron-Env: <SHELL=/bin/ksh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
> 
> Can't exec "sendmail": No such file or directory at /usr/sbin/logwatch line 941,+<TESTFILE> line 2.
> Can't execute sendmail -t: No such file or directory
> 
> -----
> 
> that is it.
> 
> this occured right after a yum update.
> logwatch.conf did not change as i have it in RCS and
> mailer = "sendmail -t"
> 

Logwatch can not find sendmail in your path. If you have sendmail you
can either expand the mailer value in /etc/logwatch/conf/logwatch.conf

Add something like

mailer = "/usr/lib/sendmail -t"

Or fix your PATH so sendmail is found. If you do not have sendmail then
let us know what mailer you have "mail mailx nail etc...."

-Mike




More information about the Logwatch mailing list