mysqld does not start reliably...
Bug #566736 reported by
Fons Rademakers
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: upstart
Hi,
running the as of today up-to-date version of 10.04 beta2 server
Description: Ubuntu lucid (development branch)
Release: 10.04
I see that fairly regularly, mysqld does not start at reboot. Typing "start mysqld" hangs (no output). The server is bound to the server's IP address and not localhost.
To get it to run I've to do:
su
mysqld
kill -9 <mysqld-pid>
start mysql
start: Job is already running: mysql
stop mysql
mysql stop/waiting
start mysql
mysql start/running, process 3016
Cheers, Fons.
affects: | upstart (Ubuntu) → mysql-dfsg-5.1 (Ubuntu) |
To post a comment you must log in.
Looking at the mysqld upstart job (/etc/init/ mysqld. conf) you can see that it "start on (net-device-up". Since mysqld is configured to bind to a specific address it fails to start if the network interface isn't up yet.
I'd suggest to update mysqld upstart job to "start on (net-device-up IFACE=ethX" to start mysqld only when the correct interface is up.