Hi,
I have setup replication on openldap. Ldap startup is fine but I am not seeing it is getting replicated. Find the logs below. Please advice what needs to be changed.
Master log:
May 10 00:02:00 ldap slapd[12811]: conn=1031 fd=17 ACCEPT from IP=<IP>:49249 (IP=0.0.0.0:389)
May 10 00:02:00 ldap slapd[12811]: conn=1031 op=0 BIND dn="cn=admin,dc=******,dc=com" method=128
May 10 00:02:00 ldap slapd[12811]: conn=1031 op=0 BIND dn="cn=admin,dc=******,dc=com" mech=SIMPLE ssf=0
May 10 00:02:00 ldap slapd[12811]: conn=1031 op=0 RESULT tag=97 err=0 text=
May 10 00:02:00 ldap slapd[12811]: conn=1031 op=1 SRCH base="dc=*******,dc=com" scope=2 deref=0 filter="(objectClass=*)"
May 10 00:02:00 ldap slapd[12811]: conn=1031 op=1 SRCH attr=* +
May 10 00:02:00 ldap slapd[12811]: send_search_entry: conn 1031 ber write failed.
May 10 00:02:00 ldap slapd[12811]: conn=1031 fd=17 closed (connection lost on write)
May 10 00:02:45 ldap slapd[12811]: do_syncrep2: rid=002 LDAP_RES_SEARCH_RESULT (32) No such object
May 10 00:02:45 ldap slapd[12811]: do_syncrep2: rid=002 (32) No such object
May 10 00:02:45 ldap slapd[12811]: do_syncrepl: rid=002 rc -2 retrying
Slave Log:
May 10 00:02:00 TGAPPSRV07 slapd[40811]: findbase failed! 32
May 10 00:02:00 TGAPPSRV07 slapd[40811]: conn=1031 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
May 10 00:02:00 TGAPPSRV07 slapd[40811]: do_syncrep2: rid=002 LDAP_RES_SEARCH_RESULT (32) No such object
May 10 00:02:00 TGAPPSRV07 slapd[40811]: do_syncrep2: rid=002 (32) No such object
May 10 00:02:00 TGAPPSRV07 slapd[40811]: do_syncrepl: rid=002 rc -2 retrying
May 10 00:02:00 TGAPPSRV07 slapd[40811]: conn=1031 op=2 UNBIND
May 10 00:02:00 TGAPPSRV07 slapd[40811]: conn=1031 fd=20 closed
May 10 00:02:00 TGAPPSRV07 slapd[40811]: syncrepl_message_to_entry: rid=001 mods check (objectClass: value #2 invalid per syntax)
May 10 00:02:00 TGAPPSRV07 slapd[40811]: do_syncrepl: rid=001 rc 21 retrying
Thanks
Gokul
--On Sunday, May 10, 2015 1:05 AM +0530 Gokulnath Arjunan garjunan@travelguru.com wrote:
Hi,
I have setup replication on openldap. Ldap startup is fine but I am not seeing it is getting replicated. Find the logs below. Please advice what needs to be changed.
May 10 00:02:00 TGAPPSRV07 slapd[40811]: syncrepl_message_to_entry: rid=001 mods check (objectClass: value #2 invalid per syntax)
May 10 00:02:00 TGAPPSRV07 slapd[40811]: do_syncrepl: rid=001 rc 21 retrying
Sounds like your schema don't match.
You also don't list your openldap version.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org