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

Rob Siemborski rjs3 at andrew.cmu.edu
Fri Jan 10 14:32:52 EST 2003


On Fri, 10 Jan 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?

Hmmm, it looks like its blocking on reading /dev/random, try changing the
value of DEV_RANDOM to /dev/urandom in sasl's config.h and rebuilding (or,
symlink /dev/random to /dev/urandom).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





More information about the Info-cyrus mailing list