Page 2 of 2
Re: Error during upgrade
Posted: Wed Jul 02, 2014 1:53 pm
by benningtonr
Okay here is the localhost.cfg file and the install command line txt file, and the verify before pictures.
I have to leave for the day so I am rolling back snapshot and will apply all suggestions in the morning .
Thank you again
Re: Error during upgrade
Posted: Wed Jul 02, 2014 2:08 pm
by abrist
Can you send an email to
[email protected] ?
I would like to escalate this request to a remote session.
Re: Error during upgrade
Posted: Wed Jul 02, 2014 3:13 pm
by rodpayne
I am upgrading from Nagios XI 2012R2.5 and I am receiving nearly the same error, just on a different config file.
The log has:
Code: Select all
Nagios Core 4.0.7
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 06-03-2014
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 14)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/hosttemplates.cfg', starting at line 168)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 14)
Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/servicetemplates.cfg', starting at line 171)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/Memory Usage.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
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
Config applies OK before the upgrade and gets this after.
Re: Error during upgrade
Posted: Wed Jul 02, 2014 3:16 pm
by slansing
It's likely you are running into a ghost host/service/config that was not picked up before, please see:
http://support.nagios.com/wiki/index.ph ... 14_Upgrade
Let us know if you continue to have troubles.
Re: Error during upgrade
Posted: Wed Jul 02, 2014 4:02 pm
by rodpayne
Yes, I made that config inactive in CCM and reran the upgrade. Looks like it will work this time.
Re: Error during upgrade
Posted: Thu Jul 03, 2014 9:02 am
by tmcdonald
We'll keep this open for a day or so in case the upgrade still doesn't work.
Re: Error during upgrade
Posted: Thu Jul 03, 2014 9:05 am
by benningtonr
I would hope so, my problem still is not fixed. The thread jumper fixed his problem, not mine.