JBoss ON Agent does not start/restart the EAP server when the agent runs as root user and EAP server as a non-root user

Solution Verified - Updated -

Issue

  • JON Agent is not performing a restart/start task on EAP 6.4.8.
  • The agent is not capable to do the restart (nor start) operations on Jboss EAP 6.4 resource.
  • On restart operations, the agent is only able to STOP the server but not to start it.
  • JBoss ON Agent does not start/restart the EAP server when the agent runs as root user and EAP server as a non-root user

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Red Hat Enterprise Application Platform (EAP) 6, 7
  • JBoss ON Agent is installed and started as root user
  • EAP instance is running as jboss user
  • Start Script Prefix is defined as: /usr/bin/nohup /usr/bin/sudo -u <user> -g <group>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content