JON server reports error 'no JVM available' when trying to use rhqctl as a System V init service

Solution Verified - Updated -

Issue

  • Service errors out
  • Service start command fails with the following error:

    There is no JVM available.
    Please set RHQ_JAVA_HOME or RHQ_JAVA_EXE_FILE_PATH appropriately.
    11:24:58,268 ERROR [org.rhq.server.control.RHQControl] Process exited with an error: 1 (Exit value: 1)
    
  • There are RHQ_JAVA_HOME not set errors

  • rhqctl does not work as System V init script

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content