Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rpmdb

Status
Not open for further replies.

acidbrain

Technical User
Sep 2, 2002
67
RO
Hi there.

Got problem with my rpm's. When i try to do something on my server that deals with rpm's i get this:

rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm

I tried this: rm -f /var/lib/rpm__db* and rpm --rebuilddb and got this:

rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index

What's to be done? I've read all existing documentation and still nothing. I have a server running Red Hat Linux release 9 with 2.4.22-1.2199.nptl kernel.
 
Are you doing it as root? A few times I've gotten locks so screwed up I had to reboot to free them (that pissed me off).
 
Yes did it as root. I've rebooted a few times buti still nothing.
What else coul i try?!
thanks.
 
Try doing this:

export LD_ASSUME_KERNEL=2.2.5

Then try your rpm command.
 
great!!

export LD_ASSUME_KERNEL=2.2.5

then

rpm --rebuilddb

Thanks alot!

 
If that fixed the problem, then the first thing you need to do is upgrade your glibc.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top