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

WARNING: No dynamic config support for database ldbm



I'm trying to build an OpenLDAP (2.3.18) server and to make it run on an "embedded" mipsel/uclibc device running Linux.


After some initial hardships, I was able to build slapd + libs + utils etc. successfully.


However, when I run it (slapd -d 5), I can see a warning:

WARNING: No dynamic config support for database ldbm


I was going to use ldbm, and to make the binaries as small as possible.

I used the following ./configure options:

./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu
--with-yielding_select=no --with-tls=no --with-cyrus-sasl=no --enable-slurpd=no --enable-ipv6=no --enable-overlays=no --enable-bdb=no --enable-ldbm=mod --enable-hdb=no --enable-monitor=no --enable-relay=no --enable-modules



In slapd.conf I have the ldbm module listed (and the files exists there of course):


modulepath      /usr/sbin/openldap/
moduleload      back_ldbm.la


Why does slapd say this "No dynamic config support for database ldbm" warning?


When I try to search anything using ldapsearch, it doesn't produce any results, and moreover slapd says:

=> ldbm_cache_open( "/etc/openldap/db/dn2id.dbb", 73, 600 )
<= ldbm_cache_open NULL "/etc/openldap/db/dn2id.dbb" errno=2 reason="unknown")
<= dn2id could not open dn2id.dbb



Has anyone get an explanation for that?