[Dovecot] Re: 1.0 RC1 status
If you think there's still something I should have replied to, please re-send it because I've either missed it or just skipped it for some reason.(Except there are still a couple of mails from this week I've yet to reply to.)
Timo look at this message - http://www.dovecot.org/list/dovecot/2006-June/013958.html.
I compiled dovecot-latest (dovecot-20060618.tar.gz , configured --with-ioloop=poll), but same problem:
Jun 19 07:43:25 srv1 dovecot: Dovecot v1.0.beta9 starting up Jun 19 07:43:26 srv1 dovecot: auth(default): pgsql: Connected to hosting Jun 19 07:44:09 srv1 dovecot: pop3-login: Login: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 19 07:44:09 srv1 dovecot: POP3(ramas): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jun 19 19:18:21 srv1 dovecot: auth(default): sql(ramas,192.168.0.3): Password query failed: Jun 19 19:18:21 srv1 dovecot: auth(default): invalid I/O fd 8, callback 0x8065170 Jun 19 19:19:21 srv1 dovecot: pop3-login: Disconnected: Inactivity: method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS
gdb /usr/libexec/dovecot/dovecot-auth 30056 GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
0xffffe410 in __kernel_vsyscall ()
(gdb) x 0x8065170 0x8065170 <get_result>: 0x83e58955
(gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7debe3e in __lll_mutex_lock_wait () from /lib/libc.so.6 #2 0xb7d6b94c in _L_lock_100 () from /lib/libc.so.6 #3 0xb7d6b8ea in fflush () from /lib/libc.so.6 #4 0xb7e5a973 in pqFlush () from /usr/lib/libpq.so.3 #5 0xb7e57cb0 in PQconsumeInput () from /usr/lib/libpq.so.3 #6 0x0806518c in get_result () #7 0x0806abe8 in io_loop_handler_run () #8 0x0806a28c in io_loop_run () #9 0x08058da5 in main ()
Also tryed compile with epoll, got this error:
Jun 19 06:55:23 srv1 dovecot: auth(default): sql(ramas,192.168.0.3): Password query failed: Jun 19 06:55:23 srv1 dovecot: pop3-login: Disconnected: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 19 06:55:26 srv1 dovecot: auth(default): io_loop_handle_add: epoll_ctl(3, 9): No such file or directory Jun 19 06:55:26 srv1 dovecot: pop3-login: Disconnected: method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 19 06:55:26 srv1 dovecot: child 11758 (auth) returned error 89 Jun 19 06:55:27 srv1 dovecot: auth(default): pgsql: Connected to hosting Jun 19 06:55:27 srv1 dovecot: pop3-login: Login: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 19 06:55:27 srv1 dovecot: POP3(ramas): Disconnected: Logged out top=0/0, retr=2/3429, del=2/2, size=3395
Users passwords stored on PostgreSQL (7.4.11) another server. Machine - Linux, kernel 2.6.16.20
Thank you.
Ramunas
On Mon, 2006-06-19 at 20:08 +0300, Ramunas wrote:
If you think there's still something I should have replied to, please re-send it because I've either missed it or just skipped it for some reason.(Except there are still a couple of mails from this week I've yet to reply to.)
Timo look at this message - http://www.dovecot.org/list/dovecot/2006-June/013958.html.
I compiled dovecot-latest (dovecot-20060618.tar.gz , configured --with-ioloop=poll), but same problem:
Jun 19 07:43:25 srv1 dovecot: Dovecot v1.0.beta9 starting up Jun 19 07:43:26 srv1 dovecot: auth(default): pgsql: Connected to hosting Jun 19 07:44:09 srv1 dovecot: pop3-login: Login: user=<ramas>, method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS Jun 19 07:44:09 srv1 dovecot: POP3(ramas): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0 Jun 19 19:18:21 srv1 dovecot: auth(default): sql(ramas,192.168.0.3): Password query failed: Jun 19 19:18:21 srv1 dovecot: auth(default): invalid I/O fd 8, callback 0x8065170 Jun 19 19:19:21 srv1 dovecot: pop3-login: Disconnected: Inactivity: method=PLAIN, rip=192.168.0.3, lip=192.168.0.6, TLS
Could you try if this patch fixes it:
Could you try if this patch fixes it:
Thanks Timo, that fixed problem, no more errors now. On first connect (after few hours), password query failed, but dovecot reconnects to SQL and next query vorks fine. I also founded why this happens. PostgreSQL server are behind Firewall (Cisco PIX) and there are idle connection timeout.
Thanks for patch again :)
Ramunas
participants (2)
-
Ramunas
-
Timo Sirainen