2.2cvs, imapd OK, pop3d hangs before sending banner to clients

Ken Murchison ken at oceana.com
Fri Jan 10 17:32:04 EST 2003



Jonathan Marsden wrote:
> 
> Attaching to one 'connected to but hung' pop3d with gdb shows a
> backtrace of:
> 
>     (gdb) bt
>     #0  0x420dadf4 in read () from /lib/i686/libc.so.6
>     #1  0x4002a480 in __DTOR_END__ () from /usr/lib/libsasl2.so.2
>     #2  0x40024186 in randinit () from /usr/lib/libsasl2.so.2
>     #3  0x400241cd in sasl_rand () from /usr/lib/libsasl2.so.2
>     #4  0x40023e3f in sasl_mkchal () from /usr/lib/libsasl2.so.2
>     #5  0x0804cccb in service_main ()
>     #6  0x0805149b in main ()
>     #7  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
>     (gdb)
> 
> How can I best troubleshoot this further -- or is a quick fix already
> known?

You're running out of entropy.  pop3d is trying to create an APOP
challenge to put in the banner.  You can try recompiling SASL with
--disable-checkapop (which will only hide the entropy problem) or try
using /dev/urandom or EGD (which requires recompiling Cyrus
--with-egd-socket).

Ken
-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp




More information about the Info-cyrus mailing list