kolab_bootstrap on debian.

Markus Fritsche Fritsche.Markus at gmx.net
Fri Apr 29 10:53:23 CEST 2005


Hi!

I installed kolab from sources on a minimal debian system (only 
openssl-dev and libldap-dev installed additionally to the minimal setup 
with ssh).

When I'm starting host106:/tmp/kolabtemp# 
/kolab/etc/kolab/kolab_bootstrap -b the slapd doesn't start:


[...]
------------------
Enter fully qualified hostname of slave kolab server e.g. 
thishost.domain.tld [empty when done]:
prepare LDAP database...
temporarily starting slapd
Waiting for OpenLDAP to start
could not connect ldap server ldap://127.0.0.1:389/ at 
/kolab/etc/kolab/kolab_bootstrap line 415.
------------------

Starting "/kolab/libexec/openldap/slapd -h ldap://127.0.0.1:389/ -f 
/kolab/etc/openldap/slapd.conf" manually, the slapd exits immediately.

So, I took strace to look at it:
------------------
read(9, "onymous auth stop\n\naccess to dn."..., 4096) = 1228
open("/kolab/etc/openldap/slapd.replicas", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0640, st_size=325, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x40019000
read(10, "##  Copyright (c) 2004 Klaraelvd"..., 4096) = 325
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0x40019000, 4096)                = 0
read(9, "", 4096)                       = 0
close(9)                                = 0
munmap(0x40018000, 4096)                = 0
rt_sigaction(SIGUSR1, {0x8057660, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGUSR2, {0x80575f0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x80575f0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x80575f0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x80575f0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTRAP, {0x80575f0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x804adb0, [], SA_RESTORER|SA_RESTART, 
0x4017d6f8}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
fork()                                  = 19470
--- SIGCHLD (Child exited) @ 0 (0) ---
waitpid(-1, NULL, WNOHANG)              = 19470
waitpid(-1, NULL, WNOHANG)              = -1 ECHILD (No child processes)
sigreturn()                             = ? (mask now [WINCH RTMIN])
exit_group(0)                           = ?
------------------

So, slapd and its child seem to die - why?

Regards, Markus

-- 
http://reauktion.de/archer/




More information about the users mailing list