On Wed, Sep 12, 2012 at 7:32 AM, Laurent <laurent@xxxxxxxxxxx> 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: >> >> /etc/cron.daily/0logwatch: >> >> Can't exec "sendmail": No such file or directory at >> /usr/sbin/logwatch >> 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 >> doesn't >> appears ... >> >> How can I debug this?? > > It sounds like an SELinux issue: > > https://bugzilla.redhat.com/show_bug.cgi?id=617472 > https://bugzilla.redhat.com/show_bug.cgi?id=617790 > > -- Uhmm Maybe, this can be the problem: [root@plcossrv01 scripts]# whereis logwatch logwatch: /usr/sbin/logwatch /etc/logwatch /usr/share/logwatch /usr/share/man/man8/logwatch.8.gz [root@plcossrv01 scripts]# ls -la /usr/sbin/logwatch lrwxrwxrwx 1 root root 45 Sep 5 13:06 /usr/sbin/logwatch -> ../..//usr/share/logwatch/scripts/logwatch.pl [root@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@plcossrv01 scripts]# SELinux is disabled by default on all installations that I have do it (including adding disable selinux during installation) ... _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos