PowerPath for Linux: error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory
Summary: While enabling the Remote Management service or PowerPath service on PowerPath/Linux, it throws: "error while loading shared libraries: libjson-c.so.2: cannot open shared object file: No such file or directory". ...
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
The PowerPath/Linux host cannot get connected to PowerPath Management Appliance (PPMA) as the PowerPath Management service cannot get started as per the error:
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
This is due to libjson-c.so.2 libraries not being installed on the Linux host.
Note: In Red Hat Enterprise Linux 7.5, the json-c is not installed by default in the minimal install and it is advised to install the package separately.
Resolution
It is advised to install json-c libraries separately and start PowerPath Management service post which PowerPath/Linux host can get added to PPMA.
Additional Information
This also gets documented in the PowerPath documentation as well.
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.