成都网站建设设计

将想法与焦点和您一起共享

重启nagios有异常提示Startingnagios:Thisaccountiscurrentlynotavailable

[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
URL标题:http://chengdu.cdxwcx.cn/article/goghii.html