Gentoo Archives: gentoo-server

From: Peter Abrahamsen <rainhead@×××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] mysql not restarting
Date: Thu, 14 Sep 2006 01:55:24
Message-Id: e3171c650609131851h16dcfb6bxe387d0e3a9a1e2c@mail.gmail.com
In Reply to: [gentoo-server] mysql not restarting by Darko Luketic
1 Hello Darko,
2
3 Are you saying that turning up the debug puts nothing in the logs? I
4 don't use mysql, but something ought to be logged. If not, what I
5 often do is start the daemon manually, and if that isn't enough,
6 strace it.
7
8 As to the vhosts thing, please read the documentation here:
9 http://httpd.apache.org/docs/2.0/vhosts/mass.html
10
11 Good luck,
12 Peter
13
14 On 9/13/06, Darko Luketic <webmaster@××××××××××××.com> wrote:
15 > Hello,
16 >
17 > i upgraded mysql a few months ago.
18 > i remember that this upgrade was that one that added the file server-running to /etc/init.d/mysql
19 > i've been running mysql 4 since 08/2005, 1st install.
20 > current installed version is 4.1.21. in this version the check for the server-running file was removed.
21 > the problem appeared 2 upgrades ago. (4.0.x) last version was 4.0.27 , previous 4.0.26 .
22 > when i upgraded to 4.1.21 from 4.0.27 i created a db dump, but not from 4.0.26->4.0.27.
23 > i'm using a nptl-enabled compilation.
24 >
25 > problem is i can't start the mysql server through the init script.
26 > i set debug to max possible, but the output is just a counter to 40 and starting mysql failed.
27 > when i'm starting the mysql server by hand with the parameters in the init script,
28 > it runs fine, however as soon as i want to restart daemons depending upon mysql, the mysql server stops,
29 > and i have to start it manually, which is annoying as e.g. i would like to restart apache or other daemons daily through cron.
30 >
31 > i know a reboot would very likely solve the problem, but thats not an option. (366 days uptime ruined, nooo :) ).
32 > it's not because of ibdata or similar files, it has to be something in the init script or in the content of some file that
33 > drives the start-stop-daemon crazy.
34 >
35 > any help appreciated
36 >
37 > i hope my english wasn't too bad.
38 >
39 > p.s.: does anyone know of a namebased virtualhosting module or similar for apache2 that doesn't require a graceful apache2 restart?
40 >
41 > --
42 > Darko Luketic
43 > webmaster@××××××××××××.com
44 >
45 > --
46 > gentoo-server@g.o mailing list
47 >
48 >
49 --
50 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] mysql not restarting Darko Luketic <webmaster@××××××××××××.com>