Nagios Sendmail无法发送mail邮件的解决方法
Nagios Sendmail无法发送mail邮件的解决方法
Nagios监控的说:Sendmail无法发送mail邮件了,你怎么办,想哪出了错了,其实很简单就解决了,请看下文。
nagios 监控无法发送mail邮件。发现是文件权限问题
You should first check the permissions on the following files:
# ls -l /usr/sbin/sendmail.sendmail
-r-xr-sr-x root smmsp /usr/sbin/sendmail.sendmail
# ls -l /var/spool
drwxrwx--- smmsp smmsp /var/spool/clientmqueue
If your permissions are mis-matched, you can modify them by doing the following:
# chown root.smmsp /usr/sbin/sendmail.sendmail
# chmod g+s /usr/sbin/sendmail.sendmail
# chown smmsp.smmsp /var/spool/clientmqueue
After changing permissions, you need to restart the Sendmail service, type:
# service sendmail restart
大家能看懂吧,其实Sendmail无法发送mail邮件问题很好解决,希望文章对你们有用!
- Nagios监控Windows 2003服务器的六大注意
- 12.10 Nagios监控策略
- 12.6 Nagios监控其他服务器
- 12.3.6 启动Nagios服务
- 玩转Nagios实战篇:你应该知道的Nagios技巧
- 十一期间系统升级录:企业级监控系统Nagios
- Sendmail简单介绍
- 图文并茂 讲解Sendmail工作环境
评论暂时关闭