Mandriva rpmdb unable to allocate memory error fix

mandriva linux logo

I’m sharing to you the error I’ve encountered while setting up Linux Mandriva 2011’s package manager.

Problem:

rpmdb: unable to allocate memory for mutex; resize mutex region
error: db_init:db3.c:1009: dbenv->open(12): Cannot allocate memory
error: cannot open Packages(0) index: Cannot allocate memory(12)
DB: Berkeley DB 5.1.25: (January 28, 2011)
error: cannot open Packages database in /var/lib/rpm

 

Fix:

shell# db51_recover -vh /var/lib/rpm

Run urpm* or drakrpm and the problem should have gone away.

Permalink • Print • Comment

Trackback uri

http://seoroot.com/blog/tips-and-fixes/mandriva-rpmdb-unable-to-allocate-memory-error-fix.html/trackback

Related Entries

Leave a Comment