Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System unavailable: test-osuosl-centos74-ppc64le-2 Yum database corrupted #1868

Closed
Willsparker opened this issue Jan 27, 2021 · 1 comment
Closed

Comments

@Willsparker
Copy link
Contributor

[root@test-centos74-2 ~]# yum install nagios-plugins
error: rpmdb: BDB0113 Thread/process 4106/70366702127008 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
  • Please describe the issue:

When running any yum command, the above error message pops up. I think this is due to Yum database corruption, however I'm not entirely sure. I've found this guide which explains how to rebuild the database so I'll follow that, but I wanted to open the issue to have a record of what I was doing.

@Willsparker
Copy link
Contributor Author

Rebuilding the database(s) worked and I was able to run yum install nagios-plugins. I've put the old ones ( __db.00[1-3]) into /tmp/, just in case there's any issues as a result of this. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant