Cannot restart Nagios service

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Cannot restart Nagios service

Postby salvador_villegas » Thu Jul 14, 2011 6:11 pm

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

Re: Cannot restart Nagios service

Postby mguthrie » Sat Jul 16, 2011 12:10 pm

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

Re: Cannot restart Nagios service

Postby tufangursu83 » Mon Jul 18, 2011 5:34 am

Did you check the user privileges?
tufangursu83
 
Posts: 2
Joined: Mon Jul 18, 2011 5:13 am


Return to Community Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 13 guests