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

Re: MirrorMode sync only happening in one direction



Daniel Qian wrote:
The problem direction has the same syncrepl configuration as the working
one except for the rid and provider name:

olcSyncrepl: {0}
   rid=102 provider="ldap://server2.prod:389/";
   type=refreshAndPersist
   retry="60 30 300 +"
   keepalive=1200:10:3
   searchbase="dc=mydomain,dc=com"
   bindmethod=simple
   binddn="cn=replica,dc=mydomain,dc=com"
   credentials=xxxxxx
   starttls=critical
   tls_cacert="/etc/pki/CA/cacert.pem"

On the consumer side I am seeing these messages:

Sep 22 22:02:02 ldaprov1 slapd[15466]: do_syncrep2: rid=102 got search
entry without Sync State control
Sep 22 22:02:02 ldaprov1 slapd[15466]: do_syncrepl: rid=102 rc -1
retrying (29 retries left)

and on the provider side I am seeing these:


The sync connection is supposed to be persistent but it keeps closing
down and reconnecting.

Anyone know what could be the reason?

Obviously your "provider side" doesn't actually have the syncprov overlay configured.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/