The libjvm.so 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: libjvm.so: cannot open shared object file: No such file or directory":
- The oscomponent.libjvmpath= statement in the agentparm.txt file was modified and pointed to the wrong path.
- The cybAgent.bin binary file was tried to start the Agent instead of the cybAgent script. Make sure you start the cybAgent script.
- 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"
- The library libjvm.so file itself was removed - with this case you might need re-install the entire Agent.