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.

/etc/httpd/ modules/ mod_security2.so load ap_get_server_banner undefined

Discussion in 'Security' started by dmgens, Aug 30, 2011.

  1. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Folks:

    Running apachectl configtest yeilds:

    httpd: Syntax error on line 42 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /usr/local/apache/conf/modsec2.conf: Cannot load /etc/httpd/modules/mod_security2.so into server: /etc/httpd/modules/mod_security2.so: undefined symbol: ap_get_server_banner

    but apache still loads and works how do I fix this undefined sysbol?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Is this version of mod_security the one provided by cPanel or one installed using something else? There was a bug noted a few places with this error, so I'm trying to determine if you've grabbed a bad copy of the mod_security2.so
     
  3. dmgens

    dmgens Well-Known Member

    Joined:
    Dec 10, 2006
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    It is the cpanel supplied version
    WHM 11.30.2 (build 1)
     
  4. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Seeing the same issue with easyapache modsec and if you comment it out from httpd.conf I get the following from mod_alias:

    Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration

    This is before and after running easyapache to build again in case the build from a week ago was bad.
     
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Please open up a ticket so we can investigate further. WHM > Support Center > Contact cPanel or using the link in my signature. Please post your ticket number here upon submitting one. Thanks!
     
  6. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    414
    Likes Received:
    4
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Ticket 1858705 submitted
     
Loading...

Share This Page