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

RE: openldap 1.2.9

I saw openldap 2.0X doc saying
>6.3. Stopping slapd
>To kill off slapd safely, you should give a command like this
>        kill -INT `cat /usr/local/var/slapd.pid`
>where /usr/local/var is determined by configure.
>Killing slapd by a more drastic method may cause information loss or
database corruption.

but /etc/rc.d/init.d/ldap use :
        # Stop daemons.
        echo -n "Shutting down ldap: "
        killproc slapd
        if [ $RETVAL -eq 0 ]; then
            if grep -q "^replogfile" /etc/openldap/slapd.conf; then
                killproc slurpd
        if [ $RETVAL -eq 0 ]; then
            rm -f /var/lock/subsys/ldap
            rm -f /var/run/slapd.args
Which one is better ?

-----Original Message-----
From: Keith, Yeung Wai Kin [mailto:Keith.Yeung@corp.sunday.com]
Sent: Thursday, September 21, 2000 1:56 PM
To: 'openldap-software@OpenLDAP.org'
Subject: openldap 1.2.9

Dear Kurt and all others,

Currently, I am using openldap 1.2.9 on 4 RH61. One is running as
master(slapd+slurpd) and other slave. There is serveral times when a slave
shutdown and then restart and DBs is out of sync (some entry are not
searchable). I've to stop another slave to copy back the DBs. Looks like the
DBs is corrupted from time to time even normal shutdown of mahcine or stop
of slapd. Any idea ?

Bty, openldap 2.0.3 released ? Any feature comparison between 2.0.X and
1.2.X ?

Thanks !