Using RHQ_AGENT_START_COMMAND with su or sudo to start JBoss ON agent as a System V style init service is unreliable
Issue
- Service hangs
rhq-agent-wrapperdoes not work as System V init script- How to run rhq-agent as a service
- Unable to use config service command
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- JBoss ON agent has been configured as a System V init service using the instructions provided in Running the Agent as a Daemon or init.d Service
- JBoss ON agent's
RHQ_AGENT_START_COMMANDenvironment variable is defined usingsuas described in Starting an Agent with a Custom Command
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.
