How can I control Apache using service httpd command from JBoss ON?

Solution Verified - Updated -

Issue

  • How can I control Apache using service httpd command from JBoss ON?
  • Changing "Control script path" to /etc/init.d/httpd for Apache resource, results in:

    Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|configtest}
    
  • Running a custom script to control Apache server from JBoss ON

Environment

  • Red Hat JBoss Operations Network (JON) 3.1.2, 3.2, 3.3
  • Apache server discovered and imported into JBoss ON inventory

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.