JON server reports error 'no JVM available' when trying to use rhqctl as a System V init service
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 seterrors rhqctldoes not work as System V init script
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- JBoss ON server has been configured as a System V init service using the instructions provided in Configuring the Server as a Service on Red Hat Enterprise Linux of the Installation Guide Revision 3.2-12
- Starting or stopping the JBoss ON server using
/etc/init.d/rhqctlorservice rhqctl
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
