[Fedora-directory-users] Recover directory database files when disk fills up!

Howard Wilkinson howard at cohtech.com
Mon Aug 4 15:02:48 UTC 2008


Rich Megginson wrote:
> Howard Wilkinson wrote:
>> Richard Megginson wrote:
>>> Howard Wilkinson wrote:
>>>>
>>> These are messages from sasl.  I believe you can ignore them, I 
>>> don't think they have anything to do with the problem.
>>>>
>>>>
>>>> What can I do to recover the database so that I can start the server?
>>> What messages do you get in the directory server error log?
>>
>>         Fedora-Directory/1.1.1 B2008.151.1915
>>         bastion.finsbury.cohtech.co.uk:636 (/etc/dirsrv/slapd-bastion)
>>
>>     [04/Aug/2008:10:40:15 +0100] - Fedora-Directory/1.1.1
>>     B2008.151.1915 starting up
>>     [04/Aug/2008:10:40:15 +0100] - Detected Disorderly Shutdown last
>>     time Directory Server was running, recovering database.
>>     [04/Aug/2008:10:40:17 +0100] - libdb: file userRoot/id2entry.db4
>>     has LSN 518/7178886, past end of log at 1/4431
>>     [04/Aug/2008:10:40:17 +0100] - libdb: Commonly caused by moving a
>>     database from one database environment
>>     [04/Aug/2008:10:40:17 +0100] - libdb: to another without clearing
>>     the database LSNs, or by removing all of
>>     [04/Aug/2008:10:40:17 +0100] - libdb: the log files from a
>>     database environment
>>
> How did you create the backup?

[Snip]

There was no backup created. The system ran out of disk space in the log 
partition and in the database partition during an OS upgrade. It looks 
ike the version of db4 has changed and the directory server failed while 
this was happening. I would like to recover by rolling forward if 
possible, but if not this is a multi-master instance and I can probably 
rebuild if I have to.

Howard.




More information about the Fedora-directory-users mailing list