[Bug 551130] Re: infinite loop in /etc/init/mysql.conf if mysqld is not running.
Artis Caune
Artis.Caune at gmail.com
Fri May 28 00:11:16 BST 2010
When using EBS snashots on EC2, debian-sys-maint is different on new
servers, so it stuck forever.
Also init/mysql.conf use:
exec /usr/sbin/mysqld
and I see error when running it like that:
100528 11:00:25 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
100528 11:00:25 [ERROR] Aborting
100528 11:00:25 [Note] /usr/sbin/mysqld: Shutdown complete
should'n it use mysqld_safe instead ?
This works for me:
....
exec /usr/bin/mysqld_safe
post-start script
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do
/usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping && exec $HOME/debian-start
sleep 1
done
end script
--
infinite loop in /etc/init/mysql.conf if mysqld is not running.
https://bugs.launchpad.net/bugs/551130
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list