0

Nagios service went to down after restart

Hi, i have a Nagios server is installed and configured on my network to monitor all my network resources, recently i have done some configuration changes after that i restart the Nagios service it' s suddenly went down and shows the error like below. What am i supposed to do to resolve this error? thanks in advance.

[root@localhost ~]# service nagios start
Starting nagios:This account is currently not available.

nagios could not create nagios.configtest nagios.configtest
CentOS Monitoring tool Nagios Add a comment
john
asked May 03 2018

Answer

0

This is probably your nagios user don't have a user shell, typically configured using nologin shell (/sbin/nologin), so you must modify the user shell with below command.

usermod nagios -s /sbin/nologin
Add a comment
parthiban
asked May 15 2018
edited Oct 05 2018
Post your Answer