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!

Restored from Backup, then Received and Error Message

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

  1. BillyS

    BillyS Well-Known Member

    Joined:
    Mar 22, 2013
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    8
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. BillyS

    BillyS Well-Known Member

    Joined:
    Mar 22, 2013
    Messages:
    48
    Likes Received:
    2
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Thanks for the response Michael, very much appreciated.
     
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