- Plesk 10.x for Linux
- Plesk 11.x for Linux
The following error message is displayed in Plesk:
Error: New files of configuration for Apache web server were not built due to errors in configuration templates. The detailed error message was e-mailed to you, so please check the e-mail, fix the errors, and click here to retry generating configuration.
Server reconfiguration fails:
# /usr/local/psa/admin/bin/httpdmng --reconfigure-all
Syntax error on line 2 of /var/www/vhosts/domain.tld/conf/vhost.conf:
<VirtualHost> cannot occur within <VirtualHost> section
directive is presented in specified
which is not allowed.
file. Then, reconfigure the domain:
# /usr/local/psa/admin/bin/httpdmng --reconfigure-domain domain.tld
If it still does not help, delete
file and reconfigure the domain.