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:
    1
    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. geobaby

    geobaby Member
    PartnerNOC

    Joined:
    Mar 21, 2008
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page