Cannot restart Nagios service

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

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: 4384
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 Nagios Core

Who is online

Users browsing this forum: Google [Bot], mja and 23 guests