LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-23-2011, 07:21 AM   #1
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
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.
 
Old 05-23-2011, 08:25 AM   #2
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
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
 
Old 05-23-2011, 09:32 AM   #3
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Original Poster
Rep: Reputation: 35
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:
Originally Posted by 16pide View Post
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
 
Old 05-24-2011, 12:53 AM   #4
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
try this:
Code:
find / -name "sendmail*" -print
to debug, if the problem is occurring in a script, you can put that script in verbose mode (typically -x option).
if it's occurring in a binary, run it in strace.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to disable logwatch on our RHEL servers to stop the logwatch mail svik Linux - Enterprise 10 08-27-2009 02:51 PM
Kernel error on logwatch: I/O error, dev fd0 custangro Linux - General 1 05-21-2009 12:46 PM
Logwatch error help illNino Linux - Software 3 03-17-2009 06:00 PM
LogWatch error: aacraid:ID(0:03:0); Mechanical Positioning Error ...: 1 Time(s) tor_user Linux - Hardware 1 07-26-2006 05:00 PM
LogWatch logged error in xmdms Linux - Networking 0 12-02-2004 08:52 AM


All times are GMT -5. The time now is 02:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration