CONFIG ERROR but nagios -v returns clean!!

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.

CONFIG ERROR but nagios -v returns clean!!

Postby Webbie » Fri Mar 11, 2011 9:33 am

I've been doing a number of configuration changes and after each change I've been running:

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg and getting:

....................
Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check

However, when I run service nagios start I get:

Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.

Any pointers as where to look further would be greatly appreciated.
Webbie
 
Posts: 3
Joined: Fri Feb 25, 2011 4:55 am

Re: CONFIG ERROR but nagios -v returns clean!!

Postby Webbie » Fri Mar 11, 2011 10:39 am

Sorted - it was a permissions issue and the nagios -v command was being run by the wrong user.

Apologies
Webbie
 
Posts: 3
Joined: Fri Feb 25, 2011 4:55 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 25 guests