Nagios service not starting

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
cyient
Posts: 116
Joined: Thu May 08, 2014 4:45 am

Re: Nagios service not starting

Post 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.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios service not starting

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked