httpd.service failed to start with an error "httpd: Syntax error : Cannot load modules/mod_proxy_http2.so into server"

Solution Verified - Updated -

Issue

  • The Apache httpd fails to start with following error.
 httpd: Syntax error on line 61 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.modules.d/10-proxy_h2.conf: Cannot load modules/mod_proxy_http2.so into server
  • The Apache httpd fails to start with following error.
httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf.modules.d/10-proxy_h2.conf: Cannot load modules/mod_proxy_http2.so into server: /etc/httpd/modules/mod_proxy_http2.so: undefined symbol: ap_proxy_location_reverse_map

Environment

  • Red Hat Enterprise Linux (RHEL) 8.x,9.x
    • httpd-2.4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content