Why does the service httpd fail to start when SELinux is in Enforcing mode?
Issue
- Why does the service httpd fail to start when SELinux is in Enforcing mode?
- The service
httpdis running withInclude /opt/file.conf, while restartinghttpdwithselinuxEnforcing, it fails to start with the following message.
[root@example ~]# /etc/init.d/httpd start
Starting httpd: httpd: Syntax error on line 1013 of /etc/httpd/conf/httpd.conf: Could not open configuration file /opt/sequoia/httpd/sequoia.conf: Permission denied [FAILED]
Environment
- Red Hat Enterprise Linux 6
- SELinux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.