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

Solution Verified - Updated -


  • 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.


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

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