- Plesk 12.5 for Linux
- Plesk Onyx for Linux
Webserver Configuration Troubleshooter detects extra configuration:
PLESK_INFO: In some cases, extra webserver configuration files remaining after removing domains might cause conflicts with webserver configuration rebuild process.
The following error message is shown on the Home page in Plesk:
PLESK_ERROR: New configuration files for the Apache web server were not created due to the errors in configuration templates: httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.d/zz010_psa_httpd.conf: Could not open configuration file /etc/httpd/conf/plesk.conf.d/vhosts/example.com.conf: No such file or directory . 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. See the details in Configuration Troubleshooter
When rebuilding the domain configuration, the process fails with the following error message:
PLESK_ERROR: Error: Can not reconfigure web server configurations: Unable to execute httpdmng: Domain with name '' does not exist
The command returns a non-empty result:
# plesk db "select c.id, c.objectId as 'domain_id' from Configurations c left join domains d on c.objectId=d.id where c.objectType in ('domain', 'nginxDomain') and d.id is null;"
In some cases, after removing domains, their configuration files are not removed correctly, and this might cause conflicts during the webserver configuration rebuild process.
Open Webserver Configuration Troubleshooter from the Extensions menu.
Click the button, then set Status to "Error" from the drop-down menu.
The list of broken configuration files will appear. Select all, then click Rebuild > Selected.
If some configuration files could not be repaired, select them and click Remove.
Click Check configuration to make sure there is no broken configuration left.