Skip to main content

Strange httpd.conf error when installing HTTP2

Comments

3 comments

  • JacobPerkins
    Hi, Do you have ea-nghttp2 installed? This is a requirement of the HTTP2 RPM, so it should have been installed automatically.
    0
  • cPanelMichael
    undefined symbol: nghttp2_session_callbacks_set_on_invalid_header_callback

    Hello, This can also happen if your system is linking to a previously installed nghttp2 library. You can verify if that's the case by running a command like this:
    ldconfig -p | grep libnghttp2
    If you see a reference to a path such as "/opt/nghttp2/lib" in the output, then your system is linking to the wrong library. To correct this, run the following command to verify the correct RPM is installed:
    rpm -qf /usr/lib64/libnghttp2.so.14
    The output should look like this:
    # rpm -qf /usr/lib64/libnghttp2.so.14 ea-libnghttp2-1.20.0-2.2.1.cpanel.x86_64
    If so, proceed to edit the /etc/ld.so.conf.d/nghttp2.conf file so that it uses the following line:
    /usr/lib64
    Then, run the following commands to complete the installation:
    ldconfig yum install ea-apache24-mod_http2
    Thank you.
    0
  • cumanzor
    If you see a reference to a path such as "/opt/nghttp2/lib" in the output, then your system is linking to the wrong library. To correct this, run the following command to verify the correct RPM is installed:

    Thanks, that was the problem. After following your instructions the new H2 can be installed perfectly
    0

Please sign in to leave a comment.