The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Undefined symbol ap_log_rerror with mod_h264_streaming.so

Discussion in 'EasyApache' started by Rufus McDufus, Sep 18, 2016.

  1. Rufus McDufus

    Rufus McDufus Registered

    Joined:
    Jul 30, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I'm trying to upgrade my Apache from 2.2 to 2.4. I'm using EasyApache 3.34.4.
    The original install appears to have a couple of streaming modules installed - mod_h264_streaming.so & mod_flvx.so

    My build is failing with this error:
    !! Failed to generate a syntactically correct Apache configuration (/usr/local/apache/conf/httpd.conf.1474188773):
    Configuration problem detected on line 28 of file /usr/local/apache/conf/httpd.conf.1474188773: : Syntax error on line 1 of /usr/local/apache/conf/includes/pre_main_global.conf: Cannot load /usr/local/apache/modules/mod_h264_streaming.so into server: /usr/local/apache/modules/mod_h264_streaming.so: undefined symbol: ap_log_rerror

    I'm not sure I even need these modules but would prefer to have them if possible just in case of any compatibility issues.
    I can't even see how to disable these modules though. Simply removing them from Apache (delete the shared object files, remove the Apache AddHandler/LoadModule configs for them, restarting Apache before a fresh build) doesn't get rid of them. It looks like EasyApache is compiling them by default. The best option would be to fix the compilation error but I'm not sure how.
     
  2. Rufus McDufus

    Rufus McDufus Registered

    Joined:
    Jul 30, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've found a fix for this. It looks to me like it might've been copying in the old modules without any recompliation.
    I discovered ~root/.eastore where there's a script 'after_apache_make_install' plus copies of the module .so files.
    I removed the modules from Apache, and from .eastore, and editing the 'after_apache_make_install' script to remove references to these shared object files. Re-ran the build and all works. And it's built new copies of mod_h264_streaming.so/mod_flvx.so and another - mod_substitute.so - which was also problematic. So all good!
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,766
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - Undefined symbol ap_log_rerror
  1. ahmedi
    Replies:
    2
    Views:
    639

Share This Page