VOOZH about

URL: https://www.ibm.com/support/pages/apar/IJ47895

⇱ IJ47895: JVM FAILS TO START WITH ERROR -89 WHEN /PROC IS MOUNTED WITH THE OPTION HIDEPID=2


IJ47895: JVM FAILS TO START WITH ERROR -89 WHEN /PROC IS MOUNTED WITH THE OPTION HIDEPID=2

APAR status

  • Closed as program error.

Error description

  • Error Message: Error: Port Library failed to initialize: -89
    .
    Stack Trace:
    .
    

Local fix

  • Remount the /proc filesystem without the hidepid option.
    

Problem summary

  • The cgroup v1 container detection code requires that the pseudo
    file /proc/1/cgroup is accessible. If /proc is mounted with the
    option hidepid=2, a user without root privileges will not be
    able to access /proc/1/cgroup, and a JVM launched by that user
    will fail to start with the following error:
    Error: Port Library failed to initialize: -89
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Further information can be found in this Eclipse OMR issue:
    https://github.com/eclipse/omr/issues/7021
    

Problem conclusion

  • The OpenJ9 JVM has been updated to print a warning in this
    scenario instead of exiting.
    .
    This APAR will be fixed in the following Releases:
    .
    IBM Semeru Runtimes
     11 11.0.20.1 (z/OS)
     11 11.0.20.0 (Distributed)
     17 17.0.8.0
    IBM SDK, Java Technology Edition
     8 SR - (8.0.-.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    maintenance can be found at:
     https://www.ibm.com/support/pages/java-sdk
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ47895

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-08-15

  • Closed date

    2023-08-15

  • Last modified date

    2023-10-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
03 October 2023