Hi Roland,

Thanks for the tip.  In the configuration file there was a line that was trying 
to load the mod_ldap.so extension automatically.  I commented this out and now 
the errors are gone.

-Scott

-----Original Message-----
From: Roland Gruber <[email protected]> 
Sent: Monday, June 7, 2021 2:33 PM
To: [email protected]
Subject: Re: [Lam-public] Unable to load dynamic library 
'/usr/lib/php/modules/mod_ldap.so'

WARNING: External email.



Hi Scott,

there is an issue with your PHP installation. You need to find out which
file references mod_ldap.so. The file name is strange as the PHP module
for LDAP is ldap.so and not mod_ldap.so.

Check the config files in e.g. /etc/php/7.3/cli/conf.d/.
The directory might be named differently on your system. Maybe someone
added a wrong config. Since the job is running the real ldap.so seems to
load fine.


Best regards

Roland


Am 07.06.21 um 14:52 schrieb Scott Koerner:
> Hi Roland,
>
> I tried reinstalling the php-ldap package (yum install php-ldap), but the 
> file still does not exist and I am still getting the error.
>
> As it turns out, there was a problem with my sendmail that was causing the 
> password expiration emails to fail, but I am still getting this mod_ldap.so 
> error everytime the cronjob runs and it's filling up my mailbox with errors 
> each time it runs.
>
> -Scott
>
> -----Original Message-----
> From: Roland Gruber <[email protected]>
> Sent: Saturday, June 5, 2021 1:24 AM
> To: [email protected]
> Subject: Re: [Lam-public] Unable to load dynamic library 
> '/usr/lib/php/modules/mod_ldap.so'
>
> WARNING: External email.
>
>
>
> Hi Scott,
>
> seems like your PHP installation is missing the LDAP module. Try to reinstall 
> the php-ldap package on your operating system.
>
>
> Best regards
>
> Roland
>
>
> Am 04.06.21 um 19:49 schrieb Scott Koerner:
>> We just discovered that our password expiration email jobs are no longer 
>> running.  When I try to run the cron job I get the following error...
>>
>> PHP Warning:  PHP Startup: Unable to load dynamic library
>> '/usr/lib/php/modules/mod_ldap.so' - /usr/lib/php/modules/mod_ldap.so:
>> cannot open shared object file: No such file or directory in Unknown
>> on line 0
>>
>> The file referenced in this error (/usr/lib/php/modules/mod_ldap.so) does 
>> not exist on our system.  How could this file have been deleted or is this 
>> not an accurate message?  Any help would be appreciated.
>>
>> Thanks
>>
>>
>>
>> Scott Koerner
>> Director of Information Technology
>> Marine Biological Laboratory
>> [email protected]<mailto:[email protected]>
>> (508) 289-7434
>>
>>
>>
>>
>> _______________________________________________
>> Lam-public mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/lam-public
>>
>
>
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
>
>
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
>


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public


_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to