[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5618) better error messages for syncrepl failure



henson@acm.org wrote:

> I recently installed some updates and configuration changes on one of my
> LDAP slaves. Replication broke mysteriously after that. The only thing logged
> was "slapd[30723]: do_syncrepl: rid 001 retrying (9 retries left)"

What log level?

p.

> I finally figured out that the search was failing with a protocol error because
> derefAliases was set to always, a setting I had just added. It would be useful
> if replication failure provided better error messages, something in the logs
> indicating that a protocol error had occurred because of an invalid
> dereferencing setting would have saved me a lot of time.
> 
> In addition, if it is a protocol error to dereference aliases in the context of
> syncrepl, shouldn't the server just ignore that global configuration setting and
> just do the right thing?



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------