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

syncrepl stops after consumer restart



Hi, 

I have a working syncrepl replication. When both consumer and master are in 
sync and I restart the consumer, replication does not work anymore if I make 
a modification on the provider. If I restart again it works again.

So as long both copies are in sync before the start, replication doesn't work. 
If there are pending changes on the provider everythings works and continue 
to work.

Here is the log of the consumer:

--- In sync:
eb 10 17:38:32 bb154 slapd_2.3[30005]: @(#) $OpenLDAP: slapd 2.3.19 (Feb 10 
2006 13:00:06) $   
bbbuild@lnx1:/usr/src/packages/openldap-2.3.19/servers/slapd
Feb 10 17:38:33 bb154 slapd_2.3[30006]: slapd starting
Feb 10 17:38:33 bb154 slapd_2.3[30010]: do_syncrep2: LDAP_RES_INTERMEDIATE - 
REFRESH_DELETE

--- Not in sync
Feb 10 17:38:55 bb154 slapd_2.3[30036]: @(#) $OpenLDAP: slapd 2.3.19 (Feb 10 
2006 13:00:06) $   
bbbuild@lnx1:/usr/src/packages/openldap-2.3.19/servers/slapd
Feb 10 17:38:56 bb154 slapd_2.3[30037]: slapd starting
Feb 10 17:38:56 bb154 slapd_2.3[30041]: do_syncrep2: LDAP_RES_INTERMEDIATE - 
SYNC_ID_SET
Feb 10 17:38:56 bb154 slapd_2.3[30041]: do_syncrep2: LDAP_RES_INTERMEDIATE - 
SYNC_ID_SET
Feb 10 17:38:56 bb154 slapd_2.3[30041]: syncrepl_entry: 
LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD)
Feb 10 17:38:56 bb154 slapd_2.3[30041]: syncrepl_entry: be_search (0)
Feb 10 17:38:56 bb154 slapd_2.3[30041]: syncrepl_entry: 
ou=Hosts,dc=testuml,dc=test
Feb 10 17:38:56 bb154 slapd_2.3[30041]: syncrepl_entry: be_modify (0)
Feb 10 17:38:56 bb154 slapd_2.3[30041]: do_syncrep2: LDAP_RES_INTERMEDIATE - 
REFRESH_PRESENT

Any idea what's wrong? Or how to debug this?

Gerald



 
** Virus checked by BB-5000 Mailfilter **