• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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