Page 2 of 2

Re: Nagios service not starting

Posted: Tue Dec 30, 2014 11:38 pm
by cyient
scottwilkerson wrote:nagios user should be a part of the nagios group

Code: Select all

usermod -a -G nagios nagios

Code: Select all

# grep nag /etc/group
nagios:x:501:apache,nagios
nagcmd:x:502:nagios,apache
I have added and tried to restart the service but its the same isssue.

Code: Select all

# /etc/init.d/nagios restart
Running configuration check...done.
Stopping nagios: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
done.
Starting nagios: done.

Re: Nagios service not starting

Posted: Fri Jan 02, 2015 2:21 am
by Box293
Try setting the debug level on and then start Nagios.

Code: Select all

sed -i 's/.*debug_level=.*/debug_level=-1/g' /usr/local/nagios/etc/nagios.cfg
service nagios start
Post the file /usr/local/nagios/var/nagios.debug