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