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

back_bdb: init_module() failed - Bad address



I'm trying out OpenLDAP 2.2.11, but it don't seem to
be working at all....

Anyone have an idea what I've been doing wrong? It doesn't
matter what module I'm using...

----- s n i p -----
[majorskan.root]# strace -f -s 255 -o /tmp/z slapadd -l /tmp/ldif.QJ53Fd -d 16383
[...]
line 21 (schemacheck     on)
line 25 (pidfile         /var/run/slapd/slapd.pid)
line 28 (argsfile        /var/run/slapd.args)
line 31 (loglevel        0)
line 34 (modulepath /usr/lib/ldap)
line 35 (moduleload back_bdb)
loaded module back_bdb
umovestr: Input/output error
module back_bdb: init_module() failed
/etc/ldap/slapd.conf: line 35: failed to load or initialize module back_bdb
----- s n i p -----

----- s n i p -----
[majorskan.root]# tail /tmp/z
15124 mprotect(0x40491000, 50688, PROT_NONE) = 0
15124 old_mmap(0x40491000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 5, 0x1f000) = 0x40491000
15124 old_mmap(0x40492000, 46592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40492000
15124 close(5)                          = 0
15124 write(2, "loaded module back_bdb\n", 23) = 23
15124 init_module(0, 0)                 = -1 EFAULT (Bad address)
15124 write(2, "module back_bdb: init_module() failed\n", 38) = 38
15124 munmap(0x40472000, 177664)        = 0
15124 write(2, "/etc/ldap/slapd.conf: line 35: failed to load or initialize module back_bdb\n", 76) = 76
15124 _exit(1)                          = ?
----- s n i p -----

----- s n i p -----
[majorskan.root]# ll /tmp/ldif.QJ53Fd
-rw-------    1 root     root          308 May 22 08:48 /tmp/ldif.QJ53Fd
----- s n i p -----
[it's just a tree-object initial DB with an admin object including
 leading objects]
-- 
smuggle Panama $400 million in gold bullion strategic
counter-intelligence attack KGB explosion BATF ammunition DES critical
killed Nazi CIA
[See http://www.aclu.org/echelonwatch/index.html for more about this]