This account is currently not available

[root@ servers]# service nagios restart
Running configuration check...done.
Stopping nagios: done.
Starting nagios:This account is currently not available.
 done.

提示:Starting nagios:This account is currently not available.

这是因为当时安装nagios没有设好权限,不过可以通过如下操作来完善它:

vi /etc/passwd

找到此行:nagios:x:500:500::/home/nagios:/sbin/nologin(注意红色字体),把此行改成如下一行

        nagios:x:500:500::/home/nagios:/bin/bash

[root@servers]# service nagios restart

Running configuration check...done.

Stopping nagios: done.

Starting nagios: done.

OK!问题搞定!!

你可能感兴趣的:(This account is currently not available)