Page 1 of 1
The required libraries for the Active Directory integration
Posted: Fri Apr 22, 2016 2:09 pm
by wat_006
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.
Re: The required libraries for the Active Directory integrat
Posted: Sat Apr 23, 2016 6:48 pm
by rkennedy
What version of PHP did you upgrade to, and what OS are you running? php -v
Re: The required libraries for the Active Directory integrat
Posted: Mon Apr 25, 2016 2:46 pm
by wat_006
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.
Re: The required libraries for the Active Directory integrat
Posted: Mon Apr 25, 2016 5:02 pm
by ssax
What is the output of this:
Thank you
Re: The required libraries for the Active Directory integrat
Posted: Mon Apr 25, 2016 5:08 pm
by tgriep
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.
Code: Select all
./install-sourceguardian-extension.sh
If you don't have the source for XI on the system, follow these instructions to download and extract the data.
Code: Select all
cd /tmp
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xvfz xi-latest.tar.gz
cd nagiosxi
Try that and let us know if this works for you.
Re: The required libraries for the Active Directory integrat
Posted: Thu Apr 28, 2016 9:34 am
by wat_006
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
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
Posted: Thu Apr 28, 2016 2:09 pm
by tgriep
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.
Code: Select all
mv /etc/php.d/sourceguardian.ini /tmp
Re: The required libraries for the Active Directory integrat
Posted: Fri Apr 29, 2016 10:31 am
by wat_006
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.
Re: The required libraries for the Active Directory integrat
Posted: Fri Apr 29, 2016 12:19 pm
by tgriep
No, running the script
Code: Select all
./install-sourceguardian-extension.sh
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.