- Plesk for Linux
The following error is shown in Plesk interface:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 110 of /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: Invalid command '203.0.113/24', perhaps misspelled or defined by a module not included in the server configuration . Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
There are a lot of records in Deny access to the site field.
Apache is down.
Plesk bug #PPPM-8658 which will be fixed in future Plesk updates.
Until the fix became available, the following workaround can be used for Plesk 12.5:
Connect to the server via SSH.
Download and unpack custom fix:
# wget https://plesk.zendesk.com/hc/article_attachments/360006607613/PhysicalHosting.php.zip
# unzip PhysicalHosting.php.zip
Back up original file and copy the patched one:
# mv /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php_backup
# cp ./PhysicalHosting.php.zip /usr/local/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php
# mv /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php_backup
# cp ./PhysicalHosting.php.zip /opt/psa/admin/plib/Template/Variable/Domain/PhysicalHosting.php
Regenerate web configuration for domain mentioned in the error message:
# plesk repair web example.com