PowerFlex — SCLI 错误:“其中一个群集节点加载 LDAP 库失败”

Summary: 在主 MDM 上运行某些 scli 命令时,返回有关无法加载 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

- 一个或多个管理器 MDM 正在 SLES 15.x 上运行

- 运行 switch_cluster_mode 命令或将身份验证设置为使用 LDAP 时,会看到以下错误:

# 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

SLES 15.x Manager MDM 的 trc 日志显示以下内容:

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  

影响 

无法使用 LDAP 身份验证,甚至无法将 MDM 所有权切换到新的管理器 MDM。

Cause

SLES 15.x 使用的 LDAP 库的名称不同于 MDM 查找的名称。尝试加载错误的文件时,无法找到并加载 LDAP 库。

Resolution

只需创建从正确的 LDAP 库到 MDM 所需库的链接,即可解决此问题。

在存在此问题的 SLES 15.x Manager MDM 上运行此命令:

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

之前失败的命令现在可以工作了。

受影响的版本

PowerFlex 3.6.x

已修复问题的版本

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.