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

(ITS#4003) error when running slapcat



Full_Name: Kevin Spicer
Version: 2.3.7
OS: Gentoo, kernel 2.6.9
URL: 
Submission from: (NULL) (213.152.53.60)


I came across the following issue when doing some testing with 2.3.7 and
replication using slurpd.  Slapcat exits with the following error...

slapcat: backend.c:480: backend_destroy: Assertion `bd->be_replogfile == ((void
*)0)' failed.
Aborted

Commenting out the replogfile directive in the slapd.conf removes the error
message and slapcat runs normally.

Steps to reproduce...
1) Create config file containing replogfile directive (mine is shown below)
2) Start slapd and add some data 
3) Stop slapd
4) Run slapcat

My openldap is configured as follows...
./configure --prefix=/opt/openldap-2.3.7 --enable-bdb --enable-lbdm
--enable-crypt --with-threads --with-tls --without-kerberos --enable-wrappers
--enable-modules --enable-ppolicy=mod

My slapd.conf follows...
include         /opt/openldap-2.3.7/etc/openldap/schema/core.schema
include         /opt/openldap-2.3.7/etc/openldap/schema/cosine.schema
include         /opt/openldap-2.3.7/etc/openldap/schema/nis.schema
include         /opt/openldap-2.3.7/etc/openldap/schema/ppolicy.schema
pidfile         /opt/openldap-2.3.7/test/var/run/slapd-master.pid
argsfile        /opt/openldap-2.3.7/test/var/run/slapd-master.args
replica-pidfile         /opt/openldap-2.3.7/test/var/run/slurpd-master.pid
replica-argsfile        /opt/openldap-2.3.7/test/var/run/slurpd-master.args
security ssf=0 update_ssf=0 simple_bind=0
loglevel 256
replicationinterval 5
replogfile /opt/openldap-2.3.7/test/var/replogfile
modulepath      /opt/openldap-2.3.7/libexec/openldap
moduleload      ppolicy.la
access to * by * write
database        bdb
suffix          "dc=example,dc=com"
rootdn          "cn=Manager,dc=example,dc=com"
rootpw          secret
directory       /opt/openldap-2.3.7/test/var/db_master
overlay         ppolicy
replica
                uri=ldap://localhost:2001
                bindmethod=simple
                binddn=cn=replica,dc=example,dc=com
                credentials=secret
index   objectClass     eq