Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 05-13-2004, 01:58 AM   #1
LQ Newbie
Registered: May 2004
Posts: 21

Rep: Reputation: 15
Rpm hanging problem

I am using RH9 .Now i am facing problem whenever installing new packages. rpm is simply hanging. Only kill -9 will work. After that if i try to list the installed packages then also its hanging .
if i delete /var/lib/rpm __db.* ; rpm command will works fow a while.Only listing is possible.

when i try rpm --rebuilddb its showing an error messge like this

error: db4 error(16) from dbenv->remove: Device or resource busy

I am using rpm packge version rpm-4.2-0.69

Pls help me..
Old 05-13-2004, 10:48 AM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
" error: db4 error(16) from dbenv->remove: Device or resource busy"

The problem may be that you have an old rpm lock set so that the rpm data base is perpetually locked. See if you can find a rpm lock file and delete it. Try:

find /var/lib/rpm -iname "*lock*"

find /usr -iname "*lock*"

Remember that there are a lot of lock files for things other than rpm so be sure that you have found the rpm lock file before deleting it.

Be prepared. Create a LifeBoat CD.

Steve Stites


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
openLDAP hanging problem. topcat Linux - Software 2 03-28-2005 06:10 AM
Problem with Fedora hanging while starting Anaconda BRoscoL Fedora - Installation 0 05-23-2004 09:20 AM
Strange hanging problem... CEdstrom Slackware 7 10-20-2003 11:16 AM
Problem re Mozilla hanging on screen satimis Linux - Newbie 4 09-12-2003 11:06 AM
Similar usb-uhci hanging at boot time problem GrayGh0st Linux - Hardware 16 06-24-2003 04:26 PM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration