Home » Categories » Multiple Categories

Nagios XI - Oracle Services Critical After Nagios XI Upgrade

Problem Description

After upgrading Nagios XI, Oracle based services start failing with errors similar to this:

The following error message is produced:

CRITICAL - cannot connect to fprnt. install_driver(Oracle) failed: Can't load '/usr/local/lib64/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.12.1: cannot open shared object file: No such file or directory at /usr/lib64/perl5/DynaLoa    



During the upgrade, the customized commands are overwritten with the default commands included with the wizard.


Resolving The Problem

The old commands can be retrieved as they would have been kept in a backup.

If you did the upgrade via the XI web interface, the following file is created:


Follow these steps in an SSH or console session on your Nagios XI host:

mkdir /tmp/restore/
cd /tmp/restore/
tar zxf /store/backups/nagiosxi/autoupgrade_backup..tar.gz -C /tmp/restore/
tar zxf /tmp/restore/autoupgrade_backup./nagios.tar.gz usr/local/nagios/etc/commands.cfg --strip-components 4

This last step will show you what the commands were defined as before the upgrade:

grep oracle /tmp/restore/commands.cfg

Using that information you will be able to go into CCM and update the commands accordingly following this original guide on page 2 and 3:

Documentation - How to Install & Configure the Oracle Client & Plugins


When you are done, delete the extracted files:

cd /tmp
rm -rf restore


Final Thoughts

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


3 (2)
Article Rating (2 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
XI 5.4 monitoring engine not running
Viewed 8807 times since Mon, Feb 6, 2017
Nagios XI - Core Configuration Mananger Display Issues
Viewed 3530 times since Tue, Jan 26, 2016
Disabling Port 113 IDENT Requests
Viewed 4288 times since Tue, Mar 12, 2019
Nagios XI - Downloading A System Profile
Viewed 5716 times since Wed, Jul 19, 2017
Nagios XI - Monitoring A Website URL
Viewed 5514 times since Wed, Jul 19, 2017
PHPMailer - Troubleshooting Using Debug Logging
Viewed 12152 times since Tue, Aug 14, 2018
Nagios XI - MultiTech MTR API Integration
Viewed 2788 times since Thu, Nov 29, 2018
Nagios XI - Defining Global Environment Variables
Viewed 8344 times since Thu, Mar 17, 2016
Nagios XI - How To Monitor Devices Using The NCPA Agent and Wizard
Viewed 11613 times since Thu, Jan 28, 2016
Nagios XI - 2014 Upgrade Issue - CONFIG ERROR
Viewed 4198 times since Mon, Jan 25, 2016