websafe
2005-Apr-19 17:43 UTC
[Dovecot] dovecot-stable-latest.tar.gz - Login process died too early - shutting down
Hello, i've installed dovecot: ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-debug \ --with-storages=maildir && make && make install groupadd dovecot useradd -s /bin/bash -g dovecot dovecot ok, in /etc/dovecot.conf I have: # grep -v "#" /etc/dovecot.conf ###################################################################### protocols = imap ssl_disable = yes default_mail_env = maildir:/home/%u/Maildir protocol imap { login_executable = /usr/local/libexec/dovecot/imap-login mail_executable = /usr/local/libexec/dovecot/imap mail_executable = /usr/local/libexec/dovecot/rawlog /usr/local/libexec/dovecot/imap mail_modules = /usr/local/lib/dovecot/imap } protocol pop3 { } auth_executable = /usr/local/libexec/dovecot/dovecot-auth auth_verbose = yes auth_debug = yes auth default { mechanisms = plain passdb = shadow userdb = passwd user = root } ###################################################################### When I try to run: dovecot i get # tail -f /var/log/maillog: Apr 20 19:02:02 sww dovecot: Dovecot v1.0-stable starting up Apr 20 19:02:03 sww dovecot: Login process died too early - shutting down Apr 20 19:02:03 sww dovecot: imap-login: Panic: Leaked file fd 5: dev 0.6 inode 7 Apr 20 19:02:03 sww dovecot: auth(default): Panic: Leaked file fd 5: dev 0.6 inode 7 Apr 20 19:02:03 sww dovecot: child 21550 (login) killed with signal 6 Apr 20 19:02:03 sww dovecot: child 21549 (login) killed with signal 6 Apr 20 19:02:03 sww dovecot: child 21548 (login) killed with signal 6 Apr 20 19:02:03 sww dovecot: child 21547 (auth) killed with signal 6 I've got dovecot working on two other machines without any problem... Is there a way to fix this? Maybe some libs are missing? -- websafe -- websafe, http://www.partybitchez.org/
Timo Sirainen
2005-Apr-23 15:45 UTC
[Dovecot] dovecot-stable-latest.tar.gz - Login process died too early - shutting down
On 19.4.2005, at 20:43, websafe wrote:> Apr 20 19:02:02 sww dovecot: Dovecot v1.0-stable starting up > Apr 20 19:02:03 sww dovecot: Login process died too early - shutting > down > Apr 20 19:02:03 sww dovecot: imap-login: Panic: Leaked file fd 5: dev > 0.6 inode 7 > Apr 20 19:02:03 sww dovecot: auth(default): Panic: Leaked file fd 5: > dev 0.6 inode 7Login/auth processes see that file descriptor 5 is given to them, even if they don't want it. Two possibilities: 1) Dovecot master process opens a file and leaks it. Unlikely because it doesn't happen with me. 2) The process that starts Dovecot's master process leaks a file descriptor to Dovecot (some do it intentionally, eg. gdb). How do you start Dovecot? From normal shell? In any case, none of this is checked unless you give --enable-debug option to configure, so recompiling without it would at least fix it.. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20050423/3b3b8ff6/attachment-0001.bin>