Product:
Search Type:

Apache failed to start with the "could not open document config file" error.

Article ID: 4612 
Last Review: Jul,08 2008
APPLIES TO:
  • Plesk 8.x for Linux/Unix

SYMPTOMS

Apache failed to start with the error:

# /etc/init.d/httpd start
Starting httpd: httpd: could not open document config file /var/www/vhosts/DOMAIN/conf/httpd.include
[FAILED]

CAUSE

The error above means that httpd.include file is missing for the DOMAIN.
Also, such error can refer to some another Apache configuration file that is included into Apache configuration with "Include" directive but actually missing.



RESOLUTION

In general, the missing file should be created or 'Include' directive that refers to this file should be deleted from Apache configuration.

Regarding 'httpd.include' in the initial error, this file is created by Plesk during domain creation and can be recreated with the following command:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=DOMAIN

Apache configuration files for all domains can be rebuilt with:
/usr/local/psa/admin/sbin/websrvmng -a  -v




Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields