[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [SpamBlock] Re: problem with replication
On 9/22/2010 2:29 PM, Quanah Gibson-Mount wrote:
--On Wednesday, September 22, 2010 2:09 PM -0700 Craig White
<cwhite@ayr1.com> wrote:
Still struggling with replication... I have the dumped the configuration
of the two servers.
I don't see the syncprov overlay loaded on your servers for the
primary hdb databases, which is what your logs complain about, so it
seems like things are behaving as expected.
I.e., regardless of cn=config or slapd.conf, your configuration is wrong.
----
ok but I have been trying...
cat sync_backend.ldif
#
dn: olcDatabase={1}hdb,cn=config
changetype: modify
add: olcRootDN
olcRootDN: cn=admin,dc=ayr1,dc=local
-
add: olcSyncRepl
olcSyncRepl: rid=003 provider=ldap://srv1.ayr1.local
binddn="cn=admin,dc=ayr1,dc=local"
bindmethod=simple credentials=**** searchbase="dc=ayr1,dc=local"
type=refreshOnly
interval=00:00:00:10 retry="5 5 300 5" timeout=1
olcSyncRepl: rid=004 provider=ldap://srv2.ayr1.local
binddn="cn=admin,dc=ayr1,dc=local"
bindmethod=simple credentials=**** searchbase="dc=ayr1,dc=local"
type=refreshOnly
interval=00:00:00:10 retry="5 5 300 5" timeout=1
-
add: olcMirrorMode
olcMirrorMode: TRUE
dn: olcOverlay=syncprov,olcDatabase={1}hdb,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov
#
ldapmodify -x -D cn=admin,cn=config -W -f sync_backend.ldif
Enter LDAP Password:
modifying entry "olcDatabase={1}hdb,cn=config"
ldap_modify: Type or value exists (20)
additional info: modify/add: olcRootDN: value #0 already exists
I can't see what it is that is wrong here
Craig