Symptoms
The following error is shown in Plesk interface:
New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: Syntax error on line 221 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/webmail/example.com_webmail.conf: No such file or directory
Cause
Missing Apache configuration file for a virtual host webmail.
Resolution
-
Connect to the server via SSH.
-
Recreate the webmail configuration files using
plesk repair
utility:# plesk repair web -server
-
Reconfigure Apache and nginx using the
httpdmng
utility:# /usr/local/psa/admin/bin/httpdmng --reconfigure-all