Re: RPM Database Emergency.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2003-08-02 at 17:37, Aaron Konstam wrote:
> We are about to start distributing a prototypical machine configuration
> to 50 other machines and disaster has struck. First I saw this error
> from doing rpm --rebuilddb
> error: db4 error(16) from dbenv->remove: Device or resource busy
> 
> I was told this was not a problem. Shortly after that the
> installation of an rpm hung and subsequently the whole rpm database
> seems destroyed.
> rpm --rebuilddb hangs.
> rpm -qa hangs
> -- 
> I am sort of at the end of my rope. The only progress I can make which
> is tedious is starting from the beginning and create a database by
> using a command such as : rpm -i --justdb --nodeps  xxxx.rpm
> for every rpm which works.


Do a "ps" to find and kill any rpm processes that may still be hanging
around.

Then, go to /var/lib/rpm and remove any __db files.

Should be OK then....

Known problem...

Ed

> 
> There must be a better way but I can't find it.
> I need help urgently.
> -------------------------------------------
> Aaron Konstam
> Computer Science
> Trinity University
> 715 Stadium Dr.
> San Antonio, TX 78212-7200
> 
> telephone: (210)-999-7484
> email:akonstam@xxxxxxxxxxx
-- 
http://www.shorewall.net       Shorewall, for all your firewall needs


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux