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!

cron hourly problem ?

Discussion in 'General Discussion' started by Bulent Tekcan, Apr 6, 2006.

  1. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    Received this error from my server everyday..



    /etc/cron.hourly/modsecparse.pl:

    DBI connect('modsec:localhost','modsec',...) failed: Lost connection to MySQL server during query at /etc/cron.hourly/modsecparse.pl line 18


    Any idea for that ?
     
  2. cyrus

    cyrus Member

    Joined:
    Mar 1, 2005
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    151
    - Make sure the database 'modsec' is present on the system and it has the table 'modsec' in it.
    - Do 'use modsec;repair table modsec' in MySQL prompt (via SSH)
    - If everything is OK, run the script manually perl /etc/cron.hourly/modsecparse.pl

    If all fails, remove an re-add the mod_security module through WHM (make sure you make a copy of your rules first)
     
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