Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 22:22:02 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Continuing problems with Dovecot + MySQL 5.5.8_1
Message-ID:  <AANLkTing-3SkF%2BaL%2Ba7kmtzrpzorrpVj2KTq-sTbDtwr@mail.gmail.com>
In-Reply-To: <AANLkTi=U43roCf6J7HVZG6qUv9Q2QVLjbbsE8TOVZ-2_@mail.gmail.com>
References:  <AANLkTi=U43roCf6J7HVZG6qUv9Q2QVLjbbsE8TOVZ-2_@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 11, 2011 at 7:25 PM, Jerry <freebsd.user@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!!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTing-3SkF%2BaL%2Ba7kmtzrpzorrpVj2KTq-sTbDtwr>