[Date Prev][Date Next]
Re: Frustrated: "Unrecognized database type (bdb)"
At 03:45 PM 6/8/2006, Aaron Richton wrote:
>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
>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?
>> FreeBSD 6.1-RELEASE
>> # /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: line 69 (database bdb)
>> Jun 8 15:12:12 host slapd: /usr/local/etc/openldap/slapd.conf:
>> line 69: <database> failed init (bdb)!
>> Jun 8 15:12:12 host slapd: slapd stopped.
>> # ldd /usr/local/libexec/slapd
>> libldap_r-2.3.so.2 => /usr/local/lib/libldap_r-2.3.so.2
>> 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