PowerPath for Linux:載入共用程式庫時發生錯誤:libjson-c.so.2:無法開啟共用物件檔案:No such file or directory
Summary: 在 PowerPath/Linux 上啟用遠端管理服務或 PowerPath 服務時,會傳回錯誤:「error while loading shared libraries: libjson-c.so.2: cannot open shared object file: 沒有此類檔案或目錄」。
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
PowerPath/Linux 主機無法連接至 PowerPath Management Appliance (PPMA),因為 PowerPath Management 服務無法根據錯誤啟動:
Mar 30 12:26:35 ner02or-00471 emcp_mond.sh: /sbin/emcp_mond: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory Mar 30 12:26:35 ner02or-00471 root: emcp_mond.sh: Error starting PowerPath Management Daemon Mar 30 12:26:35 ner02or-00471 emcp_mond.sh: Error starting PowerPath Management Daemon
Cause
這是因為 Linux 主機上未安裝 libjson-c.so.2 程式庫。
注意:在 Red Hat Enterprise Linux 7.5 中,json-c 在最少安裝時預設並未安裝,建議您個別安裝套件。
Resolution
建議您個別安裝 json-c 程式庫,並啟動 PowerPath Management 服務 post,以便將 PowerPath/Linux 主機新增至 PPMA。
Additional Information
這也會記錄在 PowerPath 說明文件中。
Affected Products
PowerPath for LinuxArticle Properties
Article Number: 000198393
Article Type: Solution
Last Modified: 20 Dec 2023
Version: 8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.