Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/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:
    156
    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,608
    Likes Received:
    32
    Trophy Points:
    238
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dmgens

    dmgens Well-Known Member

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

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    423
    Likes Received:
    7
    Trophy Points:
    168
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. DomineauX

    DomineauX Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    423
    Likes Received:
    7
    Trophy Points:
    168
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Ticket 1858705 submitted
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice