Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-20-2011, 05:14 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 11

Rep: Reputation: 1
After Debian upgrade from Lenny to Squeeze, MySQL will not start

I just upgraded from Debian Lenny to Debian Squeeze. The upgrade went pretty smoothly. After the upgrade, MySQL does not start at boot time. When I try to start it manually by typing

sudo /etc/init.d/mysql start

it prints .............................failed!

I tried using aptitude to reinstall mysql-server-5.1, but it gave me an error message:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any idea what I can try?
Old 03-20-2011, 05:48 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614Reputation: 614
what does the system log say?
Old 03-20-2011, 06:51 PM   #3
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
I did a quick Google on this, and found a Debian forum post that may be helpful.
Old 03-20-2011, 07:28 PM   #4
LQ Newbie
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 1
Problem solved

This problem is now solved. There were actually multiple problems. First, mysql-server-5.1 was not completely configured. Secondly, I had to comment out a line in my.cnf that says skip-bdb. Third, I had to run mysql_upgrade.

Thank you to everyone who helped!
1 members found this post helpful.


debian, mysql, squeeze, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Upgrade Debian Lenny (Debian 5.0) To Squeeze (Debian 6.0) On Xen VPS LXer Syndicated Linux News 0 03-09-2011 05:20 AM
LXer: Upgrade Debian Lenny To Squeeze In A Few Simple Steps LXer Syndicated Linux News 1 02-08-2011 01:17 PM
Couldn't start mysql services on Debian Lenny Tueleep86 Linux - Newbie 6 10-12-2010 02:25 AM
upgrade: Lenny to Squeeze? DeadlySin3 Debian 11 08-02-2010 03:39 AM
Opinions on Best Way to upgrade from Lenny/Lenny Backports to Squeeze?? linus72 Debian 7 12-26-2009 09:44 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration