apachectl [ httpd-argument ] returns no output when SELinux is Enforcing

Solution Verified - Updated -

Issue

  • apachectl -M doesn't give any output when SELinux is enabled & Enforcing.
  • apachectl [ star/stop/restart ] runs fine without any issues.
  • httpd -M runs fine without any issue with SELinux set to Enforcing or Permissive.

Environment

  • Red Hat Enterprise Linux 7
  • Apache Httpd 2.4.x

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