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
Error upgrading Nagios xi to 2011R3.1
-
- Former Nagios Staff
- Posts: 13589
- Joined: Mon May 23, 2011 12:15 pm
Re: Error upgrading Nagios xi to 2011R3.1
You can work around this by running the following:
Hope this helps.
Code: Select all
cd /tmp/nagiosxi
cp -f /dev/null ./uninstall-crontab-nagios
./upgrade
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 32
- Joined: Tue Mar 01, 2011 10:03 am
Re: Error upgrading Nagios xi to 2011R3.1
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: Error upgrading Nagios xi to 2011R3.1
Run the upgrade script again and post the final output of the screen.. I don't think it all completed
-
- Posts: 32
- Joined: Tue Mar 01, 2011 10:03 am
Re: Error upgrading Nagios xi to 2011R3.1
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
I deleted this folder, downloaded "xi-latest.tar.gz" again and it has worked fine.
Regards
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: Error upgrading Nagios xi to 2011R3.1
Good deal. Thanks for the update!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises