• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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