Page 1 of 1

Cannot restart Nagios service

Posted: Thu Jul 14, 2011 6:11 pm
by salvador_villegas
Whenever i try to restart the nagios service it cames with an error message:

Running configuration check... CONFIG ERROR! Restart aborted. Please check your Nagios configuration files.

The strange thing is that if a run the preflight check it shows 0 errors and 0 warnings.


Does anyone have any idea of what could be causing this?

thanks

Re: Cannot restart Nagios service

Posted: Sat Jul 16, 2011 12:10 pm
by mguthrie
Did you install from source or a package? Make sure the verify command it pointing to the main nagios.cfg file to run it's verification against. On a source install the command is:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Re: Cannot restart Nagios service

Posted: Mon Jul 18, 2011 5:34 am
by tufangursu83
Did you check the user privileges?