Can't Understand Logwatch Error
This problem is occurring on Red Hat EL 5 WS. However, I have two CentOS 5 systems, with similar configuration to RH EL 5, where this problem does not occur.
I am getting this error: Can't exec "sendmail": No such file or directory at ./0logwatch line 1018, <TESTFILE> line 1. Can't execute sendmail -t: No such file or directory I would appreciate help in where to start debugging this. |
first thing to check, is do you have the sendmail rpm installed?
I checked on my system this way: $ which sendmail /usr/sbin/sendmail $rpm -qf /usr/sbin/sendmail sendmail-8.14.4-5.fc13.i686 I'm running Fedora 13, but should be similar on your redhat machine |
It is installed, but on 64-bit
Thanks for your answer. I did check to see if sendmail is installed, but it's installed differently and I suspect that is because it is installed on a 64-bit system. I can also use mail to send myself email using our email server.
root 3551 1 0 May20 ? 00:00:00 sendmail: accepting connections smmsp 3558 1 0 May20 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue /usr/bin/which: no sendmail in (PATH:/sbin:/bin:/usr/local/bin:/usr/bin:/root/bin) Quote:
|
try this:
Code:
find / -name "sendmail*" -print if it's occurring in a binary, run it in strace. |
All times are GMT -5. The time now is 12:29 AM. |