Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Feb 06, 2011 2:39 am 
Offline
Senior Newbie

Joined: Sat Jan 23, 2010 11:28 pm
Posts: 9
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


Top
   
 Post subject:
PostPosted: Sun Feb 06, 2011 10:23 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Check your mysql error log which is probably in /var/log or /var/lib/mysql

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Wed Feb 09, 2011 9:13 am 
Offline
User avatar

Joined: Sun Feb 07, 2010 1:09 pm
Posts: 1
Website: http://www.mondoweb.net
Location: Milano
I have the same problem. Please help us :(

/var/log/mysql.err and /var/log/mysql.log are empty.

RESOLVEDDDDD :D
You must comment "skip-bdb" in my.cnf!!


Top
   
 Post subject: Same problem...
PostPosted: Sat Feb 19, 2011 1:48 am 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Same problem here, dist-upgrade to Debian 6, and now MySQL won't start. Nothing in mysql.err, but the syslog indicated:

Code:
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'


Tried commenting out skip-bdb, and no change, still won't start.

Anyone else have any suggestions??

Thanks,

Paul


Top
   
 Post subject:
PostPosted: Sat Feb 19, 2011 2:50 am 
Offline
Senior Member

Joined: Thu May 21, 2009 3:19 am
Posts: 336
Follow the guide and try installing the latest version in the repositories and if that doesn't work uninstal and reinstall mysql

For me, simply reinstalling 5.1 worked as it forced the removal of 5.0

It was all in the guide before I even attemtpted the upgrade. Of course because I followed the advice in the guide in backed up my system as well as /etc :D


Top
   
 Post subject:
PostPosted: Sat Feb 19, 2011 9:17 am 
Offline
Newbie

Joined: Sat Jul 08, 2006 6:28 pm
Posts: 3
You can always reinstall mysql 5.0, for example by downloading the debs from the old stable branch and using dpkg -i

I had a similar problem, which went away after I set a password for the root user and deleted the test database.


Top
   
 Post subject:
PostPosted: Sat Feb 19, 2011 12:21 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Solved this by removing MySQL completely and re-installing 5.1.

Thanks guys!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group