Upgrade from Nagios XI 2012R2.8c to Nagios XI 2014 failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
toper
Posts: 57
Joined: Tue Jul 31, 2012 7:04 am

Upgrade from Nagios XI 2012R2.8c to Nagios XI 2014 failed

Post by toper »

Hi,
I'm trying to upgrade from Nagios XI 2012R2.8c to Nagios XI 2014, but upgrade fails with - "Running configuration check... CONFIG ERROR! Restart aborted."
The XI part is still XI 2012R2.8c with fail - Monitoring Engine not running, and not possible to start it. So i think the fail is on the Core upgrade part.
I read in another thread that it could be old ghost host or services causing this problem. I have checked the file dates in /usr/local/nagios/etc/hosts
and /usr/local/nagios/etc/services, and all files seems to be up to date.

I then restored my latest backup, and things works again.

Please find attached logs.

thanks,
Peter Calum, TDC
Denmark
You do not have the required permissions to view the files attached to this post.
Peter Calum
toper
Posts: 57
Joined: Tue Jul 31, 2012 7:04 am

Re: Upgrade from Nagios XI 2012R2.8c to Nagios XI 2014 faile

Post by toper »

I forgot :

For all support requests, we need to know:

Linux Distribution and version? -
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Linux khk9dsg25.ip.tdk.dk 2.6.32-431.11.2.el6.x86_64 #1 SMP Mon Mar 3 13:32:45 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

32 or 64bit? 64 bit
VMware Image or Manual Install of XI? - Manual install on plain base RHEL

Are there special configurations on your system, ie; is Gnome installed? - No
Are you using a proxy? - No
Are you using SSL? - No

thanks,
Peter Calum
Peter Calum
toper
Posts: 57
Joined: Tue Jul 31, 2012 7:04 am

Re: Upgrade from Nagios XI 2012R2.8c to Nagios XI 2014 faile

Post by toper »

Problem Solved !!

I upgraded again and ran the config check..

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

I corrected this Error
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/ssh_check_raid_M1.cfg', starting on line 14)

Then a new ./upgrade with SUCCES :D

[root@khk9dsg25 nagiosxi]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.0.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 04-11-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 154)
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 116)
Error: Service has no hosts and/or service_description (config file '/usr/local/nagios/etc/services/ssh_check_raid_M1.cfg', starting on line 14)
Error processing object config files!

thanks,
Peter Calum
TDC Denmark
Peter Calum
Locked