Error upgrading Nagios xi to 2011R3.1

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
htel
Posts: 32
Joined: Tue Mar 01, 2011 10:03 am

Error upgrading Nagios xi to 2011R3.1

Post 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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Error upgrading Nagios xi to 2011R3.1

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
htel
Posts: 32
Joined: Tue Mar 01, 2011 10:03 am

Re: Error upgrading Nagios xi to 2011R3.1

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Error upgrading Nagios xi to 2011R3.1

Post by scottwilkerson »

Run the upgrade script again and post the final output of the screen.. I don't think it all completed
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
htel
Posts: 32
Joined: Tue Mar 01, 2011 10:03 am

Re: Error upgrading Nagios xi to 2011R3.1

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Error upgrading Nagios xi to 2011R3.1

Post by mguthrie »

Good deal. Thanks for the update!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Error upgrading Nagios xi to 2011R3.1

Post by scottwilkerson »

Excellent
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart