Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Feb 18, 2026, 06:32 AM

Title: Plesk shows the following error: Unable to generate the web server configuration
Post by: Suhitha on Feb 18, 2026, 06:32 AM
Question: Plesk shows the following error: Unable to generate the web server configuration file


Applicable to:



Symptoms


Unable to generate the web server configuration file on the host <example.com> because of the following errors:
Template_Exception: httpd: Syntax error on line 353 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/webmails/example.com_webmail.conf: No such file or directory
file: /usr/local/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.


# ls -la /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf
-rw------- 1 root httpd 188 Apr 10 14:22 /etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf

# httpd -t
Syntax OK


Cause

Product issue:

#PPPM-6752 "Webserver Configuration Troubleshooter no longer shows that some configs are broken when they are actually not after reconfiguration (for example, after domain's hosting settings were changed but these changes did not propagate yet)."
Fixed in:
Plesk Obsidian 18 February 2020 (Linux)


Resolution

Please consider updating your server:

How to install Plesk updates


Workaround

If update is not possible for some reason you may try the following

                                                  workaround

Since the error is only cosmetic it can be removed as follows:

1.Connect to the server via SSH;

2.Remove the error from the database:

# plesk db "delete from Configurations where status<>'ok'"