Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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:
    166
    Location:
    Brasil
    My problem is fixed after contact with my datacenter.

    Thank you
    Marcelo
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice