From owner-freebsd-questions@FreeBSD.ORG Tue Jan 11 19:22:34 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA7FC106564A for ; Tue, 11 Jan 2011 19:22:34 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68A368FC16 for ; Tue, 11 Jan 2011 19:22:34 +0000 (UTC) Received: by qwj9 with SMTP id 9so20454031qwj.13 for ; Tue, 11 Jan 2011 11:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=0yUSB/+DFgX/3bUqMfeyPr6uoNeUK96+7DwnLT8O13c=; b=qrRrYiTFMcq5ALU1jFpTb3Q8Xar046gp7Rll5Qy+xADrg4uy3w94GnxJtxBovlmsPf pOZ/GwGz3lq9ofN7G3P/v0cRxi0VgtBd8SFy2jq7CVuD5+lpEGjMsc77iZgexy4GJb62 e7n+6e7Z7bR3OJFtWJtefLqcDpnXy63xCfosw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=QMnK7+6zkQ000k8ppHrD1dWYXYRFB8B1jSw2n4Jpc+P3Trc0HsKLw6jiHTtVfqfDs4 Nn41YdVEwMZiY1TfoER/2XLJf49wOYMTOIWJ0HyUMsU5g9NeqGVWpAhqyUsmJBhhA+MC RckH3TREAg4xNdfqmI0nmWVfNM2M72dHcnWNU= Received: by 10.229.95.81 with SMTP id c17mr7655qcn.99.1294773753382; Tue, 11 Jan 2011 11:22:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Tue, 11 Jan 2011 11:22:02 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Tue, 11 Jan 2011 22:22:02 +0300 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Continuing problems with Dovecot + MySQL 5.5.8_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 19:22:34 -0000 On Tue, Jan 11, 2011 at 7:25 PM, Jerry 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!!