EM 24ai: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

Problem:

While checking the status of the agent, I received the following error:

$ /u03/em24/agent/agent_inst/bin/emctl status agent

Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
/u03/em24/agent/agent_24.1.0.0.0/bin/emdctl: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

Solution:

As root user, install libnsl package using yum

# yum install libnsl

Retry the command:

$ /u03/em24/agent/agent_inst/bin/emctl status agent

Oracle Enterprise Manager 24ai Release 1
Copyright (c) 1996, 2024 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running

Unknown's avatarAbout Mariami Kupatadze
Oracle Certified Master Linkedin: https://www.linkedin.com/in/mariami-kupatadze-01074722/

Leave a Reply