Installed Agent did not start due to following error: "dlopen: cannot open shared object file: No such file or directory Please make sure the oscomponent.libjvmpath is correct".

Document ID : KB000049443
Last Modified Date : 14/02/2018
Show Technical Document Details

The library belongs to the Agent's installation and normally will not be affected if the Agent was installed successfully.
However, there are a few reasons it is possible to get the error "dlopen: cannot open shared object file: No such file or directory":

  1. The oscomponent.libjvmpath= statement in the agentparm.txt file was modified and pointed to the wrong path.

  2. The cybAgent.bin binary file was tried to start the Agent instead of the cybAgent script. Make sure you start the cybAgent script.

  3. The LD_LIBRARY_PATH variable in the cybAgent script was modified to a wrong value or the variable was disabled. Make sure that the variables was set with '/opt/ESP/SystemAgent/ESPMSTR/jre/lib/amd64/server' path and the variable was exported, e.g.

    LD_LIBRARY_PATH="/opt/ESP/SystemAgent/ESPMSTR:/opt/ESP/SystemAgent/ESPMSTR/jre /lib/amd64/server: /opt/ESP/SystemAgent/ESPMSTR/jre/lib/amd64:$LD_LIBRARY_PATH"
    export LD_LIBRARY_PATH

  4. The library file itself was removed - with this case you might need re-install the entire Agent.