[Cialug] CentOS httpd

David Champion dchamp1337 at gmail.com
Tue Nov 8 11:41:04 CST 2016


 Is selinux set to "enforcing"?

-dc

On Tue, Nov 8, 2016 at 11:37 AM, L. V. Lammert <lvl at omnitec.net> wrote:

> Have a new GC CentOS 7 instance, .. installed httpd & enabled. For some
> reason, however, the service cannot access the httpd.conf file:
>
> Nov 08 17:28:27 webserver-1 systemd[1]: Starting The Apache HTTP Server...
> Nov 08 17:28:27 webserver-1 httpd[16645]: httpd: Could not open
> configuration file /etc/httpd/conf/httpd.conf: Permission denied
>
> OK, the file is there:
>
> root at webserver-1:~
> # ll /etc/httpd/conf/httpd.conf
> -rw-r--r--. 1 root root 25268 Oct 28 22:15 /etc/httpd/conf/httpd.conf
>
> Directory ownership and permissions are the same on a working CentOS 5
> machine:
>
> $ ll /etc/httpd/conf/httpd.conf
> -rw-r--r-- 1 root root 32209 Jun 11  2010 /etc/httpd/conf/httpd.conf
>
> Is the extra "." after the permissions an issue (can't find any reference
> for it, or is possibly something else?
>
>         TIA!
>
>         Lee
>
>
>
>
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list