Erro PowerFlex — SCLI: "Um dos nós do cluster falhou ao carregar a biblioteca LDAP"

Summary: Ao executar determinados comandos scli no MDM primário, um erro retorna sobre não ser possível carregar a biblioteca 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

- Um ou mais dos MDMs do Manager está em execução no SLES 15.x

- Ao executar o comando switch_cluster_mode ou definir a autenticação para usar LDAP, este erro é visto:

# 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

- O log trc para o MLM do SLES 15.x Manager mostra o seguinte:

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 

Incapacidade de usar a autenticação LDAP ou até mesmo mudar a propriedade do MDM para o novo Manager MDM.

Cause

O SLES 15.x usa uma biblioteca LDAP com nome diferente do que o MDM está procurando. Ao tentar carregar o arquivo errado, ele não consegue localizar e carregar a biblioteca LDAP.

Resolution

Esse problema pode ser resolvido simplesmente criando um link da biblioteca LDAP correta para a que o MDM precisa.

Execute este comando no MDM do SLES 15.x Manager onde este problema está presente:

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

Os comandos que estavam falhando antes agora funcionarão.

Versão Afetada

PowerFlex 3.6.x

Correção feita na versão

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.