LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 03-20-2011, 06:14 PM   #1
fireball1974
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, 06:48 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,653

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

Rep: Reputation: 85
I did a quick Google on this, and found a Debian forum post that may be helpful.
 
Old 03-20-2011, 08:28 PM   #4
fireball1974
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.
  


Reply

Tags
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 06:20 AM
LXer: Upgrade Debian Lenny To Squeeze In A Few Simple Steps LXer Syndicated Linux News 1 02-08-2011 02:17 PM
Couldn't start mysql services on Debian Lenny Tueleep86 Linux - Newbie 6 10-12-2010 03:25 AM
upgrade: Lenny to Squeeze? DeadlySin3 Debian 11 08-02-2010 04:39 AM
Opinions on Best Way to upgrade from Lenny/Lenny Backports to Squeeze?? linus72 Debian 7 12-26-2009 10:44 AM


All times are GMT -5. The time now is 05:35 AM.

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