Attempting to start/restart apache on a Plesk server fails due to "could not open document config file" error.
This is caused when the httpd.include file is missing for one or more domains.
==> [~]/etc/init.d/httpd start
Starting httpd: httpd: could not open document config file /var/www/vhosts/domain.com/conf/httpd.include
Solution:To resolve this issue you will need to recreate the httpd.include file for the effected domains. You can do this with the following command:
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com
You will need to change the domain.com to the domain name which was listed in the error output. For example if the error you received was:
Starting httpd: httpd: could not open document config file /var/www/vhosts/softlayer.com/conf/httpd.include
You would run the following command to recreate the http.include file:
/usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=softlayer.com
That's all