Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: Mod Ruid2 + mod security conflicts on capnel

  1. #1
    Member
    Join Date
    Aug 2008
    Location
    India
    Posts
    219

    Exclamation Mod Ruid2 + mod security conflicts on capnel

    seems some thing wrong with both working on server in modsec log i see bunch of messages:-

    Audit log: Failed to lock global mutex: Permission denied


    is there any solution for it ?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Hello,

    I do not see discussion of this on Mod_Security's site but I do about MPM ITK which has similarities to mod_ruid2. The important discussions are these:

    Apache mod-security
    https://www.modsecurity.org/tracker/browse/MODSEC-82
    Global mutex - Permission Denied

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    789

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    I am seeing this issue as well. mod_security is working but the error_log if flooded with:
    ModSecurity: Audit log: Failed to lock global mutex: Permission denied
    .

  4. #4
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    789

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    SecAuditLogModeDir 0770
    SecAuditLogModeFile 0640

    are invalid and changing to concurrent just results in another error.
    .

  5. #5
    Member LeadDogGraphics's Avatar
    Join Date
    Feb 2012
    Location
    West Palm Beach, FL
    Posts
    91
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    I to am just noticing this problem with my server running mod_ruid2. Would love to find more information about how to fix it if anyone knows.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Please post on the mod_security site asking for help with the error if the recommendations from their own site (provided previously) do not work.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Jun 2007
    Posts
    10

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Hello

    Is there any solution for this ? I'm having the same problem on every server that has mod_PHP with ruid2 enabled

    Thanks

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Have you posted on the mod_security site about it to ask as well?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  9. #9
    Member beiruthost's Avatar
    Join Date
    Jul 2004
    Posts
    16

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Quote Originally Posted by cPanelTristan View Post
    Have you posted on the mod_security site about it to ask as well?
    Should cPanel solve this issue by updating easyapache to make all necessary changes letting Mod Security working properly with Mod Ruid2 ! I created a ticket but same answers as in this thread ! when you support Mod Ruid so you should support results! all cPanel users are affected when rebuilding mod security and Ruid at the same time.

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    If you truly believe it is a bug we should be contacting mod_security to fix, please submit a bug report. If you did already submit a bug report, you are welcome to respond to that bug report ticket (those go to http://go.cpanel.net/bugs rather than the regular ticket queue) and mention that you'd like to request if we can contact mod_security about the issue.

    It is a flaw with mod_security in conjunction with mod_ruid2 and not with cPanel itself. Some components do not work with other components and, typically, we end up disabling those components when the other is selected. For example, we disable FrontPage and mod_mono when mod_ruid2 is selected. What I foresee happening if it isn't going to be fixed by mod_security is that we might end up disabling the option to even pick mod_security when using mod_ruid2 (if people feel this error is sufficient to make it unusable).
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Member
    Join Date
    Apr 2012
    Posts
    6
    cPanel/WHM Access Level

    Website Owner

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Having the same issues.Any new info. on this?

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Please submit a ticket as previously requested. I am not aware of anyone having done so at this point.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    Member
    Join Date
    Apr 2012
    Posts
    6
    cPanel/WHM Access Level

    Website Owner

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Submitted a ticket here and over at the Mod Security site as well.

  14. #14
    Member Solokron's Avatar
    Join Date
    Aug 2003
    Posts
    789

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Is there any resolution to this yet?
    .

  15. #15
    Member java_dude's Avatar
    Join Date
    Apr 2004
    Location
    New Jersey
    Posts
    32

    Default Re: Mod Ruid2 + mod security conflicts on capnel

    Any news on this yet? I'm interested in compiling Apache with both mod_ruid2 and ModSecurity but don't want to run into any issues.

    Does this issue actually affect ModSecurity/ruid2 at all, or is it just a log error being generated?

Page 1 of 2 12 LastLast

Similar Threads

  1. Mod Security
    By aaronkolodjski in forum Security
    Replies: 7
    Last Post: 12-20-2009, 05:50 PM
  2. Mod security
    By black&white in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-19-2008, 11:16 AM
  3. Mod Security 2.5, or 2.0?
    By sh4ka in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 04-21-2008, 11:20 AM
  4. Simple security question about mod-security rule sets.
    By jols in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-09-2007, 04:37 AM
  5. Mod Security but how?
    By MrNone in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-02-2004, 09:15 AM