[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Delta-syncrepl issue
I didn't see the database section where you defined the search base you are trying to replicate
searchbase="dc=*****,dc=com"
I see the cn=access and cn=config, but neglected to see the supplier (master) section in the config for the real location of your directory data and that consumer references in RID 000
Sellers
Chris G. Sellers
National Institute for Technology and Liberal Ed.
Technology Group
-----Original Message-----
From: openldap-software-bounces+chris.sellers=nitle.org@OpenLDAP.org on behalf of Kieran JOYEUX
Sent: Fri 5/30/2008 12:08 PM
To: openldap-software@openldap.org
Subject: Delta-syncrepl issue
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
---------------------------------------------------------------------------------------------------------------------------------