The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

every hours am getting a Cron Daemon Error

Discussion in 'General Discussion' started by remshad, Mar 24, 2014.

  1. remshad

    remshad Member

    Joined:
    Feb 13, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    51
    Hi am getting an error .. given below to my email in every hour ..

    it seems my mysql database running correctly ..


    Code:
    /etc/cron.hourly/modsecparse.pl:
    
    DBI connect('modsec:localhost','modsec',...) failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) at /etc/cron.hourly/modsecparse.pl line 19
    Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.

    Can anyone please tell me to resolve this issue
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    36,294
    Likes Received:
    1,209
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    In particular, please review this post:

    ModSecParse Database Connection Issue

    If the issue persists, please open a support ticket and let us know the ticket number here.

    Thank you.
     
Loading...

Share This Page