- Plesk for Linux
When applying web server reconfiguration in Plesk, it fails with this error:
CONFIG_TEXT: Starting httpd: Syntax error on line 87 of /usr/local/psa/admin/conf/generated/13273049690.92094900_server.include:
JkWorkersFile only allowed once
JkWorkersFiledirective is added to the Apache configuration, e.g. in
# cat /etc/httpd/conf.d/jk.conf
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
Plesk 10.4.4 and later versions has a built-in support for
JkWorkersFile directive that has been manually added to the Apache configuration is a duplicate of the built-in directive.
Connect to the server via SSH;
Comment all customized
mod_jkdirectives in Apache configurations, and reconfigure settings with the following command:
# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
PLESK_WARN: Execution of the command above can cause a downtime of the websites in case if there are a big number of domains hosted on the server (about 500 and more)