Skip to content

The RPM DB is corrupt CPANEL WHM (como resolver)

Se a mensagem que você está recebendo for:

An automatic check on (Host Name) found the RPM database to be corrupted. An attempt was made to automatically fix the database but it was not successful. Please resolve this problem on your system. A backup of the original state of the RPM database directory can be found at /var/lib/rpm.rebuild.backup*

Tente as seguintes soluções logado no console (como root):

mkdir /root/old_rpm_dbs/
mv /var/lib/rpm/__db* /root/old_rpm_dbs/
rpm --rebuilddb

Se o erro persistir, logando no console (como root) rode:

/scripts/rpmup
Caso resolva com este comando, ok, se ocorrer o erro abaixo é por que sua biblioteca GLIBC não estão 100%:
rpm: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
/usr/bin/perl: error while loading shared libraries: libresolv.so.2: cannot open shared object file: No such file or directory
Veja se está ok com o seguinte comando:
rpm -q glibc
Se a resposta for:
package glibc is not installed
Vamos instalar o pacote:
yum --enablerepo=updates-testing --enablerepo=testing install glibc-devel

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.