--On Friday, April 13, 2007 11:27 AM -0700 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: ######################################################################## # 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
Ok since you guys introduced me to syncrepl i've got a new problem Master seems to be up and fine but i'm having problems with the slave
i get this error when i run debug with slapd
###################### Slave slapd.conf ######################### # 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
rootdn cn=admin,dc=example,dc=com syncrepl rid=123 provider=ldap://ldap-master.example.com:389 searchbase="dc=example,dc=com" type=refreshOnly interval=01:00:00:00 bindmethod=simple binddn="cn=admin,dc=example,dc=com" credentials=secret
# Include Access List include /etc/ldap/slapd.access ###############################################################