The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The RPM DB is corrupt

Discussion in 'General Discussion' started by mohsen88, Feb 8, 2012.

  1. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    Hi World

    today a email send to me from cpanel server

    subject : The RPM DB is corrupt

    Text : 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*

    how can fix problem ?

    Regards
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could try backing up the existing RPM db files and rebuilding the RPM database:

    Code:
    mkdir /root/old_rpm_dbs/
    mv /var/lib/rpm/__db* /root/old_rpm_dbs/
    rpm --rebuilddb
    Please let us know the result.

    Thank you.
     
  3. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator

    i do it but problem not resolved
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    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
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    libm.so.6 is provided by glibc, please check the following:

    Code:
    rpm -q glibc
    If you find that it is not installed, it would need to be installed onto the system. If that does not work, please contact your provider, NOC or datacenter for assistance, since this is an OS-level issue and could well represent filesystem corruption or other data loss to have these components missing on a server.
     
  7. mohsen88

    mohsen88 Member

    Joined:
    Jan 12, 2012
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Dubai
    cPanel Access Level:
    Root Administrator
    root@[Host Name] [~]# rpm -q glibc
    package glibc is not installed

    What should I do now?
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You need to install it. Please contact your provider. This is a system level issue and indicates major problems on the server. It's far outside cPanel itself and you need your provider, datacenter or NOC to get involved in helping you at this point.
     
Loading...

Share This Page