[Bug 551130] Re: infinite loop in /etc/init/mysql.conf if mysqld is not running.
Please note that the cause of the problem is that /etc/init/mysql.conf is trying to start mysqld as user root. If you start as user mysql everything works fine. The infinte loop described above in while ! /usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping do sleep 1 done is caused by mysqld not running and therefore /usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping failing. With no proper timeout this causes an infinte loop. So you have to apply the following 2 fixes to /etc/init/mysql.conf: 1) to make msqld work: exec sudo -u mysql /usr/sbin/mysqld # - important execute as use mysql 2) to make sure the loop times out: count=0 while [ $count -lt 10 ] ! /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping 2/dev/null do echo waiting for mysqld: ${count}s ... sleep 1 count=`expr $count + 1` done if [ $count -eq 10 ] then echo timeout. else exec $HOME/debian-start fi -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 551097] Re: start stop hang on mysql-server (10.0.4 upgrade from 8.04)
*** This bug is a duplicate of bug 551130 *** https://bugs.launchpad.net/bugs/551130 see my full explanation in bug #551130 the short answer: you have to run mysqld as user mysql -- start stop hang on mysql-server (10.0.4 upgrade from 8.04) https://bugs.launchpad.net/bugs/551097 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 551130] Re: infinite loop in /etc/init/mysql.conf if mysqld is not running.
Please note that the cause of the problem is that /etc/init/mysql.conf is trying to start mysqld as user root. If you start as user mysql everything works fine. The infinte loop described above in while ! /usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping do sleep 1 done is caused by mysqld not running and therefore /usr/bin/mysqladmin --defaults-file=$HOME/debian.cnf ping failing. With no proper timeout this causes an infinte loop. So you have to apply the following 2 fixes to /etc/init/mysql.conf: 1) to make msqld work: exec sudo -u mysql /usr/sbin/mysqld # - important execute as use mysql 2) to make sure the loop times out: count=0 while [ $count -lt 10 ] ! /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping 2/dev/null do echo waiting for mysqld: ${count}s ... sleep 1 count=`expr $count + 1` done if [ $count -eq 10 ] then echo timeout. else exec $HOME/debian-start fi -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 551097] Re: start stop hang on mysql-server (10.0.4 upgrade from 8.04)
*** This bug is a duplicate of bug 551130 *** https://bugs.launchpad.net/bugs/551130 see my full explanation in bug #551130 the short answer: you have to run mysqld as user mysql -- start stop hang on mysql-server (10.0.4 upgrade from 8.04) https://bugs.launchpad.net/bugs/551097 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 429979] Re: GRUB is written to primary hard drive without permission
typo above: i did set up sdb1 as ext3 and mountpoint / (and i checked during installation, that it did the right thing from the terminal) -- GRUB is written to primary hard drive without permission https://bugs.launchpad.net/bugs/429979 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 429979] Re: GRUB is written to primary hard drive without permission
VERY DANGEROUS OVERWRITES MBR WITHOUT WARNING !! I installed Karmic Koala Ubunutu 9.10 from the live CD icon on a MACBOOK PRO 13. I choose to install on and 8GB SD card (sdb) and used manual partion to set up sda1 as an ext3 mounted as /. Everything went fine until the very end when ubiguity said installing GRUB on hd(0,0) (which would be sda the harddrive) wihtout any question. When i rebooted i could not reboot into OSX. I had to pulls some undocumented OSX rescue tricks to get my OSX back working. This should never have happend grub should have been installed on sdb or i schould have been asked. link to help forum entry: http://ubuntuforums.org/showthread.php?t=1306837 -- GRUB is written to primary hard drive without permission https://bugs.launchpad.net/bugs/429979 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 461085] Re: grub target boot device selection defaults to (hd0) but doesn't offer it in the dropdown
related to this bug: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/409575 -- grub target boot device selection defaults to (hd0) but doesn't offer it in the dropdown https://bugs.launchpad.net/bugs/461085 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs