Hi all, 1.0-test76 is crashing about every two weeks. Got this in the log file: pid 76217 (dovecot-auth), uid 0: exited on signal 6 (core dumped) pid 61724 (dovecot-auth), uid 0: exited on signal 6 (core dumped) pid 52961 (dovecot-auth), uid 0: exited on signal 6 (core dumped) pid 81257 (dovecot-auth), uid 0: exited on signal 6 (core dumped) Also a bunch of these around the same time... arplookup 123.456.227.254 failed: host is not on local network arplookup 123.456.227.254 failed: host is not on local network arplookup 123.456.227.254 failed: host is not on local network arplookup 123.456.227.254 failed: host is not on local network arplookup 123.456.227.254 failed: host is not on local network (I changed the first two octets). Anyway, it seems that dovecot is crashing. A simple restart brings it back up. Its odd that it would work for a while and then crash, is there some kind of remote exploit causing it to crash? It says core dumped, but I'm not sure where it would put the core. Also, all of our stuff is LDAP. We dont talk to local passwd files at all. Is there a way I can run the dovecot-auth process as non root? I know there's an option in the config but i tried it and it did not seem to want to restart (the process). Thanks, Matt
On Thu, 2005-08-11 at 13:14 -0400, Matt Juszczak wrote:> pid 76217 (dovecot-auth), uid 0: exited on signal 6 (core dumped)..> Anyway, it seems that dovecot is crashing. A simple restart brings it > back up.Since it's only dovecot-auth that crashes, doesn't Dovecot restart the process by itself?> Its odd that it would work for a while and then crash, is there > some kind of remote exploit causing it to crash?Probably LDAP code is just buggy in some situations when it's trying to reconnect to server..> It says core dumped, but I'm not sure where it would put the core./var/log/dovecot/ (or /usr/local/var/run/dovecot or wherever you set the prefix). Getting a gdb backtrace from it would be helpful.> Also, all of our stuff is LDAP. We dont talk to local passwd files at > all. Is there a way I can run the dovecot-auth process as non root? > I know there's an option in the config but i tried it and it did not seem > to want to restart (the process).Changing auth_user should work. What error does it give exactly then? -------------- 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/20050814/9e651688/attachment.bin>
Here is the backtrace: This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... warning: core file may not match specified executable file. Core was generated by `dovecot-auth'. Program terminated with signal 6, Aborted. #0 0x181317af in ?? () (gdb) bt full #0 0x181317af in ?? () No symbol table info available. #1 0x18126856 in ?? () No symbol table info available. #2 0x0001303a in ?? () No symbol table info available. #3 0x00000006 in ?? () No symbol table info available. #4 0x00000000 in ?? () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. #6 0x00000286 in ?? () No symbol table info available. #7 0x181aaf4c in ?? () No symbol table info available. #8 0xbfbfea78 in ?? () No symbol table info available. #9 0x1819a0df in ?? () No symbol table info available. #10 0x00000006 in ?? () No symbol table info available. #11 0xbfbfea48 in ?? () No symbol table info available. #12 0x00000000 in ?? () No symbol table info available. #13 0x1819a0aa in ?? () No symbol table info available. #14 0x00000001 in ?? () No symbol table info available. #15 0x18094400 in ?? () No symbol table info available. #16 0xffffffdf in ?? () No symbol table info available. #17 0xffffffff in ?? () No symbol table info available. #18 0xffffffff in ?? () No symbol table info available. #19 0xffffffff in ?? () No symbol table info available. #20 0x18071a11 in ?? () No symbol table info available. #21 0x18094000 in ?? () No symbol table info available. #22 0x00000140 in ?? () No symbol table info available. #23 0x08079000 in mail_cache_register_fields () No symbol table info available. #24 0x08070000 in mbox_storage_sync_init () No symbol table info available. ---Type <return> to continue, or q <return> to quit--- #25 0x00000000 in ?? () No symbol table info available. #26 0x08478040 in ?? () No symbol table info available. #27 0x0848f100 in ?? () No symbol table info available. #28 0xbfbfea98 in ?? () No symbol table info available. #29 0x0805e684 in imap_thread () No symbol table info available. Previous frame inner to this frame (corrupt stack?) (gdb)