Page 1 of 1

nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Tue Sep 17, 2013 8:00 am
by infopaq
tar_xi2012r2_3_output.txt
nagiosxi2012R2_3_upgrade.txt
Hi all
I´m fairly new to nagios(xi) and the former nagios administrator is no longer employed. I hope that you can point me in the right direction.

I´m having a problem upgrading from nagioxi-2012R1.6 to nagiosxi-2012R2.3
The installation is running on a CentOS 6.3 (64 bit - 2.6.32-279.11.1.el6.i686)

I followed the upgrade instruction (http://assets.nagios.com/downloads/nagi ... ctions.pdf ) including backup and removing old nagiosxi dir and tar ball in /tmp before getting the new tar ( http://assets.nagios.com/downloads/nagi ... 2.3.tar.gz )

Everything looked OK in the process (no errors during tar or upgrade)

But then I look at the GUI, it´s still a nagiosxi 2012R1.6 and announces that there´s an update (2012R2.3) available.
I´ve tried refreshing the GUI cache and even tried rebooting.
I´ll guess I´ve overlooked something, but can´t figure out that.

I also tried to redo the upgrade but without any luck.

I can´t find any information to my problem in the forum.

Please advice

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Tue Sep 17, 2013 10:51 am
by slansing
Have you tried logging out of the interface and back in? That is one crucial step.

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Tue Sep 17, 2013 11:10 am
by lmiltchev
I don't believe you were able to complete successfully the upgrade.

Do you have any special characters in the username or password? Check what you have in: "/usr/local/nagios/etc/ndo2db.cfg". What are the permissions of this file?

Code: Select all

ll /usr/local/nagios/etc/ndo2db.cfg

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Wed Sep 18, 2013 2:19 am
by infopaq
Hi

Thank you for all your help!

Yes I´ve tried logging out and in again.

My ndo2db.cfg file, where empty yesterday (and in my backup it was also empty), after the upgrade I notised that the "Dababase backend" component couldn´t start.
I searched the system and did find sample in tmp ( /tmp/nagiosxi/subcomponents/ndoutils/mods/cfg/ndo2db.cfg ) copied this ndo2db file into my ndo2db.cfg and it was possible to start the Database backend component.

The permission for ndo2db.cfg is:
-rwxrwxr-x 1 apache nagios 2229 Aug 25 23:35 /usr/local/nagios/etc/ndo2db.cfg

I´ve rebooted the system after the ndo2db copy, and all componnet starts normally.

But I´m stil at nagiosxi2012R1.6

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Wed Sep 18, 2013 4:30 am
by infopaq
Hi again

Regaring PW, yes there is a "@" in nagiosql and ndoutils´s (db users) PW. But I can´t find any login errors in log files, so I guess that this is not an issue.

I never saw the complete upgrade menu in the GUI (if this stil exsist in 2012R2.3)

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Wed Sep 18, 2013 7:04 am
by infopaq
Problem solved

Did a new upgrade, but this time I made sure that all GUI users where logged out. One user had been logged in during the other upgrades, my guess is that this was the reason the earlier upgrades vent wrong.

After the upgrade I got my “Complete upgrade” in the GUI and all seems to work perfectly.

Note. It was not necessary to update the license, but had to check for new updates before the system announced that it was a “nagiosxi 2012R2.3” installation.

Thank you for your help!

Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)

Posted: Wed Sep 18, 2013 9:58 am
by abrist
Logged in users should not cause the update to fail, though a logged in user restarting the nagios process at the wrong time could. Glad you got it resolved. Locking.