I've attempted to update php on the nagios vm
I'm able to login as the local user, but when I attempt to login via AD I receive the following message "The required libraries for the Active Directory integration component are missing." Any suggestions?
If I roll back the vm image, all is well, but I would really like to get this working as the php upgrade I did removed a ton of php related vulnerabilities.
We're using the trail version at the moment.
The required libraries for the Active Directory integration
Re: The required libraries for the Active Directory integrat
What version of PHP did you upgrade to, and what OS are you running? php -v
Former Nagios Employee
Re: The required libraries for the Active Directory integrat
php -v shows version 5.6.20
There is also this line in the output "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.3.lin' - /usr/lib64/php/modules/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0"
OS is CentOS 6.7 which is what the downloadable VM comes with.
There is also this line in the output "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.3.lin' - /usr/lib64/php/modules/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0"
OS is CentOS 6.7 which is what the downloadable VM comes with.
Re: The required libraries for the Active Directory integrat
What is the output of this:
Thank you
Code: Select all
rpm -qa | grep phpRe: The required libraries for the Active Directory integrat
If you have the source for Nagios XI still on the server, you can reinstall sourceguardian by following this procedure.
Change to the /tmp/nagiosxi folder and run the following script yo update Sourceguardian PHP module.
If you don't have the source for XI on the system, follow these instructions to download and extract the data.
Try that and let us know if this works for you.
Change to the /tmp/nagiosxi folder and run the following script yo update Sourceguardian PHP module.
Code: Select all
./install-sourceguardian-extension.shCode: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xvfz xi-latest.tar.gz
cd nagiosxi
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: The required libraries for the Active Directory integrat
Output is
php56w-cli-5.6.20-1.w6.x86_64
php56w-mysql-5.6.20-1.w6.x86_64
php56w-xml-5.6.20-1.w6.x86_64
php56w-common-5.6.20-1.w6.x86_64
php56w-pdo-5.6.20-1.w6.x86_64
php56w-gd-5.6.20-1.w6.x86_64
php56w-devel-5.6.20-1.w6.x86_64
php56w-5.6.20-1.w6.x86_64
php56w-mbstring-5.6.20-1.w6.x86_64
php56w-opcache-5.6.20-1.w6.x86_64
php56w-intl-5.6.20-1.w6.x86_64
php56w-mcrypt-5.6.20-1.w6.x86_64
I extracted the data from xi-latest.tar.gz
when trying to run ./install-sourceguardian-extension.sh I receive the following warning
php56w-cli-5.6.20-1.w6.x86_64
php56w-mysql-5.6.20-1.w6.x86_64
php56w-xml-5.6.20-1.w6.x86_64
php56w-common-5.6.20-1.w6.x86_64
php56w-pdo-5.6.20-1.w6.x86_64
php56w-gd-5.6.20-1.w6.x86_64
php56w-devel-5.6.20-1.w6.x86_64
php56w-5.6.20-1.w6.x86_64
php56w-mbstring-5.6.20-1.w6.x86_64
php56w-opcache-5.6.20-1.w6.x86_64
php56w-intl-5.6.20-1.w6.x86_64
php56w-mcrypt-5.6.20-1.w6.x86_64
I extracted the data from xi-latest.tar.gz
when trying to run ./install-sourceguardian-extension.sh I receive the following warning
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ixed.5.3.lin' - /usr/lib64/php/modules/ixed.5.3.lin: cannot open shared object file: No such file or directory in Unknown on line 0
Archive: sourceguardian/ixed4.lin.x86-32.zip
checkdir: cannot create extraction directory: /usr/lib/php/modules
No such file or directory
Re: The required libraries for the Active Directory integrat
The old Sourceguardian file has to be moved first.
Login to XI as root, run the following and then continue on with the previous instructions.
Login to XI as root, run the following and then continue on with the previous instructions.
Code: Select all
mv /etc/php.d/sourceguardian.ini /tmpBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: The required libraries for the Active Directory integrat
Is rerunning sourceguardian.ini going to revert php back to it's original version?
To add to this conundrum, the Core Config Manager is not available.
To add to this conundrum, the Core Config Manager is not available.
Re: The required libraries for the Active Directory integrat
No, running the script
Will install the correct Sourceguardian PHP module for the version of PHP you upgraded to and create a new sourceguardian.ini reflecting that.
It will not revert PHP back to the old version.
Code: Select all
./install-sourceguardian-extension.shIt will not revert PHP back to the old version.
Be sure to check out our Knowledgebase for helpful articles and solutions!