Hi everyone.
I have another OpenLDAP server. luz2:/home/romain# uname -a Linux luz2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux
And: luz2:/home/romain# uname -a Linux luz2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux luz2:/home/romain# slapd -VV @(#) $OpenLDAP: slapd 2.4.11 (Nov 26 2009 09:17:06) $ root@SD6-Casa:/tmp/buildd/openldap-2.4.11/debian/build/servers/slapd
I read those lines in my /var/log/syslog: Apr 5 06:28:38 luz2 slapd[21213]: syncrepl_message_to_entry: rid=008 mods check (objectClass: value #4 invalid per syntax) Apr 5 06:28:38 luz2 slapd[21213]: do_syncrepl: rid=008 retrying Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET Apr 5 06:38:50 luz2 slapd[21213]: syncrepl_message_to_entry: rid=008 mods check (objectClass: value #4 invalid per syntax) Apr 5 06:38:50 luz2 slapd[21213]: do_syncrepl: rid=008 retrying
Someone or anyone could tell me what's wrong? I didn't change anything on my server for several months. So suddenly I got those lines. Who can explain to me?
Kind regards
On Tue, Apr 05, 2011 at 10:33:24AM +0200, Olivier PAVILLA wrote:
Apr 5 06:28:38 luz2 slapd[21213]: syncrepl_message_to_entry: rid=008 mods check (objectClass: value #4 invalid per syntax) Apr 5 06:28:38 luz2 slapd[21213]: do_syncrepl: rid=008 retrying Apr 5 06:38:38 luz2 slapd[21213]: do_syncrep2: rid=008 LDAP_RES_INTERMEDIATE - SYNC_ID_SET
[snip]
Apr 5 06:38:50 luz2 slapd[21213]: syncrepl_message_to_entry: rid=008 mods check (objectClass: value #4 invalid per syntax) Apr 5 06:38:50 luz2 slapd[21213]: do_syncrepl: rid=008 retrying
Someone or anyone could tell me what's wrong? I didn't change anything on my server for several months. So suddenly I got those lines. Who can explain to me?
The "objectClass: value #4 invalid per syntax" indicates that your consumer (slave) slapd doesn't have the correct schemas installed, and doesn't recognize an objectClass of an entry that the provder (master) is sending. This is causing the synchronization to fail, but is easily fixed: just install the necessary schemas on the consumer.
The SYNC_ID_SET messages in this case are the provider telling the consumer what entries it has, so the consumer can delete entries not present on the provider. This is normal operation in some situations. It shouldn't happen too often if you specify a sufficient sessionlog size on the provider.
--On April 5, 2011 10:33:24 AM +0200 Olivier PAVILLA olivier.pavilla@univ-orleans.fr wrote:
Hi everyone.
I have another OpenLDAP server. luz2:/home/romain# uname -a Linux luz2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux
And: luz2:/home/romain# uname -a Linux luz2 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux luz2:/home/romain# slapd -VV @(#) $OpenLDAP: slapd 2.4.11 (Nov 26 2009 09:17:06) $ root@SD6-Casa:/tmp/buildd/openldap-2.4.11/debian/build/servers/slapd
You really should be using a current release of OpenLDAP.
Apr 5 06:38:50 luz2 slapd[21213]: syncrepl_message_to_entry: rid=008 mods check (objectClass: value #4 invalid per syntax) Apr 5 06:38:50 luz2 slapd[21213]: do_syncrepl: rid=008 retrying
Someone or anyone could tell me what's wrong? I didn't change anything on my server for several months. So suddenly I got those lines. Who can explain to me?
That line would mean that the entry being replicated includes an objectClass that is not known to the server. It sounds like the schema between your servers do not match.
--Quanah
openldap-technical@openldap.org