LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:16 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

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, 11:27 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
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, 02:20 PM   #3
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:32 AM.

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
Open Source Consulting | Domain Registration