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.

cannot open Packages database in /var/lib/rpm

Discussion in 'General Discussion' started by konrath, May 13, 2009.

  1. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    Hello

    During the CPanel update I get the error message below

    error: can not open Packages database in / var / lib / rpm

    I tried

    rm /var/lib/rpm/__db.00*
    rpm --rebuilddb
    rpm -qa | sort

    Result

    root@server [/var/lib/rpm]# rpm -qa | sort
    error: cannot open Packages database in /var/lib/rpm
    no packages




    ------------------

    I tried Tip of chirpy

    1. Check for processes holding the rpm database open (usually in MUTEX/FUTEX states):

    lsof | grep /var/lib/rpm

    If it finds any, kill -9 them all.

    2. Delete any temporary DB files:

    rm -fv /var/lib/rpm/__*

    3. Rebuild your RPM database:

    rpm --rebuilddb -v -v


    -----------------------

    And the problem continues. Any suggestions? :confused:


    Thank you
    Konrath
     
  2. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Brasil
    My problem is fixed after contact with my datacenter.

    Thank you
    Marcelo
     
Loading...

Share This Page