ABHIONLINUX
Site useful for linux administration and web hosting

Showing posts with label run database recovery. Show all posts
Showing posts with label run database recovery. Show all posts

2009/12/23

DB_RUNRECOVERY: Fatal error, run database recovery

If you are getting error message like this when you are trying to do an yum update.

Error message like ->
============================================
ror: error(-3097 getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097 from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097 getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097 from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097 getting "system-config-display.mo" records from Basenames index
rpmdb: PANIC: fatal region error detected; run recovery
error: db4 error(-3097 from dbcursor->c_get: DB_RUNRECOVERY: Fatal error, run database recovery
error: error(-3097 getting "system-config-display.mo" records from Basenames index
************************************************** *****

try the following steps.

rm -f /var/lib/rpm/__db*
rpm -vv --rebuilddb
rpm -Va
yum update