Hi, in near future planing migrate our E-mail server to new hardware. Decided try dovecot as IMAP and POP3 server. Compiled latest dovecot-1.0.beta8 version on Linux Fedora Core 3 machine (2.6 kernel). Users database are on PostgreSQL server. Everything working fine except some issues. After some hour of inactivity (POP3 or IMAP) then connecting to check e-mail got this error: invalid I/O fd 8, callback 0x8064d30. Next connection without service restart working fine again but only when in dovecot.conf exsist this option: login_process_per_connection = yes. When "login_process_per_connection = no" , always got "invalid I/O fd 8, callback 0x8064d30" error. from log file ( in dovecot.conf login_process_per_connection = yes): ... Jun 2 08:34:31 srv1 dovecot: auth(default): sql(ramas,192.168.0.3): Password query failed: Jun 2 08:34:31 srv1 dovecot: auth(default): invalid I/O fd 8, callback 0x8064d30 Jun 2 08:34:31 srv1 dovecot: auth(default): sql(ramas,192.168.0.3): Password query failed: Jun 2 08:34:31 srv1 dovecot: auth(default): file auth-request.c: line 347 (auth_request_verify_plain_callback): assertion failed:(request->state == AUTH_REQUEST_STATE_PASSDB) Jun 2 08:34:31 srv1 dovecot: pop3-login: Disconnected: method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 2 08:34:31 srv1 dovecot: child 12203 (auth) killed with signal 6 Jun 2 08:34:31 srv1 dovecot: auth(default): pgsql: Connected to hosting Jun 2 08:34:34 srv1 dovecot: pop3-login: Login: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 2 08:34:34 srv1 dovecot: POP3(ramas): Disconnected: Logged out top=0/0, retr=2/3502, del=2/2, size=3468 ... also have troubles with maildir quota on POP3 module (IMAP works fine): mail log: ... Jun 1 20:29:40 srv1 dovecot: Dovecot v1.0.beta8 starting up Jun 1 20:29:41 srv1 dovecot: auth(default): pgsql: Connected to hosting Jun 1 20:29:44 srv1 dovecot: POP3(ramas): dlopen(/usr/lib/dovecot/lib01_quota_plugin.so) failed: /usr/lib/dovecot/lib01_quota_plugin.so: undefined symbol: mountpoint_get Jun 1 20:29:44 srv1 dovecot: pop3-login: Login: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 1 20:29:44 srv1 dovecot: child 21465 (pop3) returned error 89 Jun 1 20:43:09 srv1 dovecot: Killed with signal 15 ... For this issue i found solution with manual compilation POP3 module: appended dependence -o ../lib/mountpoint.o Best regards, Ramas Lithuania, Marijampole -------------- next part -------------- An HTML attachment was scrubbed... URL: http://dovecot.org/pipermail/dovecot/attachments/20060602/5cc16d7b/attachment.htm
Timo Sirainen
2006-Jun-11 18:09 UTC
[Dovecot] Strange Error after some hour of inactivity.
On Fri, 2006-06-02 at 10:39 +0300, Ramunas wrote:> After some hour of inactivity (POP3 or IMAP) then connecting to check > e-mail got this error: > invalid I/O fd 8, callback 0x8064d30. > Next connection without service restart working fine again but only > when in dovecot.conf exsist this option: > login_process_per_connection = yes. When "login_process_per_connection > = no" , always got "invalid I/O fd 8, callback 0x8064d30" error.Could you do this and show me the result: gdb /usr/local/libexec/dovecot/imap-login x 0x8064d30 It should print the function name for that address. Did you configure Dovecot with --ioloop=epoll? I think there have been some problems with that, which might be related.> Jun 2 08:34:31 srv1 dovecot: auth(default): file auth-request.c: line > 347 (auth_request_verify_plain_callback): assertion > failed:(request->state == AUTH_REQUEST_STATE_PASSDB) > Jun 2 08:34:31 srv1 dovecot: child 12203 (auth) killed with signal 6This doesn't look nice either. Could you get the gdb backtrace for it? It should have written core file to /var/run/dovecot (or wherever your base_dir is). If not, you probably need to do "ulimit -c unlimited" before starting Dovecot.> For this issue i found solution with manual compilation POP3 module: > appended dependence -o ../lib/mountpoint.oRight. I've done that in CVS too. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20060611/91bbec83/attachment.pgp