<div dir="ltr">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: <br>
<br>[root@www5 ~]# yum update <br>error: rpmdb: BDB0113 Thread/process 6253/140192734877504 failed: BDB1507 Thread died in Berkeley DB library <br>error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery <br>error: cannot open Packages index using db5 -  (-30973) <br>error: cannot open Packages database in /var/lib/rpm <br>CRITICAL:yum.main: <br>
<br>Error: rpmdb open failed <br>
<br>I found and ran this solution: <br>
<br># mkdir /var/lib/rpm/backup <br># cp -a <i class="gmail-moz-txt-slash"><span class="gmail-moz-txt-tag">/</span>var/lib/rpm<span class="gmail-moz-txt-tag">/</span></i>__db* <i class="gmail-moz-txt-slash"><span class="gmail-moz-txt-tag">/</span>var/lib/rpm/backup<span class="gmail-moz-txt-tag">/</span></i> <br># rm -f <i class="gmail-moz-txt-slash"><span class="gmail-moz-txt-tag">/</span>var/lib/rpm<span class="gmail-moz-txt-tag">/</span></i>__db.[0-9][0-9]* <br># rpm --quiet -qa <br># rpm --rebuilddb <br># yum clean all <br>
<br>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: <br>
<br>[root@www5 ~]# ps ax|grep yum <br>27730 pts/0    S+     <span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date">0:00</span></span></span> /usr/bin/python /usr/bin/yum clean all <br>27731 pts/0    S+     <span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date">0:00</span></span></span> /bin/sh /usr/sausalito/sbin/cced_yum <br>27758 pts/0    R+     <span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date"><span style="display:inline;font-size:inherit;padding:0px" class="gmail-__postbox-detected-content gmail-__postbox-detected-date">0:00</span></span></span> /usr/bin/python /usr/bin/yum reinstall blueonyx-le-acme <br>
<br>Can someone suggest what may be the issue? <br>
<br><div class="gmail-moz-txt-sig"><span class="gmail-moz-txt-tag">-- <br></span>Robert<br>
</div><div class="gmail-moz-txt-sig"><br></div></div>