On Feb 24, 2012, at 19:20 , Quanah Gibson-Mount wrote:
If you know how to build OpenLDAP manually, and would like to participate in testing the next set of code for the 2.4.30 release, please do so.
I've upgraded on a provider and a consumer (I used openldap-OPENLDAP_REL_ENG_2_4-eb3ea42.tar.gz with LTB src.rpm's on Centos 5.7 64bit).
The only problem I mentioned was that after having stopped/upgraded the provider and restarted, changes on the directory were not replicated to the consumers (neither to the upgraded one, nor to another one running 2.4.22).
I had to restart the consumers for things to start running smoothly again. In the past, in such cases consumers continued to replicate without problems. (But I can remember some cases in the past when this happened again.) I don't know if there are KNOWN circumstances under which the consumers stop picking up provider changes after a restart (of the provider). If so, I would like to know more on the issue, if someone can provide details.
At the time when modifications were not being synced, on the provider logs:
Feb 25 19:31:30 ldap slapd[2249]: [INFO] Using /etc/default/slapd for configuration Feb 25 19:31:30 ldap slapd[2251]: [INFO] Launching OpenLDAP configuration test... Feb 25 19:31:31 ldap slapd[2282]: [OK] OpenLDAP configuration test successful Feb 25 19:31:31 ldap slapd[2292]: [INFO] No db_recover done Feb 25 19:31:31 ldap slapd[2293]: [INFO] Launching OpenLDAP... Feb 25 19:31:31 ldap slapd[2294]: [OK] File descriptor limit set to 1024 Feb 25 19:31:31 ldap slapd[2295]: @(#) $OpenLDAP: slapd 2.4.X (Feb 25 2012 18:38:31) $ swbuilder@vdev.noa.gr:/home/swbuilder/rpmbuild/BUILD/openldap-2.4.30b3/servers/slapd
Feb 25 19:31:32 ldap slapd[2296]: slapd starting Feb 25 19:31:33 ldap slapd[2300]: [OK] OpenLDAP started Feb 25 19:47:30 ldap slapd[2296]: slap_queue_csn: queing 0x422d1400 20120225174730.829877Z#000000#000#000000 Feb 25 19:47:30 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f41050 20120225174730.829877Z#000000#000#000000 Feb 25 19:49:05 ldap slapd[2296]: slap_queue_csn: queing 0x422d1400 20120225174905.178671Z#000000#000#000000 Feb 25 19:49:05 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f52ea0 20120225174905.178671Z#000000#000#000000 Feb 25 19:49:18 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225174918.725184Z#000000#000#000000 Feb 25 19:49:18 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f516c0 20120225174918.725184Z#000000#000#000000 Feb 25 19:49:27 ldap slapd[2296]: slap_queue_csn: queing 0x422d1400 20120225174927.883674Z#000000#000#000000 Feb 25 19:49:27 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f4ed80 20120225174927.883674Z#000000#000#000000 Feb 25 19:51:36 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225175136.055019Z#000000#000#000000 Feb 25 19:51:36 ldap slapd[2296]: entry failed schema check: naming attribute 'dc' is not present in entry Feb 25 19:51:36 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19ed68e0 20120225175136.055019Z#000000#000#000000 Feb 25 19:51:57 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225175157.332360Z#000000#000#000000 Feb 25 19:51:57 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f52a60 20120225175157.332360Z#000000#000#000000 Feb 25 19:52:06 ldap slapd[2296]: slap_queue_csn: queing 0x432d3400 20120225175206.888091Z#000000#000#000000 Feb 25 19:52:06 ldap slapd[2296]: entry failed schema check: naming attribute 'dc' is not present in entry Feb 25 19:52:06 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f5b4f0 20120225175206.888091Z#000000#000#000000 Feb 25 19:52:41 ldap slapd[2296]: slap_queue_csn: queing 0x432d3400 20120225175241.756488Z#000000#000#000000 Feb 25 19:52:41 ldap slapd[2296]: entry failed schema check: naming attribute 'dc' is not present in entry Feb 25 19:52:41 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f516c0 20120225175241.756488Z#000000#000#000000 Feb 25 19:53:34 ldap slapd[2296]: slap_queue_csn: queing 0x422d2430 20120225175334.154298Z#000000#000#000000 Feb 25 19:53:34 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f5b4f0 20120225175334.154298Z#000000#000#000000 Feb 25 19:53:39 ldap slapd[2296]: slap_queue_csn: queing 0x422d2430 20120225175339.947561Z#000000#000#000000 Feb 25 19:53:39 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f516c0 20120225175339.947561Z#000000#000#000000 Feb 25 19:53:48 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225175348.026487Z#000000#000#000000 Feb 25 19:53:48 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19db6b30 20120225175348.026487Z#000000#000#000000 Feb 25 19:53:56 ldap slapd[2296]: slap_queue_csn: queing 0x422d2430 20120225175356.478960Z#000000#000#000000 Feb 25 19:53:56 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f774e0 20120225175356.478960Z#000000#000#000000 Feb 25 19:54:03 ldap slapd[2296]: slap_queue_csn: queing 0x422d2430 20120225175403.408232Z#000000#000#000000 Feb 25 19:54:03 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19db6b30 20120225175403.408232Z#000000#000#000000 Feb 25 19:54:10 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225175410.321133Z#000000#000#000000 Feb 25 19:54:10 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f516c0 20120225175410.321133Z#000000#000#000000 Feb 25 19:54:21 ldap slapd[2296]: slap_queue_csn: queing 0x42ad3430 20120225175421.152806Z#000000#000#000000 Feb 25 19:54:21 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f5b4f0 20120225175421.152806Z#000000#000#000000 Feb 25 19:54:25 ldap slapd[2296]: slap_queue_csn: queing 0x42ad3430 20120225175425.678290Z#000000#000#000000 Feb 25 19:54:25 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f516c0 20120225175425.678290Z#000000#000#000000 Feb 25 19:54:34 ldap slapd[2296]: slap_queue_csn: queing 0x432d4430 20120225175434.170357Z#000000#000#000000 Feb 25 19:54:34 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f19700 20120225175434.170357Z#000000#000#000000 Feb 25 19:54:41 ldap slapd[2296]: slap_queue_csn: queing 0x42ad3430 20120225175441.740593Z#000000#000#000000 Feb 25 19:54:41 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f19340 20120225175441.740593Z#000000#000#000000 Feb 25 19:54:48 ldap slapd[2296]: slap_queue_csn: queing 0x432d3400 20120225175448.827690Z#000000#000#000000 Feb 25 19:54:48 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f192a0 20120225175448.827690Z#000000#000#000000 Feb 25 19:55:55 ldap slapd[2296]: slap_queue_csn: queing 0x432d3400 20120225175555.025407Z#000000#000#000000 Feb 25 19:55:55 ldap slapd[2296]: slap_queue_csn: queing 0x422d1400 20120225175555.028843Z#000000#000#000000 Feb 25 19:55:55 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19f1cb80 20120225175555.025407Z#000000#000#000000 Feb 25 19:55:55 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x19ed6a90 20120225175555.028843Z#000000#000#000000
At the same time, consumers were not logging anything (but were running normally).
After restart of the consumers, on the provider:
Feb 25 20:02:55 ldap slapd[2296]: srs csn 20120217132800.021716Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225174730.829877Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225174905.178671Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225174918.725184Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225174927.883674Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175157.332360Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175334.154298Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175339.947561Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175348.026487Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175356.478960Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175403.408232Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175410.321133Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175421.152806Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175425.678290Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175434.170357Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175441.740593Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175448.827690Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175555.025407Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: log csn 20120225175555.028843Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: Entry dc=1.1.0.2.8.4.6.0.1.0.0.2.ip6.arpa,ou=dns1,dc=noa,dc=gr CSN 20120217132800.021716Z#000000#000#000000 older or equal to ctx 20120217132800.021716Z#000000#000#000000 Feb 25 20:02:55 ldap slapd[2296]: syncprov_search_response: cookie=rid=333,csn=20120225175555.028843Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: slap_queue_csn: queing 0x42ad2400 20120225180415.859416Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x1a07bf70 20120225180415.859416Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: syncprov_sendresp: cookie=rid=333,csn=20120225180415.859416Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: slap_queue_csn: queing 0x432d3400 20120225180415.876718Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: syncprov_sendresp: cookie=rid=333,csn=20120225180415.876718Z#000000#000#000000 Feb 25 20:04:15 ldap slapd[2296]: slap_graduate_commit_csn: removing 0x1a089990 20120225180415.876718Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: srs csn 20120217132800.021716Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225174730.829877Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225174905.178671Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225174918.725184Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225174927.883674Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175157.332360Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175334.154298Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175339.947561Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175348.026487Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175356.478960Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175403.408232Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175410.321133Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175421.152806Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175425.678290Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175434.170357Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175441.740593Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175448.827690Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175555.025407Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225175555.028843Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225180415.859416Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: log csn 20120225180415.876718Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: Entry dc=1.1.0.2.8.4.6.0.1.0.0.2.ip6.arpa,ou=dns1,dc=noa,dc=gr CSN 20120217132800.021716Z#000000#000#000000 older or equal to ctx 20120217132800.021716Z#000000#000#000000 Feb 25 20:18:03 ldap slapd[2296]: syncprov_search_response: cookie=rid=222,csn=20120225180415.876718Z#000000#000#000000
Regards, Nick