Mysql fails to start after upgrade to precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I just upgraded my box from lucid to precise using #do-release-upgrade -d.
After the upgrade I find that mysqld is no longer starting on it's own.
When I try to start it myself using
# sudo start mysql
It will just hang at the console.
At the same time, I see the accompanied text in /var/log/syslog:
Feb 17 01:36:29 supermario kernel: [ 807.108959] type=1400 audit(132946418
Feb 17 01:36:30 supermario kernel: [ 808.374330] type=1400 audit(132946419
Feb 17 01:36:30 supermario kernel: [ 808.765855] init: mysql main process (5315) terminated with status 1
Feb 17 01:36:30 supermario kernel: [ 808.765989] init: mysql main process ended, respawning
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.20-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-16-generic i686
NonfreeKernelMo
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Fri Feb 17 01:37:07 2012
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mysql-5.5
UpgradeStatus: Upgraded to precise on 2012-02-17 (0 days ago)
Related branches
tags: | added: dist-upgrade |
Changed in mysql-5.5 (Ubuntu): | |
importance: | Undecided → High |
Additionally, if I tear down the apparmor profiles loaded and then comment out the apparmor line in the mysql upstart job, it's able to start.
It only hangs because of the apparmor profiles.