rpmdb: Thread/process 32254/47320016639680 failed: Thread died in Berkeley DB library
error: db3 error(-30974) from dbenv->failchk: 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:
Error: rpmdb open failed
La solucion es reconstruir la base de rpm, de esta manera:
[root@webdb1]# mkdir /var/lib/rpm/backup
[root@webdb1]# cp -a /var/lib/rpm/__db* /var/lib/rpm/backup/
[root@webdb1]# rm -f /var/lib/rpm/__db.[0-9][0-9]*
[root@webdb1]# rpm --quiet -qa
[root@webdb1]# rpm --rebuilddb
[root@webdb1]# yum clean all
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, security, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Cleaning repos:
Cleaning up Everything
Uploading Enabled Repositories Report
Loaded plugins: product-id
[root@webdb1]#
No hay comentarios:
Publicar un comentario
Comentarios