Applications Systems
Unable to List Resource Agent Polled AIX Servers in SolarWinds Platform
This article provides information on AIX agent plugin failed. Error 255 occurred. Dependent module libintl.so.8 could not be loaded
First published date
Last published date
Overview
- After deploying the AIX agent to AIX 7.1 node and verifying that the agent status is connected, List Resources for the Node does not load completely.
- The following error displays in the SolarWinds.Agent.JobEngine.Plugin.xxxx.log.txt:
- <Timestamp> PID: 4980920 TID: 2318 [WARN] bool JobEngine::process_finished_jobs(JobEngine::ProcessFinishedJobs&, JobEngine::ScheduledJobInfo_ptr_t, const GUID&, int, const string&, const string&) - JobID[d6e3d45d-0e00-49c0-98fb-9d7a8cdd6894] ExecID[136698fe-ccfc-469c-b501-ae9ee40e0695]: failed with exit code 255; Could not load program /opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/bin/python3.7:
Could not load module /opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/lib64/libpython3.7m.so.
Dependent module /usr/lib/libintl.a(libintl.so.8) could not be loaded.
Member libintl.so.8 is not found in archive
Could not load module python3.7m_64.
Dependent module /opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/lib64/libpython3.7m.so could not be loaded.
Could not load module .
- <Timestamp> PID: 4980920 TID: 2318 [WARN] bool JobEngine::process_finished_jobs(JobEngine::ProcessFinishedJobs&, JobEngine::ScheduledJobInfo_ptr_t, const GUID&, int, const string&, const string&) - JobID[d6e3d45d-0e00-49c0-98fb-9d7a8cdd6894] ExecID[136698fe-ccfc-469c-b501-ae9ee40e0695]: failed with exit code 255; Could not load program /opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/bin/python3.7:
- 2nd Error in Agent Logs
/opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/bin/python3.7: Could not load module /usr/lib/libintl.a(libintl.so.8). Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded. Member libiconv.so.2 is not found in archive Could not load module python3.7m_64. Dependent module /usr/lib/libintl.a(libintl.so.8) could not be loaded.
Product section
Cause
- Upon checking, the libintl.so.8 is unable to load is due to rpm.rte. You may refer to the IBM forum for more details:
- https://community.ibm.com/community/user/power/communities/community-home/digestviewer/viewthread?GroupId=6211&MID=137325&CommunityKey=10c1d831-47ee-4d92-a138-b03f7896f7c9&ReturnUrl=%2Fcommunity%2Fuser%2Fcommunities%2Fcommunity-home%2Fdigestviewer%3FCommunityKey%3D10c1d831-47ee-4d92-a138-b03f7896f7c9
- https://community.ibm.com/community/user/power/discussion/yum-cannot-load-module-usrliblibintlalibintlso8
Resolution
You may follow the instruction from the IBM forum to reinstall rpm.rte and then restart the agent.
gettext installation:
- Download gettext from
https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/gettext/gettext-0.19.8.1-5.aix6.1.ppc.rpm - Copy it to AIX server
- Run command:
Disclaimer: Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. rpm -ivh gettext-0.19.8.1-5.aix6.1.ppc.rpm- Check the new gettext version is installed:
Disclaimer: Scripts are not supported under any SolarWinds support program or service. Scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation. rpm -q gettext
Workaround 2 (2nd Error)
Initially, these are the shared libraries that Agent is looking for
/opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/lib64
/opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/lib64/python3.7/lib-dynload
/opt/SolarWinds/Agent/lib64
/usr/lib
The one in /usr/lib does not contain the libiconv.so.2 library which is needed by libintl. So we need to force it to link the other one
Create a symbolic link
ln -s /opt/freeware/lib/libintl.a /opt/SolarWinds/Agent/bin/Plugins/Python3/opt/freeware/lib64/
Note: If the Agent is upgrade, this will be needed to re-execute again since the plugins are updated as well