Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22
  1. #1
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default mod_security problem in most recent update

    In the most recent update (rolled out today/yesterday) mod_security has stopped working properly:

    =============================
    /etc/cron.hourly/modsecparse.pl:

    DBI connect('modsec:localhost','modsec',...) failed: Access denied for user 'modsec'@'localhost' (using password: NO) at /etc/cron.hourly/modsecparse.pl line 18
    =============================

    Every hour we're getting this now on 2 of our CPanel servers.

    It was working smoothly before.

    Anyone know about this or how to resolve this recent bug?

  2. #2
    Member xisn's Avatar
    Join Date
    Dec 2004
    Posts
    117
    cPanel/Enkompass Access Level

    Root Administrator

    Default Same here..

    Seems we are getting this on several servers too...

  3. #3
    Member rpmws's Avatar
    Join Date
    Aug 2001
    Location
    back woods of NC, USA
    Posts
    1,858

    Default

    I have it now on all my boxes. I also get tar errors on /scripts/cpbackup
    Just keeping my "eye" on things....
    R. Paul Mathews
    RPMWS - diehard cPanel Nutcase

  4. #4
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    according to another thread here a re-install should fix it

    http://forums.cpanel.net/showthread....633#post223633

  5. #5
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    we have this modsec error as well.. that 'fix' didn't work (got another error in mysql)


    so now what?

    edit: just removed and re-installed it.. works fine for now..
    Last edited by PPNSteve; 12-01-2005 at 11:24 AM.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    has anyone added it to bugzilla? if not I will

  7. #7
    Member henker's Avatar
    Join Date
    May 2003
    Posts
    60

    Default

    Quote Originally Posted by nickp666
    has anyone added it to bugzilla? if not I will
    I must admit I haven't, but...
    I uninstalled and reinstalled a couple of times via WHM until I noticed that the latest mod_security wasn't even in apache/libexec, so I had to manually apxs it and enable it manually in httpd.conf as cPanel set it up in the wrong order:


    Include "/usr/local/apache/conf/modsec.conf"
    AddModule mod_security.c

    instead of
    AddModule mod_security.c
    Include "/usr/local/apache/conf/modsec.conf"

    On another server, all instances of mod_security had a # at the beginning of the line,
    so basically mod_security wasn't enabled at all...

    Things like these should not go wrong.

  8. #8
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    hmm.. went in fine, and correctly for my servers..

    oh well meybe there is some bug in the latest update/version.
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  9. #9
    Member
    Join Date
    Apr 2003
    Location
    Auckland, New Zealand
    Posts
    172

    Default

    Quote Originally Posted by rpmws
    I have it now on all my boxes. I also get tar errors on /scripts/cpbackup
    I uninstalled/reinstalled and pasted in my ruleset again and all is well.

    Have also noticed several tar errors with my backups.

  10. #10
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default

    It seems like lots of people are having this problem.

    How could this slip through into the RELEASE version? We're not running EDGE or CURRENT.

  11. #11
    Member henker's Avatar
    Join Date
    May 2003
    Posts
    60

    Default

    STABLE in our case... But then again, modsecurity is marked "Beta"... Some of the Addon modules, eg. cpanelpro really make you think what "STABLE" means

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Indeed. It is BETA and as such you can expect problems.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  13. #13
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default

    Uninstalling and reinstalling the module via the WHM interface solved this for us on our servers.

  14. #14
    Member
    Join Date
    Sep 2004
    Posts
    5

    Default

    It is not a problem from mod_security. Is of MySQL.

    http://forums.cpanel.net/showthread.php?t=47194

  15. #15
    Member
    Join Date
    Jun 2003
    Posts
    40

    Default

    Quote Originally Posted by mount
    It is not a problem from mod_security. Is of MySQL.

    http://forums.cpanel.net/showthread.php?t=47194

    Thats a completely different problem of MySQL not running at all. Don't confuse mod_security problem... it is completely different.

Similar Threads & Tags
Similar threads

  1. Subdomain problem with recent cPanel update
    By JoelMurdochNZ in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-28-2009, 05:16 PM
  2. Horde problem after recent update - displaying Rich Text messages
    By mtindor in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-03-2009, 12:05 AM
  3. Recent Update
    By tompgl in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-31-2007, 12:04 AM
  4. Exim (/etc/localdomains) problem after recent update
    By sh3lls.net in forum E-mail Discussions
    Replies: 11
    Last Post: 06-06-2007, 01:45 PM
  5. Mail Problem After Recent cPanel+WHM Update
    By Mx9 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 07-25-2005, 11:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube