Applicable to:
- Plesk Obsidian for Linux
Symptoms
-
Apache package httpd was updated to 2.4.6-98.el7 on CentOS 7 / Red Hat Enterprise Linux 7:
# rpm -qa|grep httpd
httpd-2.4.6-98.el7_9.6.x86_64 -
Apache service fails to start. Configuration check (
httpd -t
command) reports one of the following error messages:CONFIG_TEXT: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: ap_proxy_check_connection
CONFIG_TEXT: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 14 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_proxy_http.so into server: /etc/httpd/modules/mod_proxy_http.so: undefined symbol: ap_proxy_check_connection
CONFIG_TEXT: httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: proxy_module
-
The following error may appear on the Home page in Plesk:
PLESK_ERROR: Failed to update the ModSecurity rule set. Details
Cause
RedHat has released a new version of httpd package 2.4.6-98 for CentOS 7 / RHEL7, which is incompatible with the previous version of Plesk mod_proxy
module. The issue has been addressed in an update from January 27 2023 (PPP-59844).
Resolution
Install latest Plesk updates.
-
Connect to the server via SSH.
-
Download the patched
psa-mod_proxy.rpm
package:# wget https://support.plesk.com/hc/en-us/article_attachments/9861700053010/psa-mod_proxy.rpm
-
Install the downloaded package:
# rpm -Uvh psa-mod_proxy.rpm
-
Start the Apache service:
# service httpd start
-
Repair web server configuraiton files:
# plesk repair web -y
-
If applicable, update ModSecurity ruleset:
# plesk daily UpdateModSecurityRuleSet
If the update is not possible for some reason apply the following
-
Connect to the Plesk server via SSH.
-
Download the patched
psa-mod_proxy.rpm
package:# wget https://support.plesk.com/hc/en-us/article_attachments/9861700053010/psa-mod_proxy.rpm
-
Install the downloaded package:
# rpm -Uvh psa-mod_proxy.rpm
-
Start the Apache service:
# service httpd start
Comments
5 comments
Thank you so much, worked perfectly!
Hi , please I had this error and the fix didn't worked for me
rpm -Uvh psa-mod_proxy.rpm
Preparing... ################################# [100%]
package psa-mod_proxy-2.4.6-2.centos.7+p18.0.50.0+t230125.1646.x86_64 is already installed
[root@]# httpd -M
httpd_ls_bak: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 7 of /etc/httpd/conf.modules.d/00-proxy.conf: Cannot load modules/mod_proxy_ajp.so into server: /etc/httpd/modules/mod_proxy_ajp.so: undefined symbol: ap_proxy_check_connection
any help please
Hello Nazih Heni,
I've updated the article and added steps for servers where Litespeed is installed and enabled. Please apply the solution from the 'For servers with Litespeed enabled additional actions are required:' section of the article.
Hi,
in the workaround solutions the rpm package url is wrong:
#wget https://plesk.zendesk.com/hc/article_attachments/9768964964882/psa-mod_proxy.rpm
instead
#wget https://support.plesk.com/hc/en-us/article_attachments/9861700053010/psa-mod_proxy.rpm
Hello Leonardo,
Thank you for pointing to that! The link was updated.
Please sign in to leave a comment.