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

slapd 2.1.8 doesn't start



Hello,

I have some strange problems with slapd 2.1.8.
(Berkeley DB 4.1.24)

strace -ff -o slapd.log /usr/sbin/slapd -d 2048
daemon: socket() failed errno=97 (Address family not supported by
protocol)
bdb_open: Sleepycat Software: Berkeley DB 4.1.24: (September 13,
2002)
bdb_db_init: Initializing BDB database
bdb(o=test,c=de): write: 0xbfffdb2c, 8192: Invalid argument
bdb_db_open: dbenv_open failed: Invalid argument (22)
backend_startup: bi_db_open(0) failed! (22)
bdb(o=test,c=de): txn_checkpoint interface requires an environment
configured for the transaction subsystem
bdb_db_destroy: txn_checkpoint failed: Invalid argument (22)
slapd stopped.

strace.log:
...
getrlimit(0x7, 0xbffffcd4)              = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
stat64("/var/lib/ldap/DB_CONFIG", 0xbffffa6c) = -1 ENOENT (No such
file or directory)
open("/var/lib/ldap/DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096,
...}) = 0
stat64("/var/lib/ldap/__db.001", 0xbffffadc) = -1 ENOENT (No such
file or directory)
open("/var/lib/ldap/__db.001",
O_RDWR|O_CREAT|O_EXCL|O_DIRECT|O_LARGEFILE, 0600) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0
open("/var/lib/ldap/__db.001", O_RDWR|O_CREAT|O_DIRECT|O_LARGEFILE,
0600) = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
_llseek(8, 0, [0], SEEK_END)            = 0
_llseek(8, 0, [0], SEEK_CUR)            = 0
write(8,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) =
-1 EINVAL (Invalid arg
ument)
write(2, "bdb(o=test,c=de): write: 0xbfffd"..., 60) = 60
close(8)                                = 0
close(7)                                = 0
write(2, "bdb_db_open: dbenv_open failed: "..., 54) = 54
write(2, "backend_startup: bi_db_open(0) f"..., 44) = 44
write(2, "bdb(o=test,c=de): txn_checkpoint"..., 108) = 108
write(2, "bdb_db_destroy: txn_checkpoint f"..., 61) = 61
...


The same binaries work on two other Debian systems
(stable/unstable), but not on this maschine (Debian/stable).

I have no idea why this happen.

Have anyone an idea?

thanks in advance
  Waldemar

-- 
8485 D0CE 2743 656E 867C  5C93 0317 AFD8 BE21 BD90