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

another 2.3.21 sync repl. crash

openldap 2.3.21 bdb

I'm replicating a DB with suffix="" - it's the only db I have.  When I attempt to create a top-level entry in the db (dc=org, for instance) the PRODUCER crashes.  If I remove the overlay from the config and restart, it works fine (unless I re-enable the overlay).

Here's the stack trace:

#0  0x0813de36 in __lock_put_nolock ()
#1  0x0813df3c in __lock_put ()
#2  0x0813dfc6 in __lock_put_pp ()
#3  0x080b1c69 in bdb_referrals (op=0x86e1b30, rs=0xb75b2230) at referral.c:102
#4  0x080a7801 in overlay_op_walk (op=0x86e1b30, rs=0xb75b2230, which=op_aux_chk_referrals, oi=0x86220b0, on=0x86221a0)
    at backover.c:499
#5  0x080a78ea in over_op_func (op=0x86e1b30, rs=0xb75b2230, which=op_aux_chk_referrals) at backover.c:551
#6  0x08068d23 in backend_check_referrals (op=0x86e1b30, rs=0xb75b2230) at backend.c:1181
#7  0x0806367c in fe_op_add (op=0x86e1b30, rs=0xb75b2230) at add.c:266
#8  0x08063e89 in do_add (op=0x86e1b30, rs=0xb75b2230) at add.c:182
#9  0x0805e939 in connection_operation (ctx=0xb75b22b0, arg_v=0x86e1b30) at connection.c:1307
#10 0x08110177 in ldap_int_thread_pool_wrapper (xpool=0x85ffff0) at tpool.c:479
#11 0x003f8371 in start_thread (arg=0xb75b2bb0) at pthread_create.c:261
#12 0x002729be in clone () from /lib/tls/libc.so.6

Common config:
database        bdb
suffix          ""
rootdn          "uid=zimbra,cn=admins,cn=zimbra"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw {SSHA}MD4mn7Yw5CIJzwKlabgzzUvtId8cDhNB
# number of entries to keep in memory
cachesize 10000
# check point whenever 64k data bytes written or 
# 5 minutes has elapsed whichever occurs first
checkpoint 64 5
loglevel 16385
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       "/opt/zimbra/openldap-data"
# Indices to maintain
index   objectClass            eq
index   zimbraForeignPrincipal eq
index   zimbraId               eq
index   zimbraMailCatchAllAddress eq,sub
index   zimbraMailDeliveryAddress eq,sub
index   zimbraMailAlias        eq,sub
index   zimbraDomainName       eq,sub
index   uid                    pres,eq
# white pages
index   mail                   pres,eq,sub
index   cn                     pres,eq,sub
index   displayName            pres,eq,sub
index   sn                     pres,eq,sub
index   gn                     pres,eq,sub
# calendar resources
index   zimbraCalResSite       eq,sub
index   zimbraCalResBuilding   eq,sub
index   zimbraCalResFloor      eq,sub
index   zimbraCalResRoom       eq,sub
index   zimbraCalResCapacity   eq
# recommended for replication
index   entryUUID              eq
index   entryCSN               eq
sizelimit unlimited
timelimit unlimited

Consumer config:

syncrepl rid=100
        retry="60 +"
updateref  ldap://support6.liquidsys.com:389

Producer config:

overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 500