LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 11-30-2007, 01:47 PM   #1
habiblove
Member
 
Registered: Feb 2001
Location: Smyrna, TN
Distribution: Kubuntu 6.1, Ubuntu 7.04 Server, Knoppix
Posts: 59

Rep: Reputation: 15
MySQL stalls when booting Ubuntu 7.04 Server


After having had a power failure, MySQL stalls when rebooting the server. The server running Ubuntu 7.04 server was stable before the power failure. In the boot sequence, it tries to start MySQL. It prints the message "Checking for corrupt, not cleanly closed and upgrade needing tables" and then stalls. Any ideas where to start?
 
Old 11-30-2007, 03:54 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
I would start by disabling the auto-load of mysql & see if that's the thing that's actually causing the problem. It could be the thing right after that step, or something related to the disk itself. Regardless, just get the machine to boot, then debugging will become easier.

If you don't know how, there are a variety of ways. The easiest of which may be to boot off a CD, mount the drive, then remove the Sxxmysqld (or whatever it's called) from rc2.d (or whatever your default runlevel is), then boot off the hard drive.
 
Old 12-13-2007, 05:12 PM   #3
habiblove
Member
 
Registered: Feb 2001
Location: Smyrna, TN
Distribution: Kubuntu 6.1, Ubuntu 7.04 Server, Knoppix
Posts: 59

Original Poster
Rep: Reputation: 15
It was a hardware failure. I resolved the hardware failure and now MySQL is fine and the machine boots normally.
 
Old 12-23-2008, 02:51 PM   #4
debian newbie
LQ Newbie
 
Registered: Mar 2007
Posts: 20

Rep: Reputation: 0
removing startup from rc2.d

I am having a similar problem, there is a script in /etc/init.d that wants to run on boot up, but stalls and I cannot do anything. How do I;

"The easiest of which may be to boot off a CD, mount the drive, then remove the Sxxmysqld (or whatever it's called) from rc2.d (or whatever your default runlevel is), then boot off the hard drive."
What cd do I want to use and how do I mount the drive? I think I can figure out the removing part, but I have tried morphix and ubuntu to boot from, I am not able to mount the scsi drive I have. If you have a more step by step method, I would really appreciate it.
I am running linux 2.22 and this all happened after a power outage.

Thanx Lisa
 
  


Reply

Tags
mysql, server, ubuntu


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
Any problems using Ubuntu desktop as an apache/tomcat/mysql server? glennyboi Ubuntu 2 05-18-2007 02:51 PM
Ubuntu 6.10 server with Mysql 4.1 novis Ubuntu 2 01-31-2007 11:40 AM
ubuntu install stalls irutgers Linux - Software 1 06-25-2006 12:46 PM
GRUB stalls on RH9 dual booting XP paul1892 Linux - Newbie 3 01-02-2005 09:52 AM
Starting Mysql server at booting time learner Linux - Software 2 09-22-2003 08:47 AM


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

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