Hi Team,
Updated php from 5.4.16 to 5.6.35
Nagiosxi not launching since.
Nagiosxi ver 5.4.12
Error
"PHP script '/usr/local/nagiosxi/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.6.lin' to be installed.
1) Click here to download the required 'ixed.5.6.lin' loader from the SourceGuardian site
2) Install the loader to /opt/rh/rh-php56/root/usr/lib64/php/modules
3) Edit /etc/opt/rh/rh-php56/php.ini and add 'extension=ixed.5.6.lin' directive
4) Restart the web server"
Please advise.
Thanks!
Nagiosxi not working after php upgrade
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagiosxi not working after php upgrade
run the following commands to set the correct php version in the sourceguardian loader file
Code: Select all
cd /tmp
rm -rf nagiosxi xi*
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.4.12.tar.gz
tar xzf xi*.tar.gz
cd /tmp/nagiosxi
./upgradeRe: Nagiosxi not working after php upgrade
Hi,
Ran the steps provided.
Attached output for the same (nagiosxi.txt file).
Still getting the same error on URL
"PHP script '/usr/local/nagiosxi/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.6.lin' to be installed.
1) Click here to download the required 'ixed.5.6.lin' loader from the SourceGuardian site
2) Install the loader to /opt/rh/rh-php56/root/usr/lib64/php/modules
3) Edit /etc/opt/rh/rh-php56/php.ini and add 'extension=ixed.5.6.lin' directive
4) Restart the web server"
Thanks!
Ran the steps provided.
Attached output for the same (nagiosxi.txt file).
Still getting the same error on URL
"PHP script '/usr/local/nagiosxi/html/includes/dbl.inc.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.5.6.lin' to be installed.
1) Click here to download the required 'ixed.5.6.lin' loader from the SourceGuardian site
2) Install the loader to /opt/rh/rh-php56/root/usr/lib64/php/modules
3) Edit /etc/opt/rh/rh-php56/php.ini and add 'extension=ixed.5.6.lin' directive
4) Restart the web server"
Thanks!
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagiosxi not working after php upgrade
your system is clearly not using the conventional paths for php libraries and php.ini, so here is what I suggest would be to run the following commands:
Code: Select all
cp /usr/lib64/php/modules/ixed.5.6.lin /opt/rh/rh-php56/root/usr/lib64/php/modules
echo 'extension=ixed.5.6.lin' >> /etc/opt/rh/rh-php56/php.ini
systemctl restart httpd
Re: Nagiosxi not working after php upgrade
This seems to have helped.
URL is working fine now.
But found extreme slowness in the response time of pages compared to earlier response.
URL is working fine now.
But found extreme slowness in the response time of pages compared to earlier response.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagiosxi not working after php upgrade
Unfortunately I cannot speak to speed differences in different versions of php