Skip to content
AppUnix

The RPM DB is corrupt CPANEL WHM (como resolver)

23/11/2016 by OwnServer

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):

1
2
3
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:

1
/scripts/rpmup

1
<strong>Caso resolva com este comando, ok, se ocorrer o erro abaixo é por que sua biblioteca GLIBC não estão 100%:</strong>

1
2
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

1
<strong>Veja se está ok com o seguinte comando:</strong>

1
rpm -q glibc

1
<strong>Se a resposta for:</strong>

1
<strong>package glibc is not installed</strong>

1
<strong>Vamos instalar o pacote:</strong>

1
yum --enablerepo=updates-testing --enablerepo=testing install glibc-devel

1
 

Post navigation

Previous Post:

Cpanel com ruby apresentando Status: 500 Internal Server Error Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

Next Post:

Teclado Portugês ABNT2 Mac OS X Tiger | Leopard | Snow Leopard | Lion | Mountain Lion (Novo Instalador)

Pesquisa

Categorias

  • Blog
  • cPanel
  • How Tos
  • Linux
  • Mac Os
  • MySQL
  • Wordpress

#Apoiadores

Patrocinador

Registre-se e ganhe $25



© 2022 AppUnix | Built using WordPress and MxGuard