[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: delta syncrepl error: "text=sync cookie is stale"
--On Wednesday, May 03, 2006 4:37 PM -0700 Ben Poliakoff <benp@reed.edu>
wrote:
I haven't found a lot of discussion about troubleshooting delta syncrepl
configurations. Where do I start? What causes a cookie to get "stale"?
Well, the first thing I would do is get the necessary patches to 2.3.21 for
delta-syncrepl to work correctly (There are problems with the access log
overlay, and with the fine-grainedndess of indexing reqStart). You can
find them at:
<http://www.stanford.edu/services/directory/openldap/configuration/openldap-build.html>
However, I think the problem you are reporting will not be fixed by these
particular patches. They certainly will, however, make delta-syncrepl
function like it is supposed to for other cases.
I've not tested having delta-syncrepl pull down an entire DB and then run.
Some things to check are:
contextCSN of the master (ldapsearch -b "your base" -s base +)
for example:
ldapsearch -h ldap-master -b "dc=stanford,dc=edu" -s base +
dn: dc=stanford,dc=edu
contextCSN: 20060504012050Z#000000#00#000000
contextCSN of accesslog:
ldapsearch -h ldap-master -b "cn=accesslog" -s base +
dn: cn=accesslog
contextCSN: 20060504012050Z#000000#00#000000
contextCSN of the replica:
ldapsearch -h ldap -b "dc=stanford,dc=edu" -s base +
dn: dc=stanford,dc=edu
contextCSN: 20060504012050Z#000000#00#000000
They should all be the same (as you see here).
Regards,
Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html