LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

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

Rep: Reputation: 15
Rpm hanging problem


hi
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
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

Rep: Reputation: 180Reputation: 180
" 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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


Reply


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


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

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