[Dovecot] New user Q: dovecot-0.99-13 / UnixWare 7.1.0
Trying to get dovecot up and running.
I managed to get everything compiled and linked correctly, but there seems to be some problem with either the auth process or communication between the main process and the auth process.
When I try to login, I get:
- OK dovecot ready. 1 login n9yty testing
- OK Waiting for authentication process to respond..
And I keep getting the same message over and over until eventually it dies if I let it sit:
- BYE Disconnected for inactivity.
In the log, all I see is:
dovecot: Feb 05 02:24:46 Info: Dovecot starting up imap-login: Feb 05 02:32:46 Info: Disconnected: Inactivity [127.0.0.1]
I have this in my config, but yet that is all the logging I see:
auth_userdb = passwd auth_passdb = shadow auth_verbose = yes auth_debug = yes
I then tried to do ./configure with --enable-debug, but if I do that I get this in the log when trying to run dovecot:
dovecot: Feb 05 02:08:01 Info: Dovecot starting up dovecot: Feb 05 02:08:03 Error: Auth process died too early - shutting down dovecot: Feb 05 02:08:03 Error: child 8441 (login) killed with signal 6 dovecot: Feb 05 02:08:03 Error: child 8440 (auth) killed with signal 6
(sometimes the (login) line is not send, but always (auth))
Any thoughts on where to next start tracking this down? I tried to use test62, but get this (haven't dug much further into this one since I'd like a stable release for this application):
main.c: In function listen_protocols': main.c:284: error: structure has no member named
_listen'
main.c: At top level:
On Feb 4, 2005, at 8:45 PM, Steven Palm wrote:
I tried to use test62, but get this (haven't dug much further into this one since I'd like a stable release for this application):
main.c: In function
listen_protocols': main.c:284: error: structure has no member named
_listen' main.c: At top level:
There's a #define listen _listen in sys/socket.h, if I #undef that in main.c the compile finishes.
However, UnixWare has no /dev/*random device, and openssl's random functions aren't working well here at least, complaining about PRNG not being seeded, etc... I tried to get EGD running, but that didn't work so well either. Ugh! Just as a test, I changed randgen.c so that random_fill called random_weak_fill() (thinking that I only will use shadow passwords here, no SSL/etc, so I didn't need much crypto random stff) and the PRNG errors went away, but...
dovecot: Feb 05 05:06:00 Info: Dovecot v1.0-test62 starting up dovecot: Feb 05 05:06:01 Error: imap-login: Panic: Leaked socket fd 4: :0 -> :0 dovecot: Feb 05 05:06:01 Error: imap-login: Panic: Leaked socket fd 4: :0 -> :0 dovecot: Feb 05 05:06:01 Error: imap-login: Panic: Leaked socket fd 4: :0 -> :0 dovecot: Feb 05 05:06:01 Error: Login process died too early - shutting down dovecot: Feb 05 05:06:01 Error: child 5128 (login) killed with signal 6
Anyway, I'm just beginning to think that Dovecot isn't going to run on UnixWare 7.1.0 without some rework. I've already tried UW and Cyrus, neither compile clean here either. <sigh>
On Fri, 2005-02-04 at 23:22 -0600, Steven Palm wrote:
dovecot: Feb 05 05:06:00 Info: Dovecot v1.0-test62 starting up dovecot: Feb 05 05:06:01 Error: imap-login: Panic: Leaked socket fd 4: :0 -> :0
This is only checked if you configured with --enable-debug. Don't do that, and Dovecot doesn't check the leaks. I don't know why the fd 4 is leaked though. Maybe it's already opened when starting dovecot binary?
participants (2)
-
Steven Palm
-
Timo Sirainen