Hi all!
I have upgraded Dovecot 0.99.11 installation that's worked with LDAP to
Dovecot 1.0-test52 and I can't get LDAP to work. I noticed the
/etc/dovecot.conf is slightly different, so I have adjusted changes. If I
use the standard auth (passw & pam) everything works fine, however when I
user ldap for auth Dovecot starts but then dies:
dovecot: Nov 26 14:14:36 Error: Auth process died too early - shutting
down dovecot: Nov 26 14:14:36 Error: child 16454 (auth) killed with signal
11
As far as I can tell the /etc/dovecot-ldap.conf hasn't changed since
0.99.11 and the LDAP server is working properly. What is happening here?
I did a 'strace -f dovecot 2>log' because I saw this in the mailing list
archive, but it doesn't really tell me anything, so I have someone can
tell me what is happening here. I have included the tail below.
Thank you in advance!
Jonathan
[pid 16545] rt_sigaction(SIGTERM, {0x8056330, [TERM], SA_RESTART},
[pid 16546] <... sendmsg resumed> ) = -1 EPIPE (Broken pipe)
[pid 16545] <... rt_sigaction resumed> {SIG_DFL}, 8) = 0
[pid 16546] --- SIGPIPE (Broken pipe) @ 0 (0) ---
[pid 16545] rt_sigaction(SIGPIPE, {SIG_IGN},
[pid 16546] write(2, "\1Ffd_send(-1) failed: Broken pip"..., 34
[pid 16545] <... rt_sigaction resumed> {SIG_IGN}, 8) = 0
[pid 16546] <... write resumed> ) = -1 EPIPE (Broken pipe)
[pid 16545] rt_sigaction(SIGALRM, {SIG_IGN},
[pid 16546] --- SIGPIPE (Broken pipe) @ 0 (0) ---
[pid 16545] <... rt_sigaction resumed> {SIG_IGN}, 8) = 0
[pid 16546] exit_group(82) = ?
Process 16546 detached
[pid 16545] open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
[pid 16545] fstat64(6, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
[pid 16545] fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
[pid 16545] getdents64(6, /* 2 entries */, 4096) = 48
[pid 16545] getdents64(6, /* 0 entries */, 4096) = 0
[pid 16545] close(6) = 0
[pid 16545] getsockname(0, {sa_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
[pid 16545] getsockname(1,
[pid 16547] <... select resumed> ) = 1 (in [5])
[pid 16545] <... getsockname resumed> 0xfef3d050, [28]) = -1 ENOTSOCK
(Socket operation on non-socket)
[pid 16547] read(5,
[pid 16545] sendmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\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"...,
56}], msg_controllen=0, msg_flags=0}, 0
[pid 16547] <... read resumed> "0\f\2\1\2e\7\n", 8) = 8
[pid 16545] <... sendmsg resumed> ) = -1 EPIPE (Broken pipe)
[pid 16547] read(5,
[pid 16545] --- SIGPIPE (Broken pipe) @ 0 (0) ---
[pid 16547] <... read resumed> "\1\0\4\0\4\0", 6) = 6
[pid 16545] write(2, "\1Ffd_send(-1) failed: Broken pip"..., 34
[pid 16547] time(
[pid 16545] <... write resumed> ) = -1 EPIPE (Broken pipe)
[pid 16547] <... time resumed> NULL) = 1101483703
[pid 16545] --- SIGPIPE (Broken pipe) @ 0 (0) ---
[pid 16547] time(
[pid 16545] exit_group(82) = ?
Process 16545 detached
<... time resumed> [1101483703]) = 1101483703
geteuid32() = 0
geteuid32() = 0
time(NULL) = 1101483703
write(5, "0s\2\1\3cn\4\35ou=Groups,dc=2male"..., 117) = 117
time([1101483703]) = 1101483703
select(1024, [5], [], NULL, NULL) = 1 (in [5])
read(5, "0\f\2\1\3e\7\n", 8) = 8
read(5, "\1\0\4\0\4\0", 6) = 6
time(NULL) = 1101483703
geteuid32() = 0
setgroups32(1, [97]) = 0
open("/etc/localtime", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0xf6f0f000
read(6, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0"..., 4096)
= 1074
close(6) = 0
munmap(0xf6f0f000, 4096) = 0
chroot("/var/run/dovecot/login") = 0
chdir("/") = 0
setuid32(97) = 0
setuid32(0) = -1 EPERM (Operation not permitted)
getgid32() = 97
getegid32() = 97
setgid32(0) = -1 EPERM (Operation not permitted)
setrlimit(RLIMIT_NPROC, {rlim_cur=1, rlim_max=1}) = 0
gettimeofday({1101483703, 638988}, {4294967236, 0}) = 0
rt_sigaction(SIGHUP, {0x8056320, [], 0}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x8056330, [INT], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x8056330, [TERM], SA_RESTART}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0
rt_sigaction(SIGALRM, {SIG_IGN}, {SIG_IGN}, 8) = 0
open(".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 6
fstat64(6, {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
getdents64(6, /* 2 entries */, 4096) = 48
getdents64(6, /* 0 entries */, 4096) = 0
close(6) = 0
getsockname(0, {sa_family=AF_INET, sin_port=htons(143),
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
getsockname(1, 0xfef8b470, [28]) = -1 ENOTSOCK (Socket operation on
non-socket)
sendmsg(3, {msg_name(0)=NULL,
msg_iov(1)=[{"\1\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"...,
56}], msg_controllen=0, msg_flags=0}, 0) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
write(2, "\1Ffd_send(-1) failed: Broken pip"..., 34) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
exit_group(82) = ?
Process 16547 detached