After Upgrade numerous errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

After Upgrade numerous errors

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: After Upgrade numerous errors

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
mbowden
Posts: 93
Joined: Thu May 03, 2012 3:52 pm

Re: After Upgrade numerous errors

Post by mbowden »

Thank You Ill look at it
Locked