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

RE: Segmentation fault on 2.1.13



Your debug level 32 is really not very informative. A higher debug level may
help identify the problem. The best thing would be to run slapadd under gdb
and get a backtrace from the crash.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Jehan PROCACCIA

>
> I still confirm the segmentation fault !! misunderstanding of
> me or a bug ?
>
> I recompile (without playing with rpm packages ...) from
> scratch the tar
> .gz using this time BDB as share library (not statically link):
>
> $ export CPPFLAGS="-I/usr/local/jehan/db-4.1.25.NC/include"
> $ export LDFLAGS="-L/usr/local/jehan/db-4.1.25.NC/lib"
>
> [jehan@corbeau /usr/local/src/openldap-2.1.13]
> $ ./configure --prefix=/usr/local/jehan/openldap-2.1.13/
> --enable-passwd
> --enable-shell --enable-cleartext --enable-crypt --enable-spasswd
> --enable-modules --enable-lmpasswd --enable-monitor --enable-rewrite
> --enable-ldap --enable-meta --enable-shell --enable-password
> --enable-debug --enable-bdb --enable-ldbm --with-ldbm-api=berkeley
>
> $ export LD_LIBRARY_PATH=/usr/local/jehan/db-4.1.25.NC/lib/
> $ /usr/local/jehan/openldap-2.1.13/sbin/slapadd -f
> /etc/openldap/slapd_meta.conf -l /Ldif/meta.ldif -n 2 -d 32
>   bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25:
> (December 19,
> 2002)
> bdb_db_init: Initializing BDB database
> bdb_db_init: Initializing BDB database
> Segmentation fault