Page 1 of 1

After Upgrade numerous errors

Posted: Wed Jun 25, 2014 10:10 am
by mbowden
I upgraded Nagios to the latest version and was greeted with a fabulous error;

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Basic_Windows_Uptime.cfg', starting on line 14)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions


If I manage to clear the first error rest assured there will be another right behind it as I try to apply the configuration. I have been looking at this for 2 days to no avail. Can you please advise on an appropriate course of action? We have a current support contract.

Re: After Upgrade numerous errors

Posted: Wed Jun 25, 2014 10:35 am
by abrist
The trick is to not "apply config" until a "write" and "verify" (from the write config tool) report no errors. See the following FAQ entry:
http://support.nagios.com/wiki/index.ph ... 14_Upgrade

Re: After Upgrade numerous errors

Posted: Wed Jun 25, 2014 10:38 am
by mbowden
Thank You Ill look at it