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.

Restored from Backup, then Received and Error Message

Discussion in 'Database Discussions' started by BillyS, Nov 9, 2014.

  1. BillyS

    BillyS Active Member

    Joined:
    Mar 22, 2013
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    I was upgrading a component of our website, had a big problem and needed to restore the entire server from a backup copy that was about six hours old. About 30 minutes after the restore, I received this message:

    Cron <root@host​> /usr/bin/t​est -x /usr/local​/cpanel/sc​ripts/upda​te_db_cach​e && /usr/local​/cpanel/sc​ripts/upda​te_db_cach​e

    dbindex is out of date: /var/cpanel/databases/dbindex.db is more than four hours old.
    run /usr/local/cpanel/bin/dbindex to update the index and fix the cron job.
    then run /usr/local/cpanel/scripts/update_db_cache to rebuild the db cache. at /usr/local/cpanel/Cpanel/DB/Map/Collection/Index.pm line 38.

    I didn't see the above message before happened to run an Update from WHM (which updated the server to 11.46.0).

    Everything seems to be functioning normally... I've since received the "normal" message:

    Updating cPanel license...Done. Update succeeded.
    Building global cache for cpanel...Done

    Is there anything else I should do?

    Bill
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    There's no harm in running the commands that were referenced:

    Code:
    /usr/local/cpanel/bin/dbindex 
    /usr/local/cpanel/scripts/update_db_cache
    However, based on the information you provided, you don't have to run them because that information was updated automatically.

    Thank you.
     
  3. BillyS

    BillyS Active Member

    Joined:
    Mar 22, 2013
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Thanks for the response Michael, very much appreciated.
     
Loading...

Share This Page