I have previously configured dovecot with ldap auth on a fedora setup with no problems. Now, using RHEL 3 with the same config I get: dovecot: Jun 30 17:46:07 Error: Auth process died too early - shutting down dovecot: Jun 30 17:46:07 Error: child 16780 (auth) killed with signal 11 pop3-login: Jun 30 17:46:07 Fatal: fd_send(-1) failed: Broken pipe imap-login: Jun 30 17:46:07 Fatal: fd_send(-1) failed: Broken pipe This doesn't happen when using other kinds of authentication, eg pam The ldap directory is working fine for other apps so I'm pretty sure that's not it. I'm using the rpm from dag's repository and even re-compiled to ensure ldap support is there. Any clues? -- Karl Latiss <karl at designit.com.au> designIT
On 30.6.2004, at 10:50, Karl Latiss wrote:> dovecot: Jun 30 17:46:07 Error: Auth process died too early - shutting > down > dovecot: Jun 30 17:46:07 Error: child 16780 (auth) killed with signal > 11Start Dovecot with strace -f dovecot 2>log and see what it does before it crashes. One somewhat common problem is that dovecot-auth is linked against some library which isn't in default library path (although I'm not sure if it segfaulted then). -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20040630/65bfcace/attachment-0001.bin>
That didn't seem to help either. In the end I re-compiled the Fedora Core 2 release from SRC RPM and that seems to be working. I'm not sure what the difference is. On Wed, 2004-07-07 at 18:42, Timo Sirainen wrote:> On Mon, 2004-07-05 at 12:17, Karl Latiss wrote: > > [pid 24674] close(8 <unfinished ...> > > [pid 24674] <... close resumed> ) = 0 > > [pid 24674] --- SIGSEGV (Segmentation fault) @ 0 (0) --- > > Process 24674 detached > .. > > Hmm. Doesn't really help. Getting gdb backtrace would show where it > crashes, but I'm not sure if there's any easy way to do it. > > One would be to put sleep(10); to beginning of src/auth/main.c, then > start dovecot and "gdb /usr/local/libexec/dovecot/dovecot-auth pid" > where pid being the running dovecot-auth's process id. then "c" to > continue, wait for crash and "bt" to get backtrace.