SUMMARY Unusual JVM error 89 on RHEL 8

Posted on

Hi,

Maybe this will help someone else in the future.

I was recently involved in debugging a problem where IBM MQ Manager upgrade to release 9.3.0.x created a problem for its built-in Java. Whilst MQ Manager itself was fully operational, any process using its Java was not.

Such problem did not exist on the same RHEL 8.6 server with previous release of MQ Manager 9.2.x.

Whilst root account could run command like "java -version", other users could not. Ordinary users were getting cryptic and unhelpful errors:

Error: Port Library failed to initialize: -89
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit

I initially concentrated on SELinux, but it turned out it was not a problem.

I also searched for JVM error 89 on the internet but did not find anything useful.

The real cause of the problem was "hidepid=2" mount option for /proc.

Once I removed it, MQ Manager 9.3.0.x was in perfect state.

Regards,

Dusan Baljevic (amateur radio VK2COT)

Responses