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

Re: replog not generating

On 4/13/07, James Tran <james@nttmcl.com> wrote:
Hi i'm having a problem creating a slave slapd/slurpd

I can't get my master to generate a replog for some reason

Here's my config:
# General Settings
replogfile      /var/lib/slapd/replica.log
replica host=slapd-test.test.com:389
        bindmethod=simple credentials=secret

pidfile         /var/run/slapd/slapd.pid
argsfile        /var/run/slapd/slapd.args
loglevel        1
modulepath      /usr/lib/ldap
moduleload      back_bdb
sizelimit 500
tool-threads 1
backend         bdb
checkpoint 512 30
database        bdb

# Base LDAP address
suffix          "dc=test,dc=com"

# Where database is stored
directory       "/var/lib/ldap"
dbconfig set_cachesize 0 2097152 0
dbconfig set_lk_max_objects 1500
dbconfig set_lk_max_locks 1500
dbconfig set_lk_max_lockers 1500
index           objectClass eq
lastmod         on

replogfile goes in the DATABASE section of your config.
From man slapd.conf:
      Options in this section only apply to the  configuration  file  section
      for  the  database  in  which  they are defined.  They are supported by
      every type of backend.  Note that the database and at least one	suffix
      option are mandatory for each database.