Page 1 of 1

CONFIG ERROR but nagios -v returns clean!!

Posted: Fri Mar 11, 2011 9:33 am
by Webbie
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.

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

Posted: Fri Mar 11, 2011 10:39 am
by Webbie
Sorted - it was a permissions issue and the nagios -v command was being run by the wrong user.

Apologies