Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    129

    Default Mod_security

    Quote Originally Posted by procam

    "/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
    "
    After last nights updates 5 servers are now producing this error hourly ~

    Ideas?? Anyone??
    Last edited by procam; 12-01-2005 at 08:34 AM.

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    16

    Default

    Same problem with my servers too. Started last night at 3:01 am after the cPanel updates.

  3. #3
    Member dev_cw's Avatar
    Join Date
    Jun 2004
    Posts
    59

    Default

    The answer is on the modsecurity post in this section.

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    129

    Default

    This fixed em ~


    Quote Originally Posted by ispro
    Guys, wanna the easier way?

    Here it is!

    Choose the long random password and execute this at shell under the root:
    Code:
    replace "\$dbpassword=\"\"" "\$dbpassword=\"tMe2vOQ7AwQ2\"" -- /etc/cron.hourly/modsecparse.pl
    Then execute:
    Code:
    mysql
    And enter at the prompt:
    Code:
    SET PASSWORD FOR "modsec" = PASSWORD('tMe2vOQ7AwQ2');
    \q
    Verify (this should no brings any errors):
    Code:
    /etc/cron.hourly/modsecparse.pl
    In this example I assumed you are using the password tMe2vOQ7AwQ2

    We did fixed every server of us with this simple hint

Similar Threads & Tags
Similar threads

  1. mod_security
    By RasterMan in forum Security
    Replies: 2
    Last Post: 05-24-2010, 09:18 AM
  2. mod_security
    By linuxprovider in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-22-2007, 08:37 AM
  3. Mod_security
    By procam in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 08-14-2007, 12:02 PM
  4. Mod_Security 2.0
    By allanh in forum cPanel Developers
    Replies: 12
    Last Post: 10-19-2006, 10:08 AM
  5. Mod_security
    By norm in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-06-2003, 10:22 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube