Nagios XI - Upgrade errors - root.crontab.orig: cannot overwrite existing file


Problem Description

When upgrading Nagios XI, the upgrade may fail with the error:

The following error message is produced:

root.crontab.orig: cannot overwrite existing file    

 

This problem generally occurs when there are leftover files from previous upgrades.

 

Resolving The Problem

This problem can be eliminated by running the following command:

cat /dev/null > /tmp/nagiosxi/uninstall-crontab-root

After this you can proceed to run the upgrade script again.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Article ID: 157
Created On: Tue, Jan 26, 2016 at 12:23 AM
Last Updated On: Mon, Feb 22, 2016 at 7:33 PM
Authored by: tlea

Online URL: https://support.nagios.com/kb/article/nagios-xi-upgrade-errors-root-crontab-orig-cannot-overwrite-existing-file-157.html