Page 1 of 1
Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 9:32 am
by rniziak
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

Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 9:57 am
by rniziak
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
Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 10:01 am
by slansing
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.
Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 2:27 pm
by rniziak
Upgrade still completes, but the rev is still 2.4 and the please upgrade message is still around.
Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 2:48 pm
by rniziak
THe install is so new, that I would just love to reinstall everything, just totally wipe out nagios and do a fresh install.
Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 2:49 pm
by rniziak
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.
Re: Upgrade to 3.0 issues
Posted: Thu Jun 07, 2012 3:58 pm
by lmiltchev
Run the upgrade one more time and if it fails, post the install.log so we can review it. Thanks!
Re: Upgrade to 3.0 issues
Posted: Fri Jun 08, 2012 11:21 am
by rniziak
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.
Re: Upgrade to 3.0 issues
Posted: Fri Jun 08, 2012 11:29 am
by rniziak
Here is the log..
Re: Upgrade to 3.0 issues
Posted: Fri Jun 08, 2012 2:47 pm
by scottwilkerson
This is only a portion of the install.log, would it be possible to post the whole thing...?