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!

SOLVED Cron Daemon Email Error

Discussion in 'General Discussion' started by GGoodAla, Jun 19, 2018.

  1. GGoodAla

    GGoodAla Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Hi,

    Apologies if this is in the wrong forum, however I couldn't decide which would be the most appropriate.

    We have a VPS running CentOS7 and cPanel/WHM. We are root users, and multiple times a day receive and email from Cron Daemon containing the below:

    I was hoping someone could advise on the best way to resolve the issue. I can see that there is a issue with a json file but can't find much information to resolve this.
    I've searched other threads but from what I can see they're errors are slightly different.

    I've run "/usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache" manually, and receive the same error, but aren't really sure where else to go from there.

    Any info/advice is appreciated.

    Thanks
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @GGoodAla

    Do you continue to encounter the issue if you run the following (in the order below):

    Code:
    mv /var/cpanel/databases/dbindex.db.json{,.bk}
    /usr/local/cpanel/bin/dbindex
    /usr/local/cpanel/scripts/update_db_cache
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    GGoodAla likes this.
  3. GGoodAla

    GGoodAla Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Thanks - I didn't think it would be as straight forward as that, as I wasn't sure if the json file contained anything important.

    I've done that and it appears to have run without error. I'll monitor it now and see if we receive any further emails.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @GGoodAla

    I'm really glad it helped! Please do let us know if you encounter any further issues with this!

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. GGoodAla

    GGoodAla Registered

    Joined:
    Jun 19, 2018
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    Thanks Lauren,

    That seems to have worked - not emails since Tuesday. Appreciate it.
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,451
    Likes Received:
    246
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Thanks for the update @GGoodAla I'll go ahead and mark this issue as solved.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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