Error – rpmdb open failed
[root@idcbprhoswrk004 data]# yum clean all
error: db5 error(5) from dbenv->open: Input/output error
error: cannot open Packages index using db5 – Input/output error (5)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:
Resolution :
optional :
#mkdir /root/backups.rpm.mm_dd_yyyy/ #cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/
# rm -f /var/lib/rpm/__db* # db_verify /var/lib/rpm/Packages # rpm --rebuilddb