[Logwatch] Logwatch dies on Debian Etch

Benjamin Bolbach ben at boh.li
Tue May 15 11:22:54 MST 2007


Hi Kit,

 

thank you, I anyhow did not realize it.

you were right, the mailer was still /usr/bin/mail

Anyway there was no change of the mailer (was postfix from the beginning,

and the configfile / line is from the dpkg one, so from the etch-package.

 

But anyway, it works ;)

 

Regards

  Ben

 

   _____  

Von: Kit Gerrits [mailto:kitgerrits at gmail.com] 
Gesendet: Dienstag, 15. Mai 2007 15:13
An: 'Benjamin Bolbach'
Betreff: RE: [Logwatch] Logwatch dies on Debian Etch

 

 

Hey Ben,

 

I think your debian upgrade might have changed your mailer

 

my guess is that is used to use the mail command, and now the mail command
can no longer be user to send e-mail, only to read e-mail.

(maybe upgraded from sendmail to postfix?)

(The giveaway was the "No mail for root" message)

 

You might want to look at the "mailer = " variable in cong/logwatch.conf and
see if the mailer does what logwatch thinks it should do.

 

On my current systems, I use 'sendmail -t'

 

 

Regards,

 

Kit

 


   _____  


From: logwatch-bounces at logwatch.org [mailto:logwatch-bounces at logwatch.org]
On Behalf Of Benjamin Bolbach
Sent: dinsdag 15 mei 2007 13:48
To: logwatch at logwatch.org
Subject: [Logwatch] Logwatch dies on Debian Etch

Hi @all,

 

after upgrading from Debian sarge to etch, logwatch dies.

Even a reinstall / purge + install did not help at all.

 

When I run logwatch manually, the dir in /tmp just remains.

After another try i just get the message that logwatch exited by

accident and that I should remove it. 

but non the less this does not help me to get logwatch sending

me mails or statically creating the report.

 

This is an exampleouput if I run logwatch with print=Yes in the config:

 

You have old files in your logwatch tmpdir (/tmp):

        logwatch.uMxMd6sT

        logwatch.bvXsb5Ln

        logwatch.UB0miiYD

The directories listed above were most likely created by a

logwatch run that failed to complete successfully.  If so, you

may delete these directories.

 

No mail for root

 

When I run logwatch –debug high here are the last lines before logwatch

stops, but that don’t really helps me:

 

Processing Service: afpd

 ( cat /tmp/logwatch.SLx8SkT4/messages  |  /usr/bin/perl
/usr/share/logwatch/scripts/shared/onlyservice 'afpd' |/usr/bin/perl
/usr/share/logwatch/scripts/shared/removeheaders '' |/usr/bin/perl
/usr/share/logwatch/scripts/services/afpd) 2>&1

No mail for root

 

 

Best Regards

  Ben

 

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/804 - Release Date: 14.05.2007
16:46


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.0/804 - Release Date: 14.05.2007
16:46



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 15.05.2007
10:47
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.list.logwatch.org:81/pipermail/logwatch/attachments/20070515/0f7b1a10/attachment-0001.html 


More information about the Logwatch mailing list