• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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