[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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. :)
-----Original Message-----
From: Quanah Gibson-Mount
To: Digant Kasundra; ''openldap-software@openldap.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
<digant@uta.edu> wrote:
> So that should actually be part of my shutdown routine? Or perhaps
part
> 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,
to
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. ;)
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html