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_COMMAND
environment variable is set to use thesu
orsudo
command
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.