Mailx: command not found
up vote
-2
down vote
favorite
I have a Linux server that is up and running for nearly 90+ days.
[root@RHEL7 log]# uptime
06:23:31 up 95 days, 11:56, 10 users, load average: 0.30, 0.52, 0.56
[root@RHEL7 log]# uname -a
Linux RHEL7 2.6.18-433.el5 #1 SMP Thu Jun 28 14:26:33 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@RHEL7 log]# yum list installed | grep mailx
mailx.x86_64 8.1.1-44.2.2 installed
[root@RHEL7 log]# rpm -qa | grep mailx
mailx-8.1.1-44.2.2
Above are the details. Mailx
was working until last week. All of a sudden it stopped working and showing command not found. But the packages are all showing installed as above.
[root@ENT-DV-UHBLD01 log]# which mailx
/usr/bin/which: no mailx in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/opt/puppetlabs/bin)
[root@ENT-DV-UHBLD01 log]# whereis mailx
mailx: /usr/share/man/man1p/mailx.1p.gz
[root@ENT-DV-UHBLD01 log]# mailx
bash: mailx: command not found
rhel package-management command mailx
|
show 3 more comments
up vote
-2
down vote
favorite
I have a Linux server that is up and running for nearly 90+ days.
[root@RHEL7 log]# uptime
06:23:31 up 95 days, 11:56, 10 users, load average: 0.30, 0.52, 0.56
[root@RHEL7 log]# uname -a
Linux RHEL7 2.6.18-433.el5 #1 SMP Thu Jun 28 14:26:33 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@RHEL7 log]# yum list installed | grep mailx
mailx.x86_64 8.1.1-44.2.2 installed
[root@RHEL7 log]# rpm -qa | grep mailx
mailx-8.1.1-44.2.2
Above are the details. Mailx
was working until last week. All of a sudden it stopped working and showing command not found. But the packages are all showing installed as above.
[root@ENT-DV-UHBLD01 log]# which mailx
/usr/bin/which: no mailx in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/opt/puppetlabs/bin)
[root@ENT-DV-UHBLD01 log]# whereis mailx
mailx: /usr/share/man/man1p/mailx.1p.gz
[root@ENT-DV-UHBLD01 log]# mailx
bash: mailx: command not found
rhel package-management command mailx
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
Sorry, forgot theq
. Doesrpm -q -V mailx-8.1.1-44.2.2
show any verification errors?
– Mark Plotnick
Nov 26 at 11:48
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
1
Looks like/bin/mailx
is a symlink to/bin/mail
./bin/mail
comes from themailx
package, but/bin/mailx
is part of the redhat-lsb package. So please runrpm -q -V redhat-lsb
and see if it shows any errors.
– Mark Plotnick
Nov 26 at 18:56
|
show 3 more comments
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I have a Linux server that is up and running for nearly 90+ days.
[root@RHEL7 log]# uptime
06:23:31 up 95 days, 11:56, 10 users, load average: 0.30, 0.52, 0.56
[root@RHEL7 log]# uname -a
Linux RHEL7 2.6.18-433.el5 #1 SMP Thu Jun 28 14:26:33 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@RHEL7 log]# yum list installed | grep mailx
mailx.x86_64 8.1.1-44.2.2 installed
[root@RHEL7 log]# rpm -qa | grep mailx
mailx-8.1.1-44.2.2
Above are the details. Mailx
was working until last week. All of a sudden it stopped working and showing command not found. But the packages are all showing installed as above.
[root@ENT-DV-UHBLD01 log]# which mailx
/usr/bin/which: no mailx in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/opt/puppetlabs/bin)
[root@ENT-DV-UHBLD01 log]# whereis mailx
mailx: /usr/share/man/man1p/mailx.1p.gz
[root@ENT-DV-UHBLD01 log]# mailx
bash: mailx: command not found
rhel package-management command mailx
I have a Linux server that is up and running for nearly 90+ days.
[root@RHEL7 log]# uptime
06:23:31 up 95 days, 11:56, 10 users, load average: 0.30, 0.52, 0.56
[root@RHEL7 log]# uname -a
Linux RHEL7 2.6.18-433.el5 #1 SMP Thu Jun 28 14:26:33 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@RHEL7 log]# yum list installed | grep mailx
mailx.x86_64 8.1.1-44.2.2 installed
[root@RHEL7 log]# rpm -qa | grep mailx
mailx-8.1.1-44.2.2
Above are the details. Mailx
was working until last week. All of a sudden it stopped working and showing command not found. But the packages are all showing installed as above.
[root@ENT-DV-UHBLD01 log]# which mailx
/usr/bin/which: no mailx in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/bin:/bin:/opt/puppetlabs/bin)
[root@ENT-DV-UHBLD01 log]# whereis mailx
mailx: /usr/share/man/man1p/mailx.1p.gz
[root@ENT-DV-UHBLD01 log]# mailx
bash: mailx: command not found
rhel package-management command mailx
rhel package-management command mailx
edited Nov 27 at 21:21
Rui F Ribeiro
38.4k1477127
38.4k1477127
asked Nov 26 at 11:29
sabarish jackson
128112
128112
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
Sorry, forgot theq
. Doesrpm -q -V mailx-8.1.1-44.2.2
show any verification errors?
– Mark Plotnick
Nov 26 at 11:48
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
1
Looks like/bin/mailx
is a symlink to/bin/mail
./bin/mail
comes from themailx
package, but/bin/mailx
is part of the redhat-lsb package. So please runrpm -q -V redhat-lsb
and see if it shows any errors.
– Mark Plotnick
Nov 26 at 18:56
|
show 3 more comments
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
Sorry, forgot theq
. Doesrpm -q -V mailx-8.1.1-44.2.2
show any verification errors?
– Mark Plotnick
Nov 26 at 11:48
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
1
Looks like/bin/mailx
is a symlink to/bin/mail
./bin/mail
comes from themailx
package, but/bin/mailx
is part of the redhat-lsb package. So please runrpm -q -V redhat-lsb
and see if it shows any errors.
– Mark Plotnick
Nov 26 at 18:56
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
Sorry, forgot the
q
. Does rpm -q -V mailx-8.1.1-44.2.2
show any verification errors?– Mark Plotnick
Nov 26 at 11:48
Sorry, forgot the
q
. Does rpm -q -V mailx-8.1.1-44.2.2
show any verification errors?– Mark Plotnick
Nov 26 at 11:48
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
1
1
Looks like
/bin/mailx
is a symlink to /bin/mail
. /bin/mail
comes from the mailx
package, but /bin/mailx
is part of the redhat-lsb package. So please run rpm -q -V redhat-lsb
and see if it shows any errors.– Mark Plotnick
Nov 26 at 18:56
Looks like
/bin/mailx
is a symlink to /bin/mail
. /bin/mail
comes from the mailx
package, but /bin/mailx
is part of the redhat-lsb package. So please run rpm -q -V redhat-lsb
and see if it shows any errors.– Mark Plotnick
Nov 26 at 18:56
|
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f484182%2fmailx-command-not-found%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The above command doesn't return anything. So I hope no verification errors.
– sabarish jackson
Nov 26 at 11:35
rpm -ql mailx
– Ipor Sircer
Nov 26 at 11:41
Sorry, forgot the
q
. Doesrpm -q -V mailx-8.1.1-44.2.2
show any verification errors?– Mark Plotnick
Nov 26 at 11:48
rpm -q -V mailx-8.1.1-44.2.2 gives no output.
– sabarish jackson
Nov 26 at 11:50
1
Looks like
/bin/mailx
is a symlink to/bin/mail
./bin/mail
comes from themailx
package, but/bin/mailx
is part of the redhat-lsb package. So please runrpm -q -V redhat-lsb
and see if it shows any errors.– Mark Plotnick
Nov 26 at 18:56