[Kolab-devel] openldap database corrupted
Andrea Gelpi
gelpi at corona.it
Sun Apr 9 17:26:20 CEST 2006
Il giorno 05 apr 2006, alle 16:41, Daniel Coletti ha scritto:
> Hi,
> The server where kolab (kolab-server-2.1-beta-1 / OpenPKG version) is
> running shutdown uncleanly yesterday, and the ldap database got
> corrupted.
> I couldn't start ldap server again, it kept saying that the automatic
> recovery couldn't be done because the environment wasn't correct
> (something about wrong versiones of the berkley db - 4.3.29).
> I tried a /opt/kolab-2.1/bin/db_recover standing on the
> /kolab/var/openldap/openldap-data directory and the same message of
> ``wrong environment´´ appeared again.
> I tried to run ldap again with a greater debug level to post a detail
> mail, but the LDAP started correctly.
>
> Unfortunally, I don't have the error messages, but the problem does
> worries me.
> - If LDAP can't recover its db automaticly, is db_recover (standing at
> the openldap-data directory) the correct way of recovering it manually?
> - Is this "wrong environment" message an error or a warning?
>
> regards,
>
> daniel//
I got the same problem running kolab in a domu under xen every time I
need to reboot the dom0.
To solve this problem I modified the startup scrip of ldap adding this
to line:
cd /kolab/var/openldap/openldap-data
/kolab/bin/db_recover -e
This seems to solve my problem.
Andrea Gelpi
More information about the devel
mailing list