2016년 5월 27일 금요일

/bin/mail: No such file or directory Error message

/bin/mail: No such file or directory Error message

root@localhost.localdomain problem solved
http://gblog.ivps.kr/2016/05/mailx-from-rootlocalhostlocaldomain.html

[root@vultr ~]# mail
-bash: mail: command not found
[root@vultr ~]# yum -y install mailx
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package mailx.x86_64 0:12.5-12.el7_0 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 mailx           x86_64           12.5-12.el7_0            base           244 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 244 k
Installed size: 466 k
Downloading packages:
mailx-12.5-12.el7_0.x86_64.rpm                             | 244 kB   00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : mailx-12.5-12.el7_0.x86_64                                   1/1
  Verifying  : mailx-12.5-12.el7_0.x86_64                                   1/1

Installed:
  mailx.x86_64 0:12.5-12.el7_0

Complete!