Re: [Hampshire] Mysql not starting at boot with Ubuntu Karmi…

Top Page

Reply to this message
Author: Sean Gibbins
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Mysql not starting at boot with Ubuntu Karmic
Philip Stubbs wrote:
> Hi all,
>
> I have updated one of my machines to ubuntu karmic. Now when it boots,
> mysql is not started. Once it is up and running, I can run "sudo
> /etc/init.d/mysql start" and it starts fine. I have tried purging
> mysql and re-installing. I have checked to make sure the links are in
> the rc directories. I even used the update-rc.d script to remove and
> re-instate the links.
>
> Does anybody know why this may be happening? Any pointers to finding the cause?
>
> Regards,
>



My (Jaunty) /etc/rc2.d looks like this as far as mysql is concerned:

lrwxrwxrwx 1 root root 23 2009-01-14 17:44 S17mysql-ndb-mgm ->
../init.d/mysql-ndb-mgm
lrwxrwxrwx 1 root root 19 2009-01-14 17:44 S18mysql-ndb ->
../init.d/mysql-ndb
lrwxrwxrwx 1 root root 15 2009-01-14 17:44 S19mysql -> ../init.d/mysql

It occurs to me that it could be starting up and then failing on account
of something else not being ready that it needs.

That said, I don't know a great deal about mysql or its dependencies, so
it's purely guesswork based on the fact that it starts okay manually
after the machine has booted.

Sean

--
www.funkygibbins.me.uk