PowerPath for Linux:加载共享库时出错: libjson-c.so.2: cannot open shared object file: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 管理服务,在这之后,PowerPath/Linux 主机可以添加到 PPMA。

 

Additional Information

这也记录在 PowerPath 文档中。

 

Affected Products

PowerPath for Linux
Article 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.