Contact Us
  
 
 
    SearchSearch   RegisterRegister   Log inLog in 

mailx command not found in linux

mailx command not found in linux

 
Post new topic   Reply to topic     Forum Index -> Linux os
View previous topic :: View next topic  
Author Message
juniormember



Joined: 28 Jun 2008
Posts: 154

PostPosted: Sun Oct 12, 2008 6:45 am    Post subject: mailx command not found in linux Reply with quote

Hi

I have installed linux CentOS 5. Earlier i had fedora linux and mailx command was working fine. Now i changed to CentOS 5 linux version, but when i try to use mailx command on terminal it is showing error of "bash: mailx: command not found"
. I have searched on forum, i found to search mailx rpm installed or not and is it on path or not. i have done all things

Code:
 rpm -q mailx

mailx-8.1.1-44.2.2

showing me this rpm is installed

then i try to search with both which and find command

Quote:
which -a mailx


/usr/bin/which: no mailx in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)

it is showing me mailx is not found

i use again find command

Quote:
find -name mailx

it is not also showing mailx command.

if i want sendmail it is showing
Quote:
which -a sendmail

/usr/sbin/sendmail

After all affords it is still not working what should i do now. I want to run mailx command
Back to top
View user's profile Send private message
seniormember
Site Admin


Joined: 20 Jul 2008
Posts: 77

PostPosted: Sun Nov 16, 2008 6:11 am    Post subject: Reply with quote

It seems that RPM is not installed properly. I will advice to uninstall mailx RPM and find all file related to mailx rpm or package and remove it from system. After this again install mailx RPM pacakage. Hope this will solve problem and you will find mailx command.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Linux os All times are GMT
Page 1 of 1

 
Jump to:  
  Quick Post a Reply Topic
     
  Name (required)  
     
  Email Address (will not be published) (required)  
     
  Subject of topic (required)  
     
   
     
   
     
  Advertisement  
     
 
     


  More Links  
 
JSP Introduction
JSP Setup
Simple JSP Example
JSP Variable
Array Declaration in JSP
JSP Forms and User Input
Form Validation
JSP Cookies
JSP Session Object
Loop, content collection, iterator, conditional check in JSP
JSP Application Object
JSP Include
JSP Response Object
JSP Request Object
JSP Error Handling
JSP File Handling Object
JSP Action Tag
JSP Implicit Objects
JSP Declaration
JSP Directive
JDBC Introduction
JDBC Driver
JDBC Connection
JDBC Prepared/Statement
JDBC ResultSet
JDBC Close Connection object
JDBC Insert
JDBC Display Records
JDBC Update
JDBC Delete
JDBC Sorting
JDBC Query
JDBC Exception
JDBC Add Batch
JDBC Transaction/RollBack