mysqld startup problems

Norberto Meijome freebsd at meijome.net
Mon Aug 29 15:01:47 GMT 2005


David Kirchner wrote:
> 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.
> 
:) thx.
ah, i didnt know this, definitely useful  - goes straight to the root of 
the problem.


More information about the freebsd-questions mailing list