Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-02-2003, 05:56 PM   #1
LQ Newbie
Registered: Jan 2003
Location: Burlington, ON Canada
Distribution: RH8
Posts: 26

Rep: Reputation: 15
db4 error(16)

When I run up2date it reports that there is a package that I should install. The install errors out saying that the package is already installed.

I tried rpm --rebuilddb but receive the error...

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

I have tried running the rebuild command in single user mode and I receive the same error.

Any ideas? Oh yah... I am running Rh8.0.93.

Old 02-02-2003, 08:16 PM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
might be the rpmdb package. i
Old 04-06-2003, 11:13 AM   #3
LQ Newbie
Registered: Mar 2003
Location: New Hampshire, US
Distribution: CentOS, Fedora
Posts: 3

Rep: Reputation: 0

I have encountered this problem with RH 9, and wonder whether you ever found a solution?


Old 04-06-2003, 04:44 PM   #4
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Opened case with redhat

Me too: I upgraded to rh9; I'm getting the same error.

I've opened a service request a rh's site regarding the issue. The case number is 232865.
Old 04-08-2003, 10:06 AM   #5
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
I guess it's a bug.

Per RH's request (see below), I opened bug #88273.

Incident Number: 232865

Dear Sir,

It seems that you found a bug with the rpm database of Red Hat Linux 9. For now, we don't have a fix for this sort of problem.

However, I would advi8se you to file a bug report to our Red Hat Developers through Bugzilla, which is our online Bug Tracking tool. This let's our customers interact with our Red Hat Developers in order to create bug fixes and patches.

To file a bug report, please go to:

If you have other installatoin concerns, please feel free to create a new ticket.

Paulo Ng
Old 04-09-2003, 04:58 PM   #6
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
NPTL Issue?

Hmmm... no db4 error when I booted with the 'nosysinfo' option.
Old 04-12-2003, 03:47 PM   #7
LQ Newbie
Registered: Mar 2003
Location: New Hampshire, US
Distribution: CentOS, Fedora
Posts: 3

Rep: Reputation: 0

Since the latest glibc update via RHN, rpm --updatedb completes wihout error.

Thanks for your replies and support, especially those of you who spent the time and effort to open tickets with RH.

Old 04-17-2003, 12:54 PM   #8
LQ Newbie
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Not fixed -- merely harmless

I'm still experiencing the problem, even with the new glibc.

This morning however, one redhat engineer declared the problem to be 'harmless'. Additionally, the engineer indicated the problem will be resolved in RPM version 4.3 (rh9 ships with RPM version 4.2).

With that, bug reports related to the rpm/db4 issue were abruptly closed.

The following excerpts are from

From case 83281:
There are too many descriptions of varying problems here
for me to parse "reproduce this one". (name): could you open
a different bug and describe your persisting problem? If
just the error message
error: db4 error(16) from dbenv->remove: Device or resource busy
that's a known (and harmless) error message with --rebuilddb.

Otherwise, I'm gonna close this bug because there's too many
different problems here to sort out. Feel free to reopen other
new bugs if you still have problems.

From bugzilla case 88273:
Yes, there is an error message displayed after --rebuilddb.
The message is harmless, there is no problem here.
This is a known issue and will be fixed in rpm-4.3.

Anyway, you get the gist: "harmless", "no problem here", "will be fixed in rpm-4.3". Ta-ta.

Well, that sure was a load off my mind.
Old 10-12-2003, 07:58 PM   #9
LQ Newbie
Registered: Oct 2003
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
Nor can this be fixed by doing a forced freshen. I was, however, able to fix it by removing rpm-4.2 and reinstalling it (all from the command line). I run several Fedora packages, and some other stuff on this machine, and got it all back.

First time I've ever done that, but I was hosed anyway. Security upgrades had to go in, and this is the system I use for 'crash and burn' purposes anyway.

Old 10-12-2003, 10:56 PM   #10
Registered: Oct 2003
Location: Portland
Distribution: Gentoo
Posts: 73

Rep: Reputation: 15 has some information that is related to this error, also. It has a link on the main page that mentions something about it being harmelss.


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
db4, libstdc++, and perl h3xis Linux - Software 0 01-01-2005 06:49 PM
Regarding db4 utils moorman Red Hat 1 09-28-2004 10:42 PM
rpm db4 error huno Linux - General 5 03-16-2004 11:49 AM
How do I resolve "db4 error(16) from dbenv->remove"? dot hog Red Hat 5 10-17-2003 12:35 PM
db4 installation ekoome Red Hat 1 09-25-2003 01:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 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
Open Source Consulting | Domain Registration