Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old ver

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old ver

Post by luniversity »

I upgraded Nagios from XI 2012R1.2 to XI 2014R1.4 this afternoon and I don't think it took. After running the upgrade script I logged on to the web interface but it still showed the old version (2012R1.2). So I rebooted and the first reboot gave the following errors on boot at the console:

Code: Select all

nagios01r6v login: BUG: soft lockup - CPU#0 stuck for 67s! [php:2423]
BUG: soft lockup - CPU#1 stuck for 67s! [php:2598]
BUG: soft lockup - CPU#2 stuck for 67s! [php:2582]
BUG: soft lockup - CPU#3 stuck for 67s! [check_nrpe:2792]
etc....(repeated 3 more times)
So I powered off the system and turned it back on. It booted up, but when I open the web interface it does not prompt me to "Finish upgrade" and it still shows the old version. I've reboot several times and still get the same results. Any ideas you may have would be greatly appreciated.
Mike Westmoreland
Lamar University
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by jdalrymple »

Is the nagios monitoring engine coming online?

We have seen issues where more rigorous config file checking has caused the Nagios service to not start in which case the upgrade doesn't totally complete.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by jolson »

In addition to jdalrymple's post,

Any chance you tried logging out and logging back in? Occasionally that will need to take place for the 'Finish Upgrade' screen to appear.

Are you using XI with a proxy?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by luniversity »

jdalrymple, Yes sir. The monitoring engine looks good, as do the rest of the components.

jolson, No proxy. I did, indeed, logout. In fact, I closed all my browser windows, cleared my cache, rebooted the server and then logged in. Still shows old ver. I'm a little aggravated at myself for not taking a snapshot of the VM before I started. I did run the nagios backup script though, I also ran a full backup on the system with our normal backup software.
Mike Westmoreland
Lamar University
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by jdalrymple »

Can you post the tail-end of your upgrade.log?
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by luniversity »

Yes sir, here are the last few lines:

Code: Select all

NAGIOSQL-POST
Loaded plugins: product-id, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package php-mbstring available.
Mike Westmoreland
Lamar University
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by luniversity »

And here is the entire log. Just in case.
You do not have the required permissions to view the files attached to this post.
Mike Westmoreland
Lamar University
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by luniversity »

Ya know, after looking at that last line about no php-mbstring package available I got to doing some more searching and found that package is available via the "RHEL Server Optional" channel, which this system was not subscribed to. So it didn't install anything. I've added that channel to my nagios system in my RHN server. Should I try to install just that package? Or maybe try the upgrade again? I don't want to get ahead of myself.
Mike Westmoreland
Lamar University
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by jdalrymple »

Run the upgrade again... and that almost certainly is the problem.

Report back :)
luniversity
Posts: 56
Joined: Mon Dec 10, 2012 9:39 am

Re: Upgrade from XI 2012R1.2 to XI 2014R1.4 still shows old

Post by luniversity »

Ok, I tried re-running the upgrade script and immediately got this error:

Code: Select all

[root@nagios01r6v nagiosxi]# ./upgrade
Checking required prereqs...
Please wait...

OLD VERSION: 302
NagiosQL failed to update user table!
Duplicate column name 'locale'
Mike Westmoreland
Lamar University
Locked