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 擁有權切換至新的 Manager 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.