Linux, windows, asterisk, vmware

when trying to use up2date on your RHL server, you receive the following errors..

1
2
3
4
rpmdb: Lock table is out of available locker entries
error: db4 error(22) from db->close: Invalid argument
error: cannot open Packages index using db3 - Cannot allocate memory (12)
error: cannot open Packages database in /var/lib/rpm

To resolve this slightly unwanted issue… :-) do the following.

Maybe make a backup eh :P

1
sudo tar cvzf rpmdb_backup.tar.gz /var/librpm

Remove the RPM database.

1
sudo rm /var/lib/rpm/__db.00*

make the rpm rebuild the database (Could take a little while todo)

1
rpm --rebuilddb

Now try and run you up2date command again :-)

Popularity: 4% [?]


Post Comment

Please notice: Comments are moderated by an Admin.


Powered by Wordpress
Theme © 2005 - 2009 FrederikM.de
BlueMod is a modification of the blueblog_DE Theme by Oliver Wunder

166 views