I'm puzzled... I'm running the Debian package of Dovecot 0.99.10.4 on a Debian (testing) server, and it's basically doing nothing on startup for an extended period. After a while (maybe 10 minutes or more) it all suddenly starts working, all without logging anything untoward. All the dovecot processes appear to start OK, and 'Dovecot starting up' is logged to the syslog. If you telnet to an IMAP or POP3 port at this point, it will successfully connect but there's no response (i.e. no '* OK dovecot ready'). Nothing else on this server is failing in this way; e.g. Apache and PostgreSQL are running fine throughout this period. Has anyone else seen anything like this? Cheers, Julian.
On Tue, 2 Mar 2004, Julian Melville wrote:> I'm puzzled... I'm running the Debian package of Dovecot 0.99.10.4 on a > Debian (testing) server, and it's basically doing nothing on startup for > an extended period. After a while (maybe 10 minutes or more) it all > suddenly starts working, all without logging anything untoward. > > All the dovecot processes appear to start OK, and 'Dovecot starting up' > is logged to the syslog. If you telnet to an IMAP or POP3 port at this > point, it will successfully connect but there's no response (i.e. no '* > OK dovecot ready'). >How are your mailboxes arranged? -- Jaldhar H. Vyas <jaldhar at debian.org> La Salle Debain - http://www.braincells.com/debian/
> Can you do an strace of a running dovecot process so we can > get a better idea? (You ought to cc the list as well.)Sorry for the slow reply, it's taken me a few days to get back to this and observe the problem again. I've placed a tarball of the output of "strace -ff -o dovecot dovecot" here: http://rimu.tiddly-pom.com/dovecot-strace.tar.gz To my (admittedly untrained) eye, it's looking for and not finding /etc/ld.so.nohwcap, and then repeatedly not finding /var/run/dovecot/ssl-parameters.dat. At that point there is a /var/run/dovecot/ssl-parameters.dat.tmp - is that where the SSL stuff is being generated? Is it just that Dovecot is stalled until the ssl-parameters.dat file appears? Thanks, Julian.