PowerFlex - SCLI Error: "One Of The Cluster Nodes Failed Loading The LDAP Library"

Summary: When running certain scli commands on the Primary MDM, an error returns about not being able to load the LDAP library.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

- One or more of the Manager MDMs is running on SLES 15.x

- When running the switch_cluster_mode command or setting authentication to use LDAP, this error is seen:

# scli --switch_cluster_mode --cluster_mode 3_node --add_slave_mdm_name mdm2 --add_tb_name tb
Error: MDM failed command.  Status: One of the cluster nodes failed loading the LDAP library

# scli --set_user_authentication_method --native_and_ldap_authentication
Error: MDM failed command.  Status: One of the cluster nodes failed loading the LDAP library

- The trc log for the SLES 15.x Manager MDM shows the following:

2024/04/08 16:33:02.871630 71d0000020b9:mosLdap_LoadLibraries:00149: Initializing LDAP library 
2024/04/08 16:33:02.871636 71d0000020b9:mosDynamicLib_Open:00093: lib-name: libldap-2.4.so.2   
2024/04/08 16:33:02.871714 71d0000020b9:mosDynamicLib_Open:00112: ERROR: Failed to open any library in libldap-2.4.so.2 (last error: libldap-2.4.so.2: cannot open shared object file: No such file or directory)  
2024/04/08 16:33:02.871718 71d0000020b9:mosLdap_CloseLibraries:00121: Closing LDAP libraries   
2024/04/08 16:33:02.871722 71d0000020b9:mosLdap_LoadLibraries:00154: Error: Failed to open LDAP dynamic libraries  

Impact 

Inability to use LDAP authentication or even switch MDM ownership to the new Manager MDM.

Cause

SLES 15.x uses an LDAP library named differently than what the MDM is looking for. In trying to load the wrong file, it fails to find and load the LDAP library.

Resolution

This issue can be worked around simply by creating a link from the correct LDAP library to the one the MDM needs.

Run this command on the SLES 15.x Manager MDM where this issue is present:

ln -s /usr/lib64/libldap_r-2.4.so.2.10.9 /usr/lib64/libldap-2.4.so.2
 

The commands that were failing before will now work.

Impacted Version

PowerFlex 3.6.x

Fixed In Version

PowerFlex 3.6.4

Affected Products

PowerFlex rack, PowerFlex Appliance, PowerFlex custom node, PowerFlex Software
Article Properties
Article Number: 000225531
Article Type: Solution
Last Modified: 06 Jun 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.