[Dovecot] dovecot crash

Timo Sirainen tss at iki.fi
Fri Jan 30 00:27:28 EET 2004


On Sat, 2004-01-24 at 14:58, Simon Bell wrote:
> I woke up this morning and my dovecot server had died with the following in
> the dovecot.log file:
> 
> pop3-login: Jan 23 10:23:08 Fatal: RAND_bytes() failed:
> error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded
> 
> dovecot: Jan 23 10:23:08 Error: Login process died too early - shutting down
> dovecot: Jan 23 10:23:08 Error: child 16321 (login) returned error 89
> 
> How can I find out whats going wrong?

OpenSSL weirdness. By default OpenSSL is using /dev/urandom to fetch the
random data, as long as urandom exists. Otherwise it'll try something
else.. But looks like some Linux distros are nowadays doing something
weird and don't have RAND_bytes() working that way, probably trying to
use /dev/random and failing if there's not enough randomness.

Does anyone else have some more information about this? I'm not sure
what to do about this.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040130/6c3a427a/attachment-0001.bin>


More information about the dovecot mailing list