[BlueOnyx:22785] Yum issue on 5209R

Robert Fitzpatrick rwfitzy at gmail.com
Sun Mar 24 09:47:21 -05 2019


I updated a KVM host last night and did a complete reboot. Although I don't
think that has anything to do with the issue, afterward this 5209R VM on
the host became unresponsive after several minutes. Not sure of the
problem, I rebooted the VM and all was good for several minutes again, then
unresponsive. I found over 400 yum processes, so I disabled yum updates in
the GUI and that resolved the issue. This morning I ran `yum update` myself
to get this:

[root at www5 ~]# yum update
error: rpmdb: BDB0113 Thread/process 6253/140192734877504 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

I found and ran this solution:

# mkdir /var/lib/rpm/backup
# cp -a */var/lib/rpm/*__db* */var/lib/rpm/backup/*
# rm -f */var/lib/rpm/*__db.[0-9][0-9]*
# rpm --quiet -qa
# rpm --rebuilddb
# yum clean all

Then the `yum clean all` hangs without finishing. I killed along with all
yum processes, did the clean up above again and running now, hanging after
15 minutes now, still waiting. I notice these yum processes as soon as I
start the clean all:

[root at www5 ~]# ps ax|grep yum
27730 pts/0    S+     0:00 /usr/bin/python /usr/bin/yum clean all
27731 pts/0    S+     0:00 /bin/sh /usr/sausalito/sbin/cced_yum
27758 pts/0    R+     0:00 /usr/bin/python /usr/bin/yum reinstall
blueonyx-le-acme

Can someone suggest what may be the issue?

-- 
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20190324/abd3a340/attachment.html>


More information about the Blueonyx mailing list