PowerFlex: error de SCLI: "Uno de los nodos del clúster no pudo cargar la biblioteca LDAP"

Summary: Cuando se ejecutan ciertos comandos de la scli en el MDM principal, aparece un error que indica que no se puede cargar la biblioteca de LDAP.

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

- Uno o más de los MDM de Manager se ejecutan en SLES 15.x

- Cuando se ejecuta el comando switch_cluster_mode o se configura la autenticación para usar LDAP, se observa este error:

# 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

- El registro trc para el MDM de SLES 15.x Manager muestra lo siguiente:

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  

Impacto 

Incapacidad de usar la autenticación de LDAP o incluso de cambiar la propiedad de MDM al nuevo MDM de administrador.

Cause

SLES 15.x utiliza una biblioteca de LDAP con un nombre distinto al que busca el MDM. Si intenta cargar el archivo incorrecto, no puede encontrar ni cargar la biblioteca LDAP.

Resolution

Este problema se puede solucionar simplemente creando un enlace desde la biblioteca LDAP correcta a la que necesita el MDM.

Ejecute este comando en el MDM de SLES 15.x Manager donde se presente este problema:

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

Los comandos que antes fallaban ahora funcionarán.

Versión afectada

PowerFlex 3.6.x

Problema corregido en la versión

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.