Apache will not start due to configuration syntax while using apache-vhost in OpenShift Enterprise
Issue
- While using the apache-vhost frontend (rather than the httpd.worker frontend), httpd fails to start on a node after normal operations. The error is similar to the below:
September 20 11:33:22 ERROR ERROR: failure from oo-httpd-singular(1): : stdout: stderr:httpd.worker: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 45 of /etc/httpd/conf.d/000001_openshift_origin_frontend_vhost.conf: Syntax error on line 29 of /etc/httpd/conf.d/openshift/54206ba04970fa5329000003_testapp_0_54206ba04970fa5329000003.conf: Include directory '/etc/httpd/conf.d/openshift/54206ba04970fa5329000003_testapp_54206ba04970fa5329000003' not found
Environment
- OpenShift Enterprise 2.0
- OpenShift Enterprise 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
