[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Berkeley DB 4.2; need help to retrieve LDAP data

Stephan Schwab wrote:


I need help to retrieve LDAP data out of a corrupt BDB 4.2 database.

slapcat or slapd start and then run into a deadlock. db_dump can retrieve some data, but then only writes "unable to allocate space from buffer cache" in an endless loop.

A lock conflict here implies that a program exited uncleanly and left locks lying around in the environment. Use db_recover to clean up the environment and the locks will be removed, then you can slapcat without any problems.

 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support