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

Antw: ldap replication getting lost



Hi!

 The interesting log entries are when replication hangs: Inspect the logs of all servers.
Also if running Linux you could try an strace on the hanging process or try "lsof" (which also shows network connections). "netstat" may also show the state of any connections. If it doesn't help you need to increase debug logs levels I guess.

Regards,
Ulrich

>>> val john <valjohn1647@gmail.com> schrieb am 21.08.2013 um 18:20 in Nachricht
<CALUd1bNvt+6w7BzRa_VWHUqUyFq1_SL=ORD0=KuEctbZH-9x8w@mail.gmail.com>:
> Hi  guys im running simple ldap replication setup ,
> 
> ldap slave node sites  behind the firewall and port 389 is open to all
> 
> and my ldap replication works fine for most of the time , (slave node
> getting updated real time )
> 
> But some times slave just stop getting  the update from the master server ,
> But when is restart slave  ldap server replication start again , .... as
> fallows
> 
> 
> 
> 
> Aug 21 11:59:24 ldapmirror slapd[18107]: do_syncrep2: rid=004
> cookie=rid=004,sid=002,csn=20130821160107.813479Z#000000#002#000000
> Aug 21 11:59:24 ldapmirror slapd[18107]: syncrepl_entry: rid=004
> LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_MODIFY)
> Aug 21 11:59:24 ldapmirror slapd[18107]: <= bdb_equality_candidates:
> (entryUUID) not indexed
> Aug 21 11:59:25 ldapmirror slapd[18107]: syncrepl_entry: rid=004 be_search
> (0)
> Aug 21 11:59:25 ldapmirror slapd[18107]: syncrepl_entry: rid=004
> uid=user1,ou=staff,dc=example,dc=com
> Aug 21 11:59:25 ldapmirror slapd[18107]: slap_queue_csn: queing 0xcc1060
> 20130821160107.813479Z#000000#002#000000
> Aug 21 11:59:25 ldapmirror slapd[18107]: slap_graduate_commit_csn: removing
> 0xcc0a40 20130821160107.813479Z#000000#002#000000
> Aug 21 11:59:25 ldapmirror slapd[18107]: syncrepl_entry: rid=004 be_modify
> uid=user1,ou=staff,dc=example,dc=com (0)
> Aug 21 11:59:25 ldapmirror slapd[18107]: slap_queue_csn: queing 0xcc1060
> 20130821160107.813479Z#000000#002#000000
> Aug 21 11:59:25 ldapmirror slapd[18107]: slap_graduate_commit_csn: removing
> 0x1a55a70 20130821160107.813479Z#000000#002#000000
> 
> 
> Ldap slave configuration ..
> 
> syncrepl      rid=004
>               provider=ldap://ldap.example.com
>               bindmethod=simple
>               binddn="cn=admin,ou=staff,dc=example,dc=com"
>               credentials="passwd"
>               searchbase="dc=example,dc=com"
>               schemachecking=off
>               type=refreshAndPersist
>               retry="60 +"
> 
> mirrormode on
> 
> 
> 
> 
> Is there any reason for such behavior , Please advice
> 
> Thank You
> John