ERROR: Could not create or update '/usr/local/nagios/var/nagios.configtest'

[root@tomcat ~]# service nagios start

Starting nagios:This account is currently not available.

ERROR: Could not create or update ‘/usr/local/nagios/var/nagios.configtest‘

试了网上的许多方法:都不行。

在尝试用nagios登录时,发现没有为nagios设置密码,且它的bashnologic

解决方法:usermod -s /bash/bin nagios

passwd nagios

设置密码

再次start服务居然就可以了

文章来自:https://www.cnblogs.com/ruigu/p/8302608.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3