Sunday, August 23, 2009

Recover from kdeinit CRASH

Although there is excellent power backup in lab, what to do if someone switch off the main input to room when he was trying to switch off lab air conditioners ...

Busy Salam was doing some experiment and was installing some rpm in his linux box.. power failure resulted his kde in poor situation. kdeinit was not starting at all. He used gnome to login to box but whole experiment was going on in KDE desktop environment. Here are the steps used to recover KDE environment back.

STEPS:: (login to root through gnome)
  1. cd /var/lib/rpm
  2. rm __db* ( here two _ underscore)
  3. rpm --rebuildbd
  4. reboot (mandatory)
  5. yum -y update
After yum update completed he did a restart and was able to login to kde (voila).what a relief.

No comments:

Post a Comment