• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Unable to generate the web server configuration file on the host

Matt_Hill

New Pleskian
Edit - I have managed to solve my own problem.

The problem was after saving website settings in Plesk i get this error:

"Unable to generate the web server configuration file on the host <plesk.ourdomain.co.uk> because of the following errors:

Template_Exception: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
AH00526: Syntax error on line 1 of /var/www/vhosts/system/ourdomain.co.uk/conf/vhost.conf:
<VirtualHost> cannot occur within <VirtualHost> section

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0

Please resolve the errors in web server configuration templates and generate the file again."


OS: Ubuntu 14.04.2 LTS
Plesk version: 12.0.18 Update #81 , last updated at April 14, 2016 06:25 AM

The solution was to edit: /var/www/vhosts/system/mydomain.com/conf/vhost.conf

Which looked like this:

<VirtualHost *:80>
<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>
</VirtualHost>

I removed:

<VirtualHost *:80>
</VirtualHost>

So the end result was:

<IfModule mod_fcgid.c>
FcgidBusyTimeout 3600
</IfModule>

After that I was able to update website settings again from within Plesk again.
 
Last edited:
Back
Top