Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2005 07:50:25 -0700
From:      David Kirchner <dpk@dpk.net>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-questions@freebsd.org, Aidan Whyte <aidanwhyte@eircom.net>
Subject:   Re: mysqld startup problems
Message-ID:  <35c231bf05082907503769b7fd@mail.gmail.com>
In-Reply-To: <43131C18.5030101@meijome.net>
References:  <43122387.3090202@eircom.net> <431319BC.2050008@eircom.net> <43131C18.5030101@meijome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>=20
> $ ktrace /usr/local/etc/rc.d/mysql-server.sh start
>=20
> ( wait for it to finish )
>=20
> kdump -f ./ktrace.out | less
>=20
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35c231bf05082907503769b7fd>