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

Re: consumer crashing provider

Dick Visser wrote:
(first post)

Hi guys

I am trying to set-up a pair of directory servers. Both of them run
Ubuntu 8.04, which has OpenLDAP-2.4.9.

I started out with one server, configured that to suit my needs (store
UNIX and smb accounts), which works fine. Next thing is to set-up a
second 'slave' server.

After reading the docs, I decided to go for the syncrepl style
replication for our micro tree. Everything seems to work fine. If I
start the consumer it nicely pulls content from the provider.

Retrieving the whole tree with ldapsearch from both servers yields
exactly the same ldif. Great.

However, if I now change something on my main server a.k.a. provider
(f.i. change a password), the next time the consumers contacts the
provider, the provider crashes:

root@ldap:/etc/ldap# slapd -f slapd.conf -g openldap -u openldap  -d 15
*** glibc detected *** slapd: free(): invalid size: 0xb676ef08 ***
======= Backtrace: =========
======= Memory map: ========

A slave server killing a master sort of defeats the whole purpose ;-)

Any ideas how to solve this?

I suggest you download OpenLDAP 2.4.11 and try again; there were a large number of syncprov fixes since 2.4.9.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/