[Bug 201799] Re: Confusing mysqld startup failure with apparmor (Hardy)

Rick Bahague Jr rickjr at cp-union.org
Sat Apr 26 03:09:05 BST 2008


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" namespace="default"

daemon logs:

Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: the directory.
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File name ./ibdata1
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: File operation call: 'open'.
Apr 26 10:00:00 laptap mysqld[15731]: InnoDB: Cannot continue operation.
Apr 26 10:00:00 laptap mysqld_safe[15739]: ended
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Apr 26 10:00:15 laptap /etc/init.d/mysql[15890]: 

Packages installed:

un  mysql-client                      <wala>                            (walang paglalarawan)
ii  mysql-client-5.0                  5.0.51a-3ubuntu5                  MySQL database client binaries
ii  mysql-common                      5.0.51a-3ubuntu5                  MySQL database common files
ii  mysql-server                      5.0.51a-3ubuntu5                  MySQL database server (meta package depending on the latest version)
ii  mysql-server-5.0                  5.0.51a-3ubuntu5                  MySQL database server binaries

-- 
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.



More information about the Ubuntu-server-bugs mailing list