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

Re: Frustrated: "Unrecognized database type (bdb)"



Obviously, both the ldd and the slapd output show that bdb isn't linked in
to your copy of slapd. I'd rerun autoconf, maybe put an explicit
--enable-bdb=yes (although that's default so...yeah. make it explicit
anyway), and look carefully for bdb-related autoconf output to
screen/config.log/etc.

Note that most OpenLDAP users wouldn't recommend BDB 4.3, but that's
neither here nor there...

On Thu, 8 Jun 2006, Atom Powers wrote:

>
> What am I missing? I've reinstalled this thing, even the server, twice
> and I can't tell why it isn't recognizing the database type. Am I
> missing a library? Am I using the wrong version of something?
>
> openldap-server-2.3.24
> FreeBSD 6.1-RELEASE
> db43-4.3.29
>
> # /usr/local/etc/rc.d/slapd start
> Starting slapd.
> Unrecognized database type (bdb)
>
> # cat /var/log/slapd.log
> Jun  8 15:12:12 host slapd[8264]: line 69 (database    bdb)
> Jun  8 15:12:12 host slapd[8264]: /usr/local/etc/openldap/slapd.conf:
> line 69: <database> failed init (bdb)!
> Jun  8 15:12:12 host slapd[8264]: slapd stopped.
>
> # ldd /usr/local/libexec/slapd
> /usr/local/libexec/slapd:
>          libldap_r-2.3.so.2 => /usr/local/lib/libldap_r-2.3.so.2
> (0x2813e000)
>          liblber-2.3.so.2 => /usr/local/lib/liblber-2.3.so.2 (0x28178000)
>          libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x28183000)
>          libssl.so.4 => /usr/lib/libssl.so.4 (0x28198000)
>          libcrypto.so.4 => /lib/libcrypto.so.4 (0x281c6000)
>          libfetch.so.4 => /usr/lib/libfetch.so.4 (0x282b8000)
>          libcom_err.so.3 => /usr/lib/libcom_err.so.3 (0x282c4000)
>          libcrypt.so.3 => /lib/libcrypt.so.3 (0x282c6000)
>          libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x282de000)
>          libwrap.so.4 => /usr/lib/libwrap.so.4 (0x282e6000)
>          libpthread.so.2 => /usr/lib/libpthread.so.2 (0x282ed000)
>          libc.so.6 => /lib/libc.so.6 (0x28312000)
>
>
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
> Systems Administrator
> DigiPen Institute of Technology
> (425) 895-4443
>