mysqld startup problems

David Kirchner dpk at dpk.net
Mon Aug 29 14:50:35 GMT 2005


On 8/29/05, Norberto Meijome <freebsd at 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.


More information about the freebsd-questions mailing list