Unable to use JBoss ON rhq-agent-wrapper config command when using su in RHQ_AGENT_START_COMMAND
Issue
-
agent config fails
./rhq-agent-wrapper.sh: line 293: .: /usr/bin/su: cannot execute binary file -
Unable to configure agent
/bin/su: line 1: ELF: command not found
Environment
- Red Hat JBoss Operations Network (ON) 3.2
- Attempting to configure the JBoss ON agent using
rhq-agent-wrapper.sh config RHQ_AGENT_START_COMMANDenvironment variable is set to use thesuorsudocommand
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.
