[Dovecot] ioloop=best and imap-login: No authentication sockets found ??
Attempting to use dovecot-1.0.rc16 on centos built with:
env CPPFLAGS=-I/usr/kerberos/include
./configure --prefix=/local/service/dovecot --with-ssl=openssl
--with-ioloop=best
My config has changed from example: protocols = imap ssl_disable = yes (because not pem)
Plus I set to yes all the debug and verbose options.
I couldn't login via IMAP:
Jan 5 19:52:28 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:28 hostabc dovecot: child 14361 (login) returned error 89 Jan 5 19:52:42 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:42 hostabc dovecot: child 14362 (login) returned error 89 Jan 5 19:52:43 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:43 hostabc dovecot: child 14363 (login) returned error 89 Jan 5 19:52:56 hostabc dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=127.0.0.1^Irip=127.0.0.1^Iresp=AGplcmVteXRlc3QAYWJjMTIz Jan 5 19:52:56 hostabc dovecot: auth(default): pam(jeremytest,127.0.0.1): pam_authenticate() failed: Authentication failure Jan 5 19:52:57 hostabc dovecot: auth(default): client out: FAIL^I1^Iuser=jeremytest Jan 5 19:52:57 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:57 hostabc dovecot: child 14366 (login) returned error 89 Jan 5 19:52:58 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:58 hostabc dovecot: child 14367 (login) returned error 89 Jan 5 19:53:02 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:53:02 hostabc dovecot: child 14369 (login) returned error 89 Jan 5 19:53:03 hostabc dovecot: imap-login: Disconnected: user=<jeremytest>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured Jan 5 19:53:12 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:53:12 hostabc dovecot: child 14371 (login) returned error 89
I looked in ./src/lib-auth/auth-client.c and saw this was related to ioloop.
So, I rebuilt and reinstalled without the --with-ioloop=best and it used "poll".
And now I could log in.
On Sat, 2007-01-06 at 00:39 -0600, Jeremy C. Reed wrote:
Attempting to use dovecot-1.0.rc16 on centos built with:
env CPPFLAGS=-I/usr/kerberos/include
./configure --prefix=/local/service/dovecot --with-ssl=openssl
--with-ioloop=best
So I guess best meant epoll with you?
Jan 5 19:52:28 hostabc dovecot: imap-login: No authentication sockets found Jan 5 19:52:28 hostabc dovecot: child 14361 (login) returned error 89 .. I looked in ./src/lib-auth/auth-client.c and saw this was related to ioloop.
Well it's not really related to ioloop. It just means that dovecot-auth didn't create authentication sockets into /var/run/dovecot/login directory. I've no idea why changing epoll to poll would have fixed it. Maybe you did something else while recompiling it that really fixed it? :)
participants (2)
-
Jeremy C. Reed
-
Timo Sirainen