Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default modsec error on cron

    I get the following error now.

    /etc/cron.hourly/modsecparse.pl:

    DBI connect('modsec:localhost','modsec',...) failed: Access denied for user 'modsec'@'localhost' (using password: YES) at /etc/cron.hourly/modsecparse.pl line 18
    In addition modsec does not appear when I click the link in WHM. All I get is a white page.

  2. #2
    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

    Have you tried removing and re-adding the WHM addon module for mod_security?
    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

  3. #3
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    Of course. That did nothing to solve the issue.

  4. #4
    Member
    Join Date
    Jan 2004
    Posts
    248

    Default

    No other ideas as to why all of a sudden this error?

  5. #5
    Member fenixer's Avatar
    Join Date
    Feb 2007
    Posts
    92

    Default

    Quote Originally Posted by paint View Post
    Also once you do that, you need to make a slight change.
    pico /etc/cron.hourly/modsecparse.pl
    go to the $dbpassword= line and get your password. Then,

    pico /usr/local/cpanel/whostmgr/docroot/cgi/addon_modsec.cgi
    and make sure that the password for $dbpassword=" matches. If not, change it and save the file. Then it should show up fine for you.
    As shown at http://forums.cpanel.net/showthread....modsecparse.pl

    Hope it is ok. In my case it did good.
    ---

    Kind Regards.
    Gino.... IT Hosting Fenixer
    www.fenixer.es
    www.manuales.fenixer.es

Similar Threads & Tags
Similar threads

  1. Daily Error Email - Cron run-parts /etc/cron.daily
    By sm9 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-04-2010, 11:09 PM
  2. Modsec Error after latest update
    By Belaird in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-02-2005, 12:02 AM
  3. modsec.conf cron job - is this supposed to happen?
    By Mike Peel in forum cPanel Developers
    Replies: 2
    Last Post: 11-06-2005, 02:42 PM
  4. Getting cron.hourly errors now about modsec.modec missing
    By fizz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-25-2005, 04:10 AM
  5. /etc/cron.daily/chkformmailver.cron Can't Locate Error
    By devellion in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-27-2005, 09:58 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube