Occasionally, the RPM database on a CloudLinux machine can become corrupted. It can happen when an RPM transaction is interrupted at a critical time. Symptoms of this problem include one of the following programs not responding or freezing:

  • up2date
  • The CLN alert notification tool (applet in the Gnome or KDE panel)
  • rhn_check
  • rpm

This problem can also cause a system to stop checking in with CLN. To fix this problem, run the following commands as root:

1. Kill all RPM and yum processes (rhn_check, yum, rpm, rhn-applet):

ps -axwww | grep rpm

In the list of processes, the first number on each line is the PID. For all PIDs listed except for the one associated with grep:

kill -9 <PID>

Repeat the above steps for each of the programs listed.  

2. Remove any RPM lock files (/var/lib/rpm/__db*):

rm -rf /var/lib/rpm/__db*

3. Rebuild the RPM database:

rpm --rebuilddb

If the above steps do not work, please contact technical support for more assistance.

Hasznosnak találta ezt a választ? 0 A felhasználók hasznosnak találták ezt (0 Szavazat)