How to resolve Yum rpmdb: PANIC issue in Linux
[root@Server1 etc]# yum clean all
rpmdb: PANIC: fatal region error detected; run recovery
error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Solution
=======
To resolve this issue you can remove the yum databases and then rebuild them
Login as root
#cd /var/lib/rpm
#rm __db*
#rpm --rebuilddb
No comments:
Post a Comment