Just had the same issue and followed the steps provided by Lost In
Tokyo. This did not work for me. I then followed the steps by Kees Cook.
Working fine with it disabled.
I spent at least 3 hours trying to figure out what the cause of the
issue was. My logs are identical, except I am moving the
toddq: you need to use 'sudo /etc/init.d/mysql restart' (no 'd' on the
end of mysql there).
Cheers,
CMP
--
Confusing mysqld startup failure with apparmor (Hardy)
https://bugs.launchpad.net/bugs/201799
You received this bug notification because you are a member of Ubuntu
Server Team, which is
followed the recommended steps and it didn't work when I type
sudo /etc/init.d/mysqld restart
sudo: /etc/init.d/mysqld: command not found
synpatic says I do have mysql-server-5.0 installed
--
Confusing mysqld startup failure with apparmor (Hardy)
https://bugs.launchpad.net/bugs/201799
You
Alternative solution:
1. Edit /etc/apparmor.d/usr.sbin.mysqld and add the following two lines:
/home/mysql/ r,
/home/mysql/** rwk,
somewhere in the middle of the file. After the /var/lib/mysql lines would
be fine.
2. /etc/init.d/apparmor restart
3. /etc/init.d/mysql restart
You
Hi everyone,
Thanks for the very immediate response. I followed Lost and Tokyo and
Kess Cook fix. MySQL is now working. Maybe there should be some messages
on MySQL installation saying to do the above if users change the default
data directory.
Thanks guys.
Rick
--
Confusing mysqld startup
I installed mysql just a few minutes ago. This same bug still exists.
How do we fix this?
Apr 26 10:00:00 laptap kernel: [ 6026.254152] audit(1209175200.933:26):
type=1503 operation=inode_permission requested_mask=rw::
denied_mask=rw:: name=/home/mysql/ibdata1 pid=15730
profile=/usr/sbin/mysqld
Yay! Got the fix today :-)
--
Confusing mysqld startup failure with apparmor (Hardy)
https://bugs.launchpad.net/bugs/201799
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.0 in ubuntu.
--
Ubuntu-server-bugs mailing list