hello,everyone, i run logchek on Slackware 10.1.0 + gcc version 3.3.4+postfix-2.2.5. i added the logcheck to crontab: 0 * * * * (cd /var/;sudo -u logcheck /usr/sbin/logcheck -T -c /etc/logcheck/logcheck.conf) 1> /dev/null i find that the temp diretory and the report file is exis in tthe /var/tmp,but the mail result offen lost. In system's root mailbox,i see the following error: Subject: cron: (cd /var/;sudo -u logcheck /usr/sbin/logcheck -T -c /etc/logcheck/logcheck.conf) 1> /dev/null Date: Thu, 9 Feb 2006 05:00:06 +0800 (CST) From: root at oss.com Status: RO Invalid or incomplete multibyte or wide character . . . message not sent. i don't know what's error?please . -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060209/48303ef8/attachment.htm
Jamie L. Penman-Smithson
2006-Feb-10 12:08 UTC
[Logcheck-users] Re: [Logcheck-devel] logcheck results mail sending error
[Moving to logcheck-users and quoting entire message.] Hi there, Firstly, this kind of question should be directed to the logcheck- users mailing list, unless you believe you've found a bug in logcheck. On 9 Feb 2006, at 04:02, ?? wrote:> i run logchek on Slackware 10.1.0 + gcc version 3.3.4+postfix-2.2.5. > i added the logcheck to crontab: > 0 * * * * (cd /var/;sudo -u logcheck /usr/sbin/logcheck -T -c /etc/ > logcheck/logcheck.conf) 1> /dev/null > i find that the temp diretory and the report file is exis in tthe / > var/tmp,but the mail result offen lost. > In system's root mailbox,i see the following error: > > Subject: cron: (cd /var/;sudo -u logcheck /usr/sbin/logcheck -T -c / > etc/logcheck/logcheck.conf) 1> /dev/null > Date: Thu, 9 Feb 2006 05:00:06 +0800 (CST) > From: root@oss.com > Status: RO > Invalid or incomplete multibyte or wide character > . . . message not sent. > > i don't know what's error?please .What version of logcheck are you running? Can you run 'echo $LANG' please? Have you tried running 'sudo -u logcheck /usr/sbin/logcheck -o -t'? Thanks, -j -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.alioth.debian.org/pipermail/logcheck-users/attachments/20060210/0d383076/PGP.pgp