This is a cache of https://support.nagios.com/kb/article/nagios-xi-2014-upgrade-issue-config-error-148.html. It is a snapshot of the page at 2025-05-14T00:08:52.998+0000.
Nagios <strong>xi</strong> - 2014 Upgrade Issue - CONFIG ERROR
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Nagios xi - 2014 Upgrade Issue - CONFIG ERROR

Overview

The most common error experienced during the xi 2014 upgrade process is the following core config error:

CONFIG ERROR! Restart aborted. Check your Nagios configuration.

 

xi 2014 introduced some new mechanisms to guard against and remove the dreaded "ghost config" errors as well as some issues pertaining to escalations/dependencies. Due to these changes though, you may receive the above error during the upgrade, immediately after the installation of nagios core 4.

The most common resolution requires fixing the config errors in the CCM, writing and verifying the config, and then re-running the upgrade script. Enumerated steps are below:

  1. Run ./upgrade until the error occurs. Do not roll back the VM or installation. xi will now be half-upgraded and the config errors will have to be resolved before the upgrade can continue.

  2. In xi, browse to the CCM: Configure > Core Config Manager > Tools > Write Config Files.

  3. Click "Write" and then "Verify". You should receive at least one error. The text of the error should be fairly descriptive concerning which object is having issues and what those issues potentially are. If you do not see any descriptive errors, you may have issues with escalations or service/host dependencies. You will most likely want to de-activate these definitions until the upgrade is complete.

  4. Resolve the error in the Core Config Manager (CCM). An easy method is to de-activate the config item it is talking about as this will let you proceed past the problem and continue with the upgrade.

  5. Once the detected errors are resolved, re-run the "Write" and "Verify" process from the "Write Config Files" tool. Resolve any further errors in the CCM, repeating the process above as many times as necessary until all config errors are resolved.

  6. Only when the "Verify" process completes without and error should you proceed.

  7. Click "Apply Configuration" - it should complete without error at this point.

  8. Now, return to the shell and re-run ./upgrade. The upgrade process should continue past the core 4 upgrade and nagios process restart.

 

A more detailed explanation of the Write and Verify steps are outlined in this article:

Configuration Verification Failed

 

Final Thoughts

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

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



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios xi - How To Test Check Commands From The Command-line
Viewed 49114 times since Tue, Jan 26, 2016
Slack Notifications Stopped Working
Viewed 4992 times since Wed, Mar 18, 2020
Nagios xi - How To Delete A Data Source From An RRD File
Viewed 14149 times since Wed, Apr 27, 2016
Nagios xi - NSP: Sorry Dave, I can’t let you do that
Viewed 22945 times since Tue, Jan 27, 2015
Nagios xi - Resetting The nagiosadmin Password
Viewed 46825 times since Mon, Jan 25, 2016
Pages Not Displaying Correctly
Viewed 8590 times since Mon, Jan 25, 2016
Nagios xi - Running Out Of Disk Space On The Nagios xi VM
Viewed 23973 times since Tue, Jan 27, 2015
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 27209 times since Tue, Jan 26, 2016
Nagios xi - Migrate Performance Data
Viewed 13100 times since Tue, Jan 26, 2016
Nagios xi - Reset Upgrade Status In Web Interface
Viewed 11692 times since Tue, May 7, 2019