On Sunday 11 July 2010 20:33:17 Stéphane Guedon wrote:
> Le dimanche 11 juillet 2010 20:00:16, Alan McKinnon a écrit :
> > On Sunday 11 July 2010 19:58:43 Stéphane Guedon wrote:
> > > Le dimanche 11 juillet 2010 19:37:34, walt a écrit :
> > > > On 07/11/2010 09:29 AM, Stéphane Guedon wrote:
> > > > > Hello
> > > > > 
> > > > > Could someone help me concerning mysql.
> > > > > 
> > > > > My servers (both laptop hosted mysql and server hosted) are buggy.
> > > > > Every time I restart them through the init script, it crash ! :
> > > > > 
> > > > > 18:15:06 r...@einstein:~ # rc-service mysql restart
> > > > > pdns              | * Stopping PowerDNS (default) ...
> > > > > mediatomb         | * Stopping MediaTomb ...
> > > > > 
> > > > >     [ ok ] mysql             | * Stopping  ...
> > > > > 
> > > > > mysql             | * Stopping mysqld (0)
> > > > > 
> > > > >             [ ok ] mysql             | * Starting  ...
> > > > > 
> > > > > mysql             | * Starting  (/etc/mysql/my.cnf)
> > > > > mysql             | * MySQL NOT started (0)
> > > > > 
> > > > >           [ !! ]
> > > > 
> > > > I'm not familiar with running rc-service directly.  If you add the
> > > > --debug flag like this:
> > > > 
> > > > #/etc/init.d/mysql start --debug
> > > > 
> > > > maybe it will give you better error messages.
> > > 
> > > I have just done three (3) rc-service mysql restart --verbose, and
> > > everything goes right, nothing bug... strange !
> > 
> > Did you notice that according to your logs, mysql did in fact start and
> > shut itself done 2 hour 23 minutes later?
> 
> That's really strange, but I have said this log haven't change since days !
> 
> I think logs are not correctly configured. But according to
> /etc/mysql/my.cnf, there's only mysqld.err.
> 
> Should I change something ?


I mean to point out that according to your logs, mysql did in fact appear to 
start. Then it stopped. Ignoring the hour in the timestamps in case it's 
timezone differences, this means that according to your logs mysql ran for 
something like 23 minutes.

This does not mean it does not start as you claim.
It means something is killing it.
You need to go find what that is. I can't help you with that, you are the only 
one in front of your computer.


-- 
alan dot mckinnon at gmail dot com

Reply via email to