• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Unable to generate the web server configuration file

ChrisCP

Basic Pleskian
Today i run the plesk repair kit and got this error, all the websites are down:

Unable to generate the web server configuration file on the host <xxxxx. Xxxxx> because of the following errors:

Template_Exception: AH00526: Syntax error on line 360 of /etc/httpd/conf/httpd.conf:
Unknown keyword 'SizeGracefulShutDownTimeout' for FileETag directive

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.

How can i solve?
 
Did you ever edit /etc/httpd/conf/httpd.conf manually? Or do you have another software on your system that has edited that file? Indeed the given string is not a valid parameter for the FileETag directive in Apache. You can try to identify the line in /etc/httpd/conf/httpd.conf and comment the whole line out and try again. Have you ever edited the Plesk template files for the webserver configuration files? The issue could be in the template files.
 
Never edited the file manually.
I commented the line out and now it works.

This is the line in httpd.conf which causes the error:
FileETag MTime SizeGracefulShutDownTimeout 3

How must it be correct?
 
Last edited:
Back
Top