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/

Posted by: - Tue, Jan 26, 2016 at 12:23 AM. This article has been viewed 560 times.
Online URL: https://support.nagios.com/kb/article/nagios-xi-upgrade-errors-root-crontab-orig-cannot-overwrite-existing-file-157.html

Powered by PHPKB (Knowledge Base Software)