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

Re: Power failure = looses recent ldap info.



On Thu, Apr 21, 2005 at 10:16:08AM -0700, Matt Pruett wrote:
> I have had several servers loose power and something I have been finding
> is that often some of the more recent ldap changes (within a last week
> or something) revert to their prior information when the server comes
> back up.  kinda weird..  for example a servers power failed recently and
> several user accounts who I had changed there password changed back to
> the old password. Two accounts I had deleted came back, and one that I
> had modified with some additional email addresses reverted back also.

Take a look at the "checkpoint" directive in slapd.conf, you need it.
You may also want to run db_checkpoint as a daemon or in cron if you do
not have frequent writes due to the way the checkpoint is done from
within openldap.