Hello:
OS: Oracle Linux 7.9
PHP version: 5.6.40
Nagios xi version: 5.8.1
I upgraded Nagios xi yesterday, Sun. 5/16/2021, to version 5.8.3 from 5.8.1.
However, when I first attempted to upgrade from the server command line as per the following, a warning message appeared:
1). Update NAGIOS xi: https://support.nagios.com/kb/article/n ... e-839.html:
a). systemctl stop nagios.service
b). cd /tmp
c). rm -rf nagiosxi xi*
d). wget https://assets.nagios.com/downloads/nag ... est.tar.gz
e). tar xzf xi-latest.tar.gz
f). cd nagiosxi
g). ./init.sh
WARNING MESSAGE:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_get_hash_value in Unknown on line 0
2). I updated PHP via CLI: yum install php
3). PHP and 15 dependences were accepted for installation
4). Reran the Nagios xi upgrade, still got the warning, but Nagios xi did upgrade.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.4.lin' - /usr/lib64/php/modules/ixed.5.4.lin: undefined symbol: zend_get_hash_value in Unknown on line 0
PHP 5.6.40 (cli) (built: Apr 28 2021 13:55:10)
Does this need to be fixed? Is there a fix?
Thank you.
PHP warning when upgrading Nagios xi ...
-
- Posts: 286
- Joined: Thu Jan 16, 2014 10:24 am
PHP warning when upgrading Nagios xi ...
Newbie '14
-
- Posts: 858
- Joined: Wed Oct 07, 2020 12:46 pm
- Location: Yo mama
Re: PHP warning when upgrading Nagios xi ...
Congrats on moving away from PHP 5.4 
The SourceGuardian PHP extension on your system is compiled for PHP 5.4. PHP 5.6 is throwing an error while loading it.
To get rid of the error, reinstall the SourceGuardian PHP extension for PHP 5.6 using the following shell commands (as root):

The SourceGuardian PHP extension on your system is compiled for PHP 5.4. PHP 5.6 is throwing an error while loading it.
To get rid of the error, reinstall the SourceGuardian PHP extension for PHP 5.6 using the following shell commands (as root):
Code: Select all
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar zxf xi-latest.tar.gz
cd /tmp/nagiosxi
rm -rf /etc/php.d/sourceguardian.ini
./init.sh
sed -i '/^PHP script/d' xi-sys.cfg
sed -i '/^1)/d' xi-sys.cfg
sed -i '/^2)/d' xi-sys.cfg
sed -i '/^3)/d' xi-sys.cfg
./install-sourceguardian-extension.sh
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
- Posts: 286
- Joined: Thu Jan 16, 2014 10:24 am
Re: PHP warning when upgrading Nagios xi ...
Just a note: I was supposed to be out of doing Nagios support for the past 2 years but still get sucked in since nobody else knows as much about it as I do (supported it for 7 years) and being short-staffed I have provided assistance when I can.
I'll try to tackle this when approved.
Thanks for information! You may lock this post, but if I run into an issue I'll create a new post.
I'll try to tackle this when approved.
Thanks for information! You may lock this post, but if I run into an issue I'll create a new post.
Newbie '14
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
Re: PHP warning when upgrading Nagios xi ...
Locking threadPhilG wrote:Just a note: I was supposed to be out of doing Nagios support for the past 2 years but still get sucked in since nobody else knows as much about it as I do (supported it for 7 years) and being short-staffed I have provided assistance when I can.
I'll try to tackle this when approved.
Thanks for information! You may lock this post, but if I run into an issue I'll create a new post.