This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Thu Jun 07, 2012 9:32 am
I recently upgraded to 3.0 in order to get rid of the annoying "Please Upgrade" messages, run the upgrade script, all runs fine
and completes without errors, restart the services and the XI says that it is still the older version and I need to upgrade..
Any ideas ??
-RJN
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Thu Jun 07, 2012 9:57 am
System is running on CentOS 6.2 64Bit
Ran the upgrade again... and got the following below:
usr/bin/install -c -m 755 -o root -g root -d /etc/rc.d/init.d
/usr/bin/install -c -m 755 -o root -g root daemon-init /etc/rc.d/init.d/ndo2db
NDOUTILS POST-UPGRADE...
Current database version: 1.5.1
Database already upgraded.
Stopping ndo2db: head: cannot open `/usr/local/nagios/var/ndo2db.lock' for reading: No such file or directory
done.
Starting ndo2db: done.
Running configuration check...done.
Stopping nagios: done.
Starting nagios: done.
NDOUTILS UPGRADED!
Saving old crontab to /tmp/nagios.crontab.orig...
./uninstall-crontab-nagios: line 8: /tmp/nagios.crontab.orig: cannot overwrite existing file
Removing XI cron jobs...
Saving old crontab to /tmp/root.crontab.orig...
./uninstall-crontab-root: line 8: /tmp/root.crontab.orig: cannot overwrite existing file
slansing
Posts: 7698 Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...
Post
by slansing » Thu Jun 07, 2012 10:01 am
Try running this command
Code: Select all
cat /dev/null > /tmp/nagiosxi/uninstall-crontab-root
You should be able to complete the upgrade at this point.
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Thu Jun 07, 2012 2:27 pm
Upgrade still completes, but the rev is still 2.4 and the please upgrade message is still around.
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Thu Jun 07, 2012 2:48 pm
THe install is so new, that I would just love to reinstall everything, just totally wipe out nagios and do a fresh install.
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Thu Jun 07, 2012 2:49 pm
slansing wrote: Try running this command
Code: Select all
cat /dev/null > /tmp/nagiosxi/uninstall-crontab-root
You should be able to complete the upgrade at this point.
Didn't help.. other things are causing the upgrade to fail, even though it says it ran OK.
lmiltchev
Bugs find me
Posts: 13589 Joined: Mon May 23, 2011 12:15 pm
Post
by lmiltchev » Thu Jun 07, 2012 3:58 pm
Run the upgrade one more time and if it fails, post the install.log so we can review it. Thanks!
Be sure to check out our
Knowledgebase for helpful articles and solutions!
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Fri Jun 08, 2012 11:21 am
The problem is that it does not fail and says that the upgrade installed successfully, but when I open the GUI, it says that it is still at 2.4
Will re-run the upgrade.
rniziak
Posts: 16 Joined: Wed Jun 06, 2012 10:03 am
Post
by rniziak » Fri Jun 08, 2012 11:29 am
Here is the log..
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Fri Jun 08, 2012 2:47 pm
This is only a portion of the install.log, would it be possible to post the whole thing...?