LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How do I resolve "db4 error(16) from dbenv->remove"? (https://www.linuxquestions.org/questions/red-hat-31/how-do-i-resolve-db4-error-16-from-dbenv-remove-105009/)

dot hog 10-17-2003 01:57 AM

How do I resolve "db4 error(16) from dbenv->remove"?
 
Trying to install alsa drivers. At the prompt I'm entering:
$ rpm --rebuilddb alsa-driver-...-.src.rpm

and my good friend linux returns:
error: db4 error(16) from dbenv->remove: Device or resource busy

Hmm. I'm running Red Hat 9. Trying to get a SB 16 PCI soundcard to work.

Been attacking this for a while. Have read about a bug attached to this error, but I want to be sure. If I am the prey of a bug, I'd appreciate some specific info on what to do so that I can run "rpm --rebuilddb" in the future.

I am very green in all-things-Linux, so help would be BIG. Been banging the head against the wall on this one for quite a while--thought I could work around it. Yeah, right.

dot hog 10-17-2003 08:17 AM

Bump.

My kernel is 20.4.20-8. I'm wondering if I should upgrade my kernel to 20.4.20-20.9. Worried that that might just introduce new problems.

Anybody know anything about this error in these circumstances at all?

misc 10-17-2003 09:24 AM

Quote:

error: db4 error(16) from dbenv->remove: Device or resource busy
It's a harmless albeit annoying bug. Ignore it.

http://bugzilla.redhat.com/bugzilla/...g.cgi?id=83281

Quote:

$ rpm --rebuilddb alsa-driver-...-.src.rpm
This command makes no sense at all.

dot hog 10-17-2003 10:33 AM

Thanks, misc.

And maybe the command looks weird b/c I abbreviated the .src.rpm filename with an ellipsis. Everything else about it should be good, though--I got it directly from the doc that was telling me what to do, and if it were nonsensical I wouldn't have returned an error, right? Who knows.

I'll keep at it. Thanks again.

misc 10-17-2003 11:10 AM

Quote:

And maybe the command looks weird b/c I abbreviated the .src.rpm filename with an ellipsis.
No. The command is pure nonsense. It is a mixture of rpmbuild --rebuild foo*.src.rpm and rpm --rebuilddb. :D
Quote:

and if it were nonsensical I wouldn't have returned an error, right? Who knows.
No. :) It just accepted the first argument and ignored the src.rpm filename.

dot hog 10-17-2003 12:35 PM

Wow. That's some solid advice. Fault me for sticking to bad documentation--instead of going on a bug/kernel update hunt, I should've taken 2 minutes to question the command itself.

Used the rpmbuild and compiled some rpms right quick. I'm back on the path to sanity!

Thanks for the HUGE dope slap, misc.


All times are GMT -5. The time now is 06:20 AM.