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

Re: syncrepl failure



On Fri, Sep 28, 2012 at 09:10:52AM +0000, Emmanuel Dreyfus wrote:
> I did try upgrading the master, it fails the same way, with a
> different error message
> Sep 28 11:04:14 motul slapd[5783]: do_syncrepl: rid=217 rc 32 retrying 

I found the problem. I had this in slapd.conf

database        bdb
suffix          "ou=foo,dc=example,dc=net"
(...)
syncrepl rid=317
    searchbase="ou=foo,dc=example,dc=net"
(...)
database        bdb
suffix          "dc=example,dc=net"
(...)
syncrepl rid=217
    searchbase="dc=example,dc=net"
(...)
syncrepl rid=317
    searchbase="ou=foo,dc=example,dc=net"
(...)

Removing the duplicated syncrepl rid=317 fixed the problem.
It would be nice if slapd could refuse to start in such conditions.


-- 
Emmanuel Dreyfus
manu@netbsd.org