UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.