[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapd+syncrepl+mirrormode_connection_hang
- To: openldap-technical@openldap.org
- Subject: slapd+syncrepl+mirrormode_connection_hang
- From: michal <michal.kepkowski@gmail.com>
- Date: Mon, 17 Jun 2013 18:23:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=ZyAZ50Y1qFFLSVy4/ll90rJCN3xY5na5xrv0c8Q+PYM=; b=YRpn1Iq3vauU0za9RzJ4flxMi900G0nNRzlP1xqgBh/y60AmQcI0jPSBHLym7Nf4YN gfTtl0uAFIV537LveYeMn6aVtVDo1TYTxh/cqV6TfokuJV6H9QOsTWXVI/Jb4OFrGHSJ M1Ydga7EDevZIEp/QS+LSNnLYOMPAb5z0TE+4VGLNP7gBx7kbvV96Xhi53K9RHNzW/Js iJpVwqOmxkzTqW36x5iqHVYT9s/5HbPQ0wyagOLEcG9dIiepyZYNYaO09dTBt2S5jm5a FIn4SzeXzsT4Wor0jyzpyUMxKBGHbYhN5pYWouaBuHCXApOoJPTbn6i0Mw7JG5Bk6xGc 3y0g==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
Hi,
I have two ldap servers on two different machines (one is working under
debian another is a qnap). I would like to create a mirrormode servers.
So I configure slapd.conf like it is described here
(http://www.openldap.org/doc/admin24/replication.html) I've changed my
personal data.
First server:
serverID 001
syncrepl rid=001
provider=ldap://another-server
bindmethod=simple
binddn="cn=root,o=zpcir"
credentials="pass"
searchbase="database-path"
schemachecking=on
type=refreshAndPersist
retry="60 +"
mirrormode on
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
Second server has changes only in serverID = 002,
provider=ldap://another-server2, rid=002
I run slapd daemon in debug "slapd -d256 -u root -h "ldap:///" -f
/etc/ldap/slapd.conf"
And my syncrepl is working because on the other server (where I run
slapd in the same mode) I have response:
conn=1000 fd=11 ACCEPT from IP=First-serwer:34579 (IP=0.0.0.0:389)
conn=1000 op=0 BIND dn="bind-info" method=128
conn=1000 op=0 BIND dn="bind-info" mech=SIMPLE ssf=0
conn=1000 op=0 RESULT tag=97 err=0 text=
conn=1000 op=1 SRCH base="cn=database-path" scope=2 deref=0
filter="(objectClass=*)"
conn=1000 op=1 SRCH attr=* +
And slapd is in this state for a long time and nothing is happening. It
is answering for another calls, however conn=1000 is still running (I
suppose). There is no result databases aren't updated.
Do you have any ideas what is wrong with my replication?