[root@ servers]# service nagios restart
Running configuration check...done.
Stopping nagios: done.
Starting nagios:This account is currently not available.
done.
这个是因为当时安装nagios没有设好权限,不过可以通过如下操作来完善它:
用命令 vi /etc/passwd
找到此行:nagios:x:500:500::/home/nagios:/sbin/nologin(注意红色字体),把此行改成如下一行
nagios:x:500:500::/home/nagios:/bin/bash
现在service nagios restart
[root@servers]# service nagios restart
Running configuration check...done.
Stopping nagios: done.
Starting nagios: done.
就不会有异常提示了!
网站标题:重启nagios有异常提示Startingnagios:Thisaccountiscurrentlynotavailable
网页网址:
http://chengdu.cdxwcx.cn/article/goghii.html