LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-10-2007, 12:16 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 719

Rep: Reputation: 39
mailx not found error message


Hi there --

I have a script on one of servers, running Fedora Core 7, that sends a success or failure message to the system administrator using mailx. However has failed to send its e-mail notifications for several days.

When I did a check within the script, I discovered the following error situation while debugging:

mailx: command not found

The confusing part of this situation is the fact that logwatch is also installed on this system, and one of its dependencies is mailx. That utility is working properly.

Does anyone have any ideas as to what is going on? Thanks.
 
Old 12-10-2007, 12:27 PM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
On my Fedora Core 6, mailx is a link to mail
Code:
$ ls -l /bin/mailx
lrwxrwxrwx 1 root root 4 Oct 31  2006 /bin/mailx -> mail
the former is provided by the package redhat-lsb, the latter is provided by mailx. So, if things are not changed between the two Fedora releases, you should start to check the following
Code:
$ ls -l /bin/mail*
$ rpm -q mailx
$ rpm -q redhat-lsb
and eventually verify the integrity of the packages.
 
Old 12-10-2007, 03:20 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 719

Original Poster
Rep: Reputation: 39
Thanks for the help. Once I installed the Redhat-lsb package, mailx worked without a problem.
 
  


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
ntldr not found error message photomaster General 2 01-05-2007 04:30 PM
command not found error message dcarlis Linux - Newbie 3 10-21-2004 08:30 PM
Error Message gcc: Command not found Schmurff Fedora 2 09-27-2004 01:23 PM
error message: Couldn't initialize SDL: Found no sufficiently capable X11 visuals JimBass Linux - Software 2 03-05-2004 08:50 AM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
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