Hi,
I'm running openldap 2.4.9 on three boxes one production, two in the process of setting them up for multimaster replication (in case of success the third is going to be joined to the setup) I've successfully migrated from slapd.conf to cn=config using slaptest -f ... -F ..., at this step everything works as expected. After ldapmodifying (for multimaster syncrepl) with the following ldif (a customized version of the one from the admin guide):
dn: cn=config changetype: modify add: olcServerID olcServerID: 1 ldaps://first.kzsdabas.hu olcServerID: 2 ldaps://second.kzsdabas.hu olcServerID: 3 ldaps://third.kzsdabas.hu
dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
dn: olcDatabase={0}config,cn=config changetype: modify add: olcSyncRepl olcSyncRepl: rid=001 provider=ldaps://first.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="cn=config" type=refreshAndPersist retry="5 5 300 5" timeout=1 olcSyncRepl: rid=002 provider=ldaps://second.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="cn=config" type=refreshAndPersist retry="5 5 300 5" timeout=1 olcSyncRepl: rid=003 provider=ldaps://third.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="cn=config" type=refreshAndPersist retry="5 5 300 5" timeout=1 - add: olcMirrorMode olcMirrorMode: TRUE
dn: olcOverlay=syncprov,olcDatabase={1}bdb,cn=config changetype: add objectClass: olcOverlayConfig objectClass: olcSyncProvConfig olcOverlay: syncprov
dn: olcDatabase={1}bdb,cn=config changetype: modify add: olcSyncRepl olcSyncRepl: rid=004 provider=ldaps://first.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="dc=kzsdabas,dc=hu" type=refreshAndPersist retry="5 5 300 5" timeout=1 olcSyncRepl: rid=005 provider=ldaps://second.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="dc=kzsdabas,dc=hu" type=refreshAndPersist retry="5 5 300 5" timeout=1 olcSyncRepl: rid=006 provider=ldaps://third.kzsdabas.hu bindmethod=sasl saslmech=GSSAPI authcid=ldapsyncrepl searchbase="dc=kzsdabas,dc=hu" type=refreshAndPersist retry="5 5 300 5" timeout=1 - add: olcMirrorMode olcMirrorMode: TRUE
everything still works, but after restarting slapd, the bdb database dc=kzsdabas,dc=hu becomes unaccessible. slapd runing with debuglevel set to -1 writes: => bdb_search bdb_dn2entry("DC=kzsdabas,DC=hu") => bdb_dn2id("DC=kzsdabas,DC=hu") <= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30990)
Thanks for any ideas
Geza
Gémes Géza wrote:
I'm running openldap 2.4.9 on three boxes one production, two in the process of setting them up for multimaster replication
Without having looked at your issue in detail I'd like to remark that there have been important fixes for syncrepl in release 2.4.10. So I'd recommend to try that version.
Ciao, Michael.
Michael Ströder írta:
Gémes Géza wrote:
I'm running openldap 2.4.9 on three boxes one production, two in the process of setting them up for multimaster replication
Without having looked at your issue in detail I'd like to remark that there have been important fixes for syncrepl in release 2.4.10. So I'd recommend to try that version.
Ciao, Michael.
Unfortunately the same happens with 2.4.10 :-(
Thanks
Geza
Ok I'm resending this the third time, now without the attachment, hope that it will arrive .
Hi,
I've started 2.4.10's slapd with -d -1.
The full output is attached, what seems strange to me is:
=> bdb_dn2id("DC=kzsdabas,DC=hu") <= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989) => bdb_entry_get: cannot find entry: "DC=kzsdabas,DC=hu"
while slapcat reports:
PROXIED attributeDescription "OU" inserted. PROXIED attributeDescription "DC" inserted. dn: dc=kzsdabas,dc=hu objectClass: top objectClass: dcObject objectClass: organization o: kzsdabas.hu DC: kzsdabas structuralObjectClass: organization ...
Thanks in advance for any ideas about where is my config wrong :-(
Geza
Michael Ströder írta:
Gémes Géza wrote:
I'm running openldap 2.4.9 on three boxes one production, two in the process of setting them up for multimaster replication
Without having looked at your issue in detail I'd like to remark that there have been important fixes for syncrepl in release 2.4.10. So I'd recommend to try that version.
Ciao, Michael.
Unfortunately the same happens with 2.4.10 :-(
Thanks
Geza
openldap-software@openldap.org