SourceGuardian Error when Upgrading Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nelsonw
Posts: 64
Joined: Wed Feb 22, 2017 4:03 am

SourceGuardian Error when Upgrading Nagios XI

Post by nelsonw »

Hi,

I am trying to upgrade to the latest version of Nagios XI, but get the following error


Running upgrade
Nagios XI Upgrade Log
==========================
DATE: Mon Jan 6 17:03:14 GMT 2020

DISTRO INFO:
Ubuntu
18.04
x86_64


Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib/php/20180731/ixed.7.2.lin
Sourceguardian extension found for PHP version 7.2
Sourceguardian extension already in php.ini
PHP Fatal error: SourceGuardian Incompatible loader version. This protected script was encoded with newer version of SourceGuardian. Please download and install the <A HREF="http://www.sourceguardian.com/loaders/">latest loaders</A>. Error code [19] in /tmp/nagiosxi/verify-prereqs.php on line 2


I have followed the steps in https://www.sourceguardian.com/loaders/download.php, but still get the same error.


Details from https://www.sourceguardian.com/loaders/download.php are shown below


Installing SourceGuardian Loader


Details of your platform have been detected

Operating system: linux
Platform: x86_64
PHP version: 7.2.24
Thread safety: no
Dynamic loading: not possible
Path to extension_dir: /usr/lib/php/20170718
Path to php.ini: /etc/php/7.2/apache2/php.ini

A SourceGuardian loader version 11.2 is already installed in your system. Please follow instructions below to install the latest version 11.3.4 of SourceGuardian loader

1) Download the required loader ixed.7.2.lin

2) Install the loader to /usr/lib/php/20170718

3) Edit /etc/php/7.2/apache2/php.ini and add 'extension=ixed.7.2.lin' directive

4) Restart the web server




For reference,
ls -l /usr/lib/php/20170718/ixed*
-rw-r--r-- 1 root root 104816 Mar 22 2018 /usr/lib/php/20170718/ixed.7.2.lin

diff /etc/php/7.2/apache2/php.ini_2020_01_06 /etc/php/7.2/apache2/php.ini
917a918
> extension = ixed.7.2.lin
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: SourceGuardian Error when Upgrading Nagios XI

Post by lmiltchev »

What is the Nagios XI version that you are upgrading from?

Can you run the following commands, and show the output?

Code: Select all

/usr/bin/php --version
grep -R 'ixed' /etc/php
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked