I am setting up a NetDisco machine on CentOS, which entails adding an include to the apache httpd.conf file.
When I start apache by running "httpd" from a root command prompt, the process launches.
When I try start apache by running "service httpd start", I get the following output:
Starting httpd: httpd: Syntax error on line 1010 of /etc/httpd/conf/httpd.conf: Could not open configuration file /usr/local/netdisco/netdisco_apache.conf: Permission denied [FAILED]
That file has these permissions:
-rw-r--r--. 1 root root 1798 Apr 22 18:46 netdisco_apache.conf
And httpd.conf has these permissions:
-rw-r--r--. 1 root root 34520 Apr 22 17:06 httpd.conf
What gives, surely a file with the EXACT same permissions should be accessible to the apache service?