Date: Tue, 30 Aug 2005 01:01:41 +1000 From: Norberto Meijome <freebsd@meijome.net> To: David Kirchner <dpk@dpk.net> Cc: freebsd-questions@freebsd.org, Aidan Whyte <aidanwhyte@eircom.net> Subject: Re: mysqld startup problems Message-ID: <43132355.2080406@meijome.net> In-Reply-To: <35c231bf05082907503769b7fd@mail.gmail.com> References: <43122387.3090202@eircom.net> <431319BC.2050008@eircom.net> <43131C18.5030101@meijome.net> <35c231bf05082907503769b7fd@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Kirchner wrote: > On 8/29/05, Norberto Meijome <freebsd@meijome.net> wrote: > >>Not directly, but when I find myself in this pickle, I try to see what >>exactly is the process doing: >> >>$ ktrace /usr/local/etc/rc.d/mysql-server.sh start >> >>( wait for it to finish ) >> >>kdump -f ./ktrace.out | less >> >>and look for any errors / etc, and take it from there. you'll be able to >>see any access errors / file not found,etc (i'd say it's a missing >>directory or wrong access in a directory for mysql user) > > > Excellent advice -- also, if you add the "-d" flag to ktrace, it will > also include all descendants in the resulting ktrace.out file. > :) thx. ah, i didnt know this, definitely useful - goes straight to the root of the problem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43132355.2080406>