Mysql dead after update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Fix Released
|
High
|
Mathias Gug | ||
mysql-dfsg-5.1 (Ubuntu) |
Fix Released
|
High
|
komena |
Bug Description
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.1 (5.1.30-2ubuntu2) ...
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.1 5.1.30-2ubuntu2
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.30-2ubuntu2 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-4-generic x86_64
Changed in mysql-dfsg-5.1 (Ubuntu): | |
assignee: | nobody → komena (azizcom-komena) |
Seems to fail due to lack of '/var/run/ mysqld/ mysqld. sock'. creating this file doesnt help as it is removed somewhere as part of the init startup
Jan 14 12:38:50 crystaltree /etc/init. d/mysql[ 12424]: 0 processes alive and '/usr/bin/ mysqladmin --defaults- file=/etc/ mysql/debian. cnf ping' resulted in d/mysql[ 12424]: ^G/usr/ bin/mysqladmin: connect to server at 'localhost' failed d/mysql[ 12424]: error: 'Can't connect to local MySQL server through socket '/var/run/ mysqld/ mysqld. sock' (2)' d/mysql[ 12424]: Check that mysqld is running and that the socket: '/var/run/ mysqld/ mysqld. sock' exists! d/mysql[ 12424]:
Jan 14 12:38:50 crystaltree /etc/init.
Jan 14 12:38:50 crystaltree /etc/init.
Jan 14 12:38:50 crystaltree /etc/init.
Jan 14 12:38:50 crystaltree /etc/init.