[Date Prev][Date Next]
RE: OpenLDAP fails on reboot
I was definately shutting down slapd before rebooting (and no, I don't
generally plan on rebooting systems much). Perhaps I'll run db_recover as
an "on boot" script only.
So since that doesn't seem to be a problem, I'm back to trying to figure out
why my response times are so bad on my faster machines. :)
From: Quanah Gibson-Mount
To: Digant Kasundra; ''firstname.lastname@example.org' '
Sent: 4/8/2004 4:05 PM
Subject: RE: OpenLDAP fails on reboot
--On Thursday, April 08, 2004 3:54 PM -0500 Digant Kasundra
> So that should actually be part of my shutdown routine? Or perhaps
> of my startup routine?
Well, doing it before shutdown won't help any as far as the memory cache
goes. It is generally recommended to shut down slapd before rebooting,
make sure everything gets written out.
As far as the memory cache goes, you need to do a db_recover when the
system comes up, but in general you don't want to do one every time you
start slapd. Hopefully, of course, you rarely reboot your systems. ;)
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html