Fwd: Re[2]: [Dovecot] dovecot can't start!
Hello Chris,
Tuesday, May 23, 2006, 1:13:17 PM, you wrote:
CW> Oleg D. wrote:
Hello HenkJan,
Tuesday, May 23, 2006, 11:30:37 AM, you wrote:
do you have "disable_plaintext_auth = no" in dovecot.conf?
Yes.
"auth_verbose = yes" and "auth_debug = yes" in dovecot.conf for more logging
Yes.
what happens if you telnet to your dovecotserver?
I have already tried it many times.
And I don't see any prompt.
In log:
"dovecot: Dovecot v1.0.beta8 starting up
dovecot: Generating Diffie-Hellman parameters for the first time. This may take a while..
dovecot: auth-worker(default): mysql: Connected to /tmp/mysql.sock (mail)"
after telnet:
"dovecot: pop3-login: Waiting for SSL parameter file ssl-parameters.dat"
and nothing else
I found ssl-parameters.dat.tmp in /var/run/dovecot/login
After starting/stopping dovecot several times ssl-parameters.dat is appear in /var/run/dovecot/login
But nothing again
OK. I try all of this to start dovecot anyway.
But I don't want to use SSL!
THE MAIN QUESTION:
Why I see "pop3-login: BUG: SSL initialization parameters not given while they should have been"
even if I have "ssl_disable = yes" in dovecot.conf
1.0b3 works fine.
--
Best regards,
Oleg mailto:dzoleg@rsute.ru
CW> What do you have as your "protocols" line? Make sure there's no "imaps" CW> or "pop3s". Also, make sure you don't have any "ssl_listen" options set.
CW> Also, do you ever get the "SSL parameters regeneration completed" line CW> in your log file (it can take several minutes on a slow machine)? If CW> it's decided (however wrongly) to do the SSL paramters generation, you CW> won't be able to login until it's finished.
CW> Chris
"protocols = pop3" only
"ssl_listen" options set dont't set.
BTW If I have enable SSL and set "protocols = pop3s" only I see "Fatal: Protocol pop3s given more than once"
-- Best regards, Oleg mailto:dzoleg@rsute.ru
Greetings -
--On 23 May 2006 13:45:05 +0400 "Oleg D." <dzoleg@rsute.ru> wrote:
CW> What do you have as your "protocols" line? Make sure there's no "imaps" CW> or "pop3s". Also, make sure you don't have any "ssl_listen" options set.
CW> Also, do you ever get the "SSL parameters regeneration completed" line CW> in your log file (it can take several minutes on a slow machine)? If CW> it's decided (however wrongly) to do the SSL paramters generation, you CW> won't be able to login until it's finished.
CW> Chris
"protocols = pop3" only
"ssl_listen" options set dont't set.
BTW If I have enable SSL and set "protocols = pop3s" only I see "Fatal: Protocol pop3s given more than once"
Hmmm... I was seeing a problem rather like this with 1.0beta8 under Solaris with Sun's compiler: only it was with the IMAP protocol rather than POP.
The problem there was an assumption Tio had made that everyone was using a C99-compatible compiler. Apparently this handles some aspects of variable initialisation differently from earlier C compilers.
In my case adding a command-line option to the C compiler to flip it into C99 mode seemed to solve the problem. The option for our compiler was "-xc99" -- however if your compiler has such an option it may have a different name. If you check the manual page for your C compiler you may find an equivalent option to try.
However another solution was provided by Timo in the form of a simple patch that made changes to a couple of source files. I hope Timo doesn't mind: I'm re-sending his patch as an attachment to this message as it is tiny. You could try applying it and rebuilding Dovecot.
Cheers, Mike Brudenell
-- The Computing Service, University of York, Heslington, York Yo10 5DD, UK Tel:+44-1904-433811 FAX:+44-1904-433740
- Unsolicited commercial e-mail is NOT welcome at this e-mail address. *
participants (2)
-
Mike Brudenell
-
Oleg D.