Page 1 of 1

Error upgrading Nagios XI to 2011R3.1

Posted: Mon Jun 25, 2012 9:31 am
by htel
Hello,

I am currently trying to upgrade from Nagios XI 2011R2.4 to 2011R3.1.

When running the upgrade script I get the following error:

"./uninstall-crontab-nagios: line 8: /tmp/nagios.crontab.orig: cannot overwrite existing file"

I am using the CentOS 32bit Virtual Image.

Regards

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Mon Jun 25, 2012 9:37 am
by lmiltchev
You can work around this by running the following:

Code: Select all

cd /tmp/nagiosxi
cp -f /dev/null ./uninstall-crontab-nagios
./upgrade
Hope this helps.

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Wed Jun 27, 2012 5:31 am
by htel
Hi that worked!

I have another odd problem now..... Even though I have installed 2011R3.1 Nagios XI still says there is an update available. Even after clicking the "Check for updates" button it still says:

Latest Available Version: 2011R3.1
Installed Version: 2011R2.4

Also on the footer of the Nagios XI interface it says: "Nagios XI 2011R2.4"

Regards

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Wed Jun 27, 2012 7:52 am
by scottwilkerson
Run the upgrade script again and post the final output of the screen.. I don't think it all completed

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Wed Jun 27, 2012 9:03 am
by htel
I think this may have just been user error. I had a nagiosxi folder that already existed in tmp.

I deleted this folder, downloaded "xi-latest.tar.gz" again and it has worked fine.

Regards

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Wed Jun 27, 2012 9:13 am
by mguthrie
Good deal. Thanks for the update!

Re: Error upgrading Nagios XI to 2011R3.1

Posted: Wed Jun 27, 2012 9:13 am
by scottwilkerson
Excellent