Cannot restart Nagios service

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.
Locked
salvador_villegas
Posts: 1
Joined: Thu Jul 14, 2011 5:29 pm

Cannot restart Nagios service

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Cannot restart Nagios service

Post 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
tufangursu83
Posts: 2
Joined: Mon Jul 18, 2011 5:13 am

Re: Cannot restart Nagios service

Post by tufangursu83 »

Did you check the user privileges?
Locked