package mysql-server-5.5 5.5.24-0ubuntu0.12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 12.04
root@wg-
mysql-server:
Installed: 5.5.24-
Candidate: 5.5.24-
Version table:
*** 5.5.24-
500 mirror:
500 http://
500 http://
100 /var/lib/
5.
500 mirror:
500 http://
What I expected to happen: upgrade to complete and mysql to start.
What actually happened: upgrade failed and mysql no longer starts:
root@wg-
start: Job failed to start
Seems to load normally via console, but I was unable to authenticate as root so I'm unsure if it's picking up the mysql db and user table:
root@wg-
120612 10:53:13 [Note] Plugin 'FEDERATED' is disabled.
120612 10:53:13 InnoDB: The InnoDB memory heap is disabled
120612 10:53:13 InnoDB: Mutexes and rw_locks use GCC atomic builtins
120612 10:53:13 InnoDB: Compressed tables use zlib 1.2.3.4
120612 10:53:13 InnoDB: Initializing buffer pool, size = 128.0M
120612 10:53:13 InnoDB: Completed initialization of buffer pool
120612 10:53:13 InnoDB: highest supported file format is Barracuda.
120612 10:53:13 InnoDB: Waiting for the background threads to start
120612 10:53:14 InnoDB: 1.1.8 started; log sequence number 41505075059
120612 10:53:14 [Note] Server hostname (bind-address): '127.0.0.1'; port: 3306
120612 10:53:14 [Note] - '127.0.0.1' resolves to '127.0.0.1';
120612 10:53:14 [Note] Server socket created on IP: '127.0.0.1'.
120612 10:53:14 [Note] Event Scheduler: Loaded 0 events
120612 10:53:14 [Note] mysqld: ready for connections.
Version: '5.5.24-
aforbes@
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: mysql-server-5.5 5.5.24-
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Tue Jun 12 10:42:43 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
Logs.var.
Logs.var.
MySQLConf.
[mysqld_safe]
syslog
MySQLVarLibDirL
SourcePackage: mysql-5.5
Title: package mysql-server-5.5 5.5.24-
UpgradeStatus: Upgraded to precise on 2012-05-01 (41 days ago)
I marked this as a duplicate because it's very similar to another problem, but in my case the bad exit status was caused by:
AppArmor parser error for /etc/apparmor. d/usr.sbin. mysqld in /etc/apparmor. d/abstractions/ nameservice at line 65: Could not open 'abstractions/ likewise'
After doing 'touch /etc/apparmor. d/abstractions/ likewise' and 'service apparmor restart' I was able to start mysql.
Maybe a bug should be filed against the likewise package for not cleaning up properly, but this box has been upgraded through 10.10 with a mix of vendor and ubuntu packages installed and reinstalled multiple times so I wouldn't feel comfortable laying blame there :-)