Bug 90957 - rpm --rebuilddb doew not work
rpm --rebuilddb doew not work
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
9
i686 Linux
high Severity high
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-05-15 15:20 EDT by Irina Kaliman
Modified: 2005-10-31 17:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-05-21 20:13:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Irina Kaliman 2003-05-15 15:20:43 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
Netscape/7.02

Description of problem:
The following happened on the systems which I upgraded from 7.2 or 7.3
to 9.0
root@potomac irina]# rpm --rebuilddb
error: db4 error(16) from dbenv->remove: Device or resource busy



Version-Release number of selected component (if applicable):
rpm-4.2-0.69

How reproducible:
Always

Steps to Reproduce:
1.rpm --rebuilddb
2.
3.
    

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

Expected Results:  get a prompt back

Additional info:
Comment 1 Barry K. Nathan 2003-05-15 16:20:45 EDT
This is a dupe of I-don't-know-how-many other bugs.

It's a harmless error, just ignore it.
Comment 2 Jeff Johnson 2003-05-21 20:13:40 EDT
Yup. Error message is harmless, ignore, as it says
in countless other reports.
Comment 3 Need Real Name 2003-05-22 12:13:02 EDT
HOw could this bug be harmless if I do not get a prompt back???  How do I know 
if rpm databased was rebuilt or not? 

[root@potomac irina]# rpm --rebuilddb
No prompt back! ^C does not work, window is frozen! NO way it is a hramless bug

 Irina Kaliman, System and Network Administrator University of Miami,
  Computer Science department
Comment 4 Barry K. Nathan 2003-05-22 14:36:01 EDT
In that situation, use another terminal (for example, another ssh session or
another X terminal window) to run "top" and see if rpm --rebuilddb is using tons
of CPU time. If it's using lots of CPU it's almost certainly rebuilding the
database. If it's not using CPU time but it's not returning to the prompt
either, then that's a problem.

The "harmless bug" is the db4 error that gets displayed. That error should
appear very near the end of the rebuild, and the prompt should then come back
almost immediately after the error (or at least within several seconds of the
error).

Are you saying that you don't get the prompt back after the db4 error shows up?
That would be a different problem or bug than the "harmless" one Jeff and I are
talking about.

Note You need to log in before you can comment on or make changes to this bug.