Quanah Gibson-Mount wrote:
--On Friday, April 13, 2007 11:27 AM -0700 James Tran
<[EMAIL PROTECTED]> 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:
########################################################################
# Schema Settings
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/misc.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
# General Settings
replogfile /var/lib/slapd/replica.log
replica host=slapd-test.test.com:389
binddn="cn=admin,dc=test,dc=com"
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
# Include Access List
include /etc/ldap/slapd.access
########################################################################
help appreciated thx
What options are you using with slurpd?
In any case, I will note that slurpd is deprecated, and removed from
the 2.4 release. People are highly encouraged to use syncrepl (the
replacement for slurpd) instead, as that is the supported replication
mechanism from 2.3 onward.
--Quanah
--
Quanah Gibson-Mount
Senior Systems Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
Well good thing you told me about syncrepl... i just saw slurpd in the
manual first for replication so that's what i just started trying.
Probably good to know it anyway but i'll fiddle with syncrepl
Thanks.
And also the slurpd is working fine now that i changed the replogfile path.