Continuing problems with Dovecot + MySQL 5.5.8_1

Odhiambo Washington odhiambo at gmail.com
Tue Jan 11 19:22:34 UTC 2011


On Tue, Jan 11, 2011 at 7:25 PM, Jerry <freebsd.user at seibercom.net> wrote:

> FreeBSD 8.2-PRERELEASE
>
> After updating to the latest version of MySQL (5.5.8_1), I am
> continuing to have problems with Dovecot failing to run correctly even
> though I completely removed and reinstalled it. I might add that I did
> a pkg_delete of the MySQL client and server also before updating the
> port. I was led to believe that this updated version corrected the
> problem; however, that does not appear to be correct. :-(
>
> Strangely enough, Postfix, after rebuilding it, works fine with the
> new version of MySQL. :-)
>
> What I need to do is get a gdb backtrace of dovecot. Since the program
> starts from the dovecot script in the /usr/local/etc/rc.d directory, I
> am unsure of how to accomplish this. I have tried several methods;
> however, they all fail. Exactly how would I start dovecot using the
> script via gdb to get a backtrace?
>
>
Since you are on FreeBSD, you can do the following (as root of course):

#ulimit -c unlimited
#gdb -args  /usr/local/sbin/dovecot -F -c
/usr/local/etc/dovecot/dovecot.conf
run
bt full

You would run 'bt full' only after Dovecot died (gdb will tell you when that
happens)


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!


More information about the freebsd-questions mailing list