Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] MySQL behaving strangely
- Date: Wed, 17 Sep 2008 20:51:52 +0900
- From: Dave M G <dave@example.com>
- Subject: Re: [tlug] MySQL behaving strangely
- References: <48CF9C78.4050204@articlass.org> <200809162132.09910.fcartegnie@free.fr> <48CFB686.5060502@articlass.org> <1d581afe0809160818n7dda6c95o49a24633d80c0841@mail.gmail.com>
- User-agent: Thunderbird 2.0.0.16 (X11/20080724)
TLUG,
Thanks for the helpful advice.
Unfortunately I've hit an error I don't know what to do about.
The symlink solution worked, but Ubuntu clears the /tmp directory on every boot. So I edited the my.cnf file to use /tmp/mysql.sock.
But when I tried to restart MySQL, it kept saying "[fail]". So I put the my.cnf file back to the way it was, and it still failed to start MySQL. I rebooted, and MySQL still didn't work.
So I thought I would reinstall MySQL using Synaptic, and it gave me errors. It said the package hard errors in it, and it wouldn't re-install. Then I tried removing it, and then it ironically told me that it had errors and I should reinstall it before attempting to remove it.
I tried removing it from the command line, and it said this:
Preconfiguring packages ...
(Reading database ... 111433 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.51a-3ubuntu5.1 (using .../mysql-server-5.0_5.0.51a-3ubuntu5.1_i386.deb) ...
* Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
* Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.51a-3ubuntu5.1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
* Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
* Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.0.51a-3ubuntu5.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So now what am I supposed to do? It won't let me start it, stop it, remove it, or anything.
Any advice would be much appreciated.
-- Dave M G
- Follow-Ups:
- Re: [tlug] MySQL behaving strangely
- From: Francois Cartegnie
- Re: [tlug] MySQL behaving strangely
- From: Edward Middleton
- References:
- [tlug] MySQL behaving strangely
- From: Dave M G
- Re: [tlug] MySQL behaving strangely
- From: Francois Cartegnie
- Re: [tlug] MySQL behaving strangely
- From: Dave M G
- Re: [tlug] MySQL behaving strangely
- From: Ian Barwick
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Firefox 3.0.1 doesn't respect <meta http-equiv="content-type">
- Next by Date: Re: [tlug] Hard Drive Failure (Was: Help! Total hardware failure)
- Previous by thread: Re: [tlug] MySQL behaving strangely
- Next by thread: Re: [tlug] MySQL behaving strangely
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links