This is a cache of https://support.nagios.com/kb/article/nagios-xi-oracle-services-critical-after-nagios-xi-upgrade-209.html. It is a snapshot of the page at 2025-05-12T01:11:42.449+0000.
Nagios <strong>xi</strong> - Oracle Services Critical After Nagios <strong>xi</strong> Upgrade
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    

 

Explanation

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:

/store/backups/nagiosxi/autoupgrade_backup..tar.gz

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:

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!

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
Nagios xi - Monitoring A MySQL Server
Viewed 8154 times since Wed, Jul 19, 2017
SSL Certificate does not validate properly
Viewed 5358 times since Wed, Jan 20, 2021
Nagios xi - Monitoring VMware With Nagios xi
Viewed 12928 times since Thu, Jan 28, 2016
VMWare checks timing out or slow
Viewed 3828 times since Fri, Feb 11, 2022
Nagios xi - Last Check Time Not Updating
Viewed 20682 times since Tue, Jan 6, 2015
Nagios xi - Display All Scheduled Reports
Viewed 5388 times since Wed, Oct 12, 2016
Nagios xi - Resetting The nagiosadmin Password
Viewed 46787 times since Mon, Jan 25, 2016
Nagios xi - Monitoring DNS Queries
Viewed 5805 times since Wed, Jul 19, 2017
Nagios xi - CentOS 6 Installation Problems xi 2011R1.7 2011R1.8
Viewed 5205 times since Tue, Feb 2, 2016
Nagios xi - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 8460 times since Wed, Jun 1, 2016