JBoss ON agent fails to start when using su in RHQ_AGENT_START_COMMAND with an invalid user id

Solution Verified - Updated -

Issue

  • error starting agent

    Failed to start - make sure the RHQ Agent is fully configured properly
    
  • Agent fails to start

Environment

  • Red Hat JBoss Operations Network (ON) 3.2
  • Attempting to start the JBoss ON agent using its rhq-agent-wrapper.sh script
  • RHQ_AGENT_START_COMMAND environment variable is set to use the su or sudo command
  • The user passed to the su or sudo command is not valid

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.