I just upgraded my Linode from Debian 5 to 6 as outlined here:
http://library.linode.com/troubleshooti ... -6-squeeze
All went smoothly with the exception of the things outlined in the "System Errors" section. I did get those errors it talks about in the first "missing LSB tags and overrides" and "package removed but not purged" but have ignored them as they are apparently safe.
My MySQL server however would not come back up after the upgrade. I restarted, and MySQL repeatedly fails to start. I have tried reinstalling mysql-server. Any advice on where I should start looking to identify and troubleshoot the problem?
Code:
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.1; however:
Package mysql-server-5.1 is not configured yet.
dpkg: error processing mysql-server (--configure):
dependency problems - leaving unconfigured
configured to not write apport reports
Errors were encountered while processing:
mysql-server-5.1
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
danny@rassilon:~$ sudo dpkg-configure mysql-server-5.1
sudo: dpkg-configure: command not found
danny@rassilon:~$ sudo dpkg --configure mysql-server-5.1
Setting up mysql-server-5.1 (5.1.49-3) ...
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
mysql-server-5.1