Error trying to initialize the HPI library error while running java.sh as agent user !!
While following note Metric Evaluation Error Start When Configured The EBS In 12c OEM (Doc ID 2010447.1),
AGENT user is not able to execute command $INST_TOP/admin/scripts/java.sh as it is throwing error as given below
[oracle@ldberp ~]$ . /u03/adbpth/inst/apps/adbpth_ldberp/admin/scripts/java.sh
There was an error trying to initialize the HPI library.
Could not create the Java virtual machine
Checked on below things:
[oracle@ldberp ~]$ ls -ltr /u03/adbpth/inst/apps/adbpth_ldberp/admin/scripts/java.sh
-rwxr-x--- 1 applmgr dba 2366 Apr 20 12:44 /u03/adbpth/inst/apps/adbpth_ldberp/admin/scripts/java.sh
[oracle@ldberp ~]$ echo $LD_LIBRARY_PATH