[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Delta-syncrepl issue
- To: <openldap-software@openldap.org>
- Subject: Delta-syncrepl issue
- From: "Kieran JOYEUX" <kieran.joyeux@bsocom.com>
- Date: Fri, 30 May 2008 18:08:25 +0200
- Content-class: urn:content-classes:message
- Importance: normal
- Thread-index: AcjCb2Lb9RJ3fBStRUeFTwDWh9Zsaw==
- User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Hi guys,
I got an issue setting up a delta-syncrepl replication. It's Here is my
provider and consumer syslog output. Do you have any ideas of what's
going on, or a clue to lead my search, i'll be really grateful... I kind
have a headache right now...
Thanks a lot for your help.
Regards,
Kin
--------------------------------------------------------------
Provider's syslog-------------------------------------
May 30 18:02:35 bom-ldap1 slapd[17515]: conn=68 op=1 SRCH
base="cn=accesslog" scope=2 deref=0
filter="(&(objectClass=auditWriteObject)(reqResult=0))"
May 30 18:02:35 bom-ldap1 slapd[17515]: conn=68 op=1 SRCH attr=reqDN
reqType reqMod reqNewRDN reqDeleteOldRDN reqNewSuperior entryCSN
May 30 18:02:35 bom-ldap1 slapd[17515]: findbase failed! 32
May 30 18:02:35 bom-ldap1 slapd[17515]: conn=68 op=1 SEARCH RESULT
tag=101 err=32 nentries=0 text=
May 30 18:02:35 bom-ldap1 slapd[17515]: conn=68 op=2 UNBIND
May 30 18:02:35 bom-ldap1 slapd[17515]: conn=68 fd=19 closed
May 30 18:03:35 bom-ldap1 slapd[17515]: conn=69 fd=19 ACCEPT from
IP=192.168.3.62:38515 (IP=192.168.3.61:636)
May 30 18:03:35 bom-ldap1 slapd[17515]: conn=69 fd=19 TLS established
tls_ssf=256 ssf=256
May 30 18:03:35 bom-ldap1 slapd[17515]: conn=69 op=0 BIND
dn="cn=admin,dc=*********,dc=com" method=128
May 30 18:03:35 bom-ldap1 slapd[17515]: conn=69 op=0 BIND
dn="cn=admin,dc=*********,dc=com" mech=SIMPLE ssf=0
May 30 18:03:35 bom-ldap1 slapd[17515]: conn=69 op=0 RESULT tag=97 err=0
text=
-----------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------Consumer's syslog
-------------------------------------------------------------------
May 30 17:58:50 bom-ldap2 slapd[25741]: do_syncrep2: rid=000 (32) No
such object
May 30 17:58:50 bom-ldap2 slapd[25741]: do_syncrepl: rid=000 retrying
-----------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------Provider's slapd.conf
----------------------------------
access to *
by dn.base="cn=replicator,ou=admins,dc=*****,dc=com" read
by * break
# Accesslog database definitions
---------------------------------------------
database hdb
suffix cn=accesslog
directory /usr/local/openldap-2.4.9//var/accesslog
rootdn cn=accesslog
rootpw *****
index default eq
index entryCSN,objectClass,reqEnd,reqResult,reqStart
overlay syncprov
syncprov-nopresent TRUE
syncprov-reloadhint TRUE
# Let the replica DN have limitless searches
limits dn.exact="cn=replicator,ou=admins,dc=*****,dc=com"
time.soft=unlimited time.hard=unlimited size.soft=unlimited
size.hard=unlimited
#######################################################################
# BDB database definitions
#######################################################################
...........
************************************
database config
************************************
............
index entryCSN eq
index entryUUID eq
#syncrepl Provider for primary db
overlay syncprov
syncprov-checkpoint 1000 60
#accesslog overlay definitions for primary db
overlay accesslog
logdb cn=accesslog
logops writes
logsuccess TRUE
#scan the accesslog DB every day, and purge entries older than 7 days
logpurge 07+00:00 01+00:00
#Let the replica DN have limitless searches
limits dn.exact="cn=replicator,ou=admins,dc=*****,dc=com"
time.soft=unlimited time.hard=unlimited size.soft=unlimited
size.hard=unlimited
---------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------Consumer's slapd.conf
--------------------------------------------
index entryUUID eq
# syncrepl specific indices
syncrepl rid=0
provider=ldaps://bom-ldap1.*****.com:636
bindmethod=simple
binddn="cn=admin,dc=*****,dc=com"
credentials=*****
searchbase="dc=*****,dc=com"
logbase="cn=accesslog"
logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
schemachecking=on
type=refreshAndPersist
retry="60 +"
syncdata=accesslog
# Refer updates to the master
updateref ldaps://bom-ldap1.*****:636
---------------------------------------------------------------------------------------------------------------------------------