Sebastiaan de Vogel
2005-Jun-13 17:22 UTC
[Dovecot] Question regarding dovecot 0.99.14 & 1.0 stable
Hi all, For several day's now I've been attempting to get Dovecot working, but without much success so far. I've compiled both 0.99.14 and the latest 1.0 stable version with mysql support, which seems to be working for the 0.99.14. Unfortunately version 1.0 stable wont start and quits with this: dovecot: Jun 13 16:44:47 Error: child 27346 (auth) killed with signal 11 dovecot: Jun 13 16:44:48 Error: Auth process died too early - shutting down Version 0.99.14 starts though! I've not included my dovecot.conf and dovecot-mysql conf here because of their size, if you need them please ask me by email. This version seems to work, I can see the databse getting queried, and can get authenticated. After authentication it just says this: dovecot-auth: Jun 13 19:16:49 Info: MySQL: Performing query: SELECT clear FROM users,domains WHERE users.username = 'sebastiaan@**.**' AND users.enabled = '1' AND users.type='local' and domains.enabled='1' and domains.domain_id = users.domain_id; dovecot-auth: Jun 13 19:16:49 Info: MySQL: Performing query: SELECT maildir||'/sebastiaan' as home, uid, gid FROM domains WHERE domain '**.**'; pop3-login: Jun 13 19:16:49 Info: Internal login failure: sebastiaan@**.** [**.**.215.237] dovecot-auth: Jun 13 19:16:49 Info: MySQL: connected to localhost dovecot-auth: Jun 13 19:16:49 Info: Login process 8 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 8 sent handshake: PID 15133 dovecot-auth: Jun 13 19:16:49 Info: Login process 9 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 9 sent handshake: PID 15149 dovecot-auth: Jun 13 19:16:49 Info: Login process 10 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 10 sent handshake: PID 15124 dovecot-auth: Jun 13 19:16:49 Info: Login process 11 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 11 sent handshake: PID 15126 dovecot-auth: Jun 13 19:16:49 Info: Login process 12 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 12 sent handshake: PID 15127 dovecot-auth: Jun 13 19:16:49 Info: Login process 13 connected dovecot-auth: Jun 13 19:16:49 Info: Login process 13 sent handshake: PID 15129 The client gets disconnected and just says this: +OK dovecot ready. user sebastiaan@**.** +OK pass blabla +OK Logged in. BYE Internal login failure. Error report written to server log. Does anyone have any suggestions to get Dovecot to work please? Thanks in advance Sebastiaan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://dovecot.org/pipermail/dovecot/attachments/20050613/c893d9ee/attachment-0001.html>
Timo Sirainen
2005-Jun-14 10:18 UTC
[Dovecot] Question regarding dovecot 0.99.14 & 1.0 stable
On Mon, 2005-06-13 at 19:22 +0200, Sebastiaan de Vogel wrote:> For several day?s now I?ve been attempting to get Dovecot working, but > without much success so far. I?ve compiled both 0.99.14 and the latest > 1.0 stable version with mysql support, which seems to be working for > the 0.99.14. Unfortunately version 1.0 stable wont start and quits > with this: > > dovecot: Jun 13 16:44:47 Error: child 27346 (auth) killed with signal > 11I think this was because of some missing or wrong setting that I fixed in 1.0-test but not in 1.0-stable.. Could you get gdb backtrace of this crash so I can finally fix it? :) The core file should have been written to /usr/local/var/run/dovecot/core (or wherever your Dovecot's base_dir is). So: gdb /usr/local/libexec/dovecot/dovecot-auth /usr/local/var/run/dovecot/core bt> BYE Internal login failure. Error report written to server log.Your logs didn't show the error though, that's a bit strange. Usually it's anyway about the given uid or gid being too low (first_valid_uid, first_valid_gid settings). Those errors should have been written to the log though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050614/d1c23d30/attachment-0001.bin>