[CentOS] Problems with logwatch under CentOS 6.3
C. L. Martinez
carlopmart at gmail.com
Wed Sep 12 07:55:16 UTC 2012
On Wed, Sep 12, 2012 at 7:32 AM, Laurent <laurent at tnpl127.net> wrote:
> Le 2012-09-12 09:19, C. L. Martinez a écrit :
>> Hi all,
>> Last week I have migrated 5 CentoS 6.2 servers to CentOS 6.3. In all
>> of them, I receive every day problems with logwatch:
>> Can't exec "sendmail": No such file or directory at
>> line 1040, <TESTFILE> line 1.
>> Can't execute sendmail -t: No such file or directory
>> It is really strange, because I am using default config ... On the
>> other side, I have three CentOS 6.2 servers and these problems
>> appears ...
>> How can I debug this??
> It sounds like an SELinux issue:
Uhmm Maybe, this can be the problem:
[root at plcossrv01 scripts]# whereis logwatch
logwatch: /usr/sbin/logwatch /etc/logwatch /usr/share/logwatch
[root at plcossrv01 scripts]# ls -la /usr/sbin/logwatch
lrwxrwxrwx 1 root root 45 Sep 5 13:06 /usr/sbin/logwatch ->
[root at plcossrv01 scripts]# ls -al ../..//usr/share/logwatch/scripts/logwatch.pl
ls: cannot access ../..//usr/share/logwatch/scripts/logwatch.pl: No
such file or directory
[root at plcossrv01 scripts]#
SELinux is disabled by default on all installations that I have do it
(including adding disable selinux during installation) ...
More information about the CentOS