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.

The dbindex cache file is out of date

Discussion in 'Database Discussions' started by Olayinka, Oct 28, 2015.

  1. Olayinka

    Olayinka Registered

    Joined:
    Oct 28, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nigeria
    cPanel Access Level:
    Root Administrator
    Hello guys, i got this notification

    "The dbindex cache file /var/cpanel/databases/dbindex.db.json is out of date by more than four hours.

    To resolve this issue, run the /usr/local/cpanel/bin/dbindex script to update the index and fix the cron job, and then run the /usr/local/cpanel/scripts/update_db_cache script to rebuild the database cache."

    The problem is how do i run the command and where

    Thanks
     
  2. trec-r

    trec-r Active Member

    Joined:
    Aug 10, 2008
    Messages:
    41
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I am getting this message frequently and irregularly. I was thinking about setting up a cron job to run the command every 4 hours, however I don't want to overlook the cause of this error.

    1. Is there something that often causes this error that I can fix?
    2. What is the impact of having the dbindex out of date?
    3. Should I just setup a cron job and be done with it?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    A cron job is already configured by default. Check to ensure the "crond" service is running on your system:

    Code:
    pidof crond
    service crond restart
    Thank you.
     
  4. trec-r

    trec-r Active Member

    Joined:
    Aug 10, 2008
    Messages:
    41
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    I checked and it is running, still getting the error message. I don't get it everyday and when I do get the error message it might be once or up to 4 times in a day. It really is random.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page