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
nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)
nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)
Have you tried logging out of the interface and back in? That is one crucial step.
Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)
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?
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.cfgBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagiosxi 2012R1.6 -> nagiosxi 2012R2.3 (CentOS)
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
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)
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)
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)
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!
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)
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.
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.
"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.