Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updating mysql-init-scripts to 2.0_pre1-r2 now Mysql restart fails!?
Date: Sun, 05 Feb 2012 19:10:38
Message-Id: 4F2ED3ED.3040203@libertytrek.org
In Reply to: [gentoo-user] Updating mysql-init-scripts to 2.0_pre1-r2 now Mysql restart fails!? by Tanstaafl
1 just updated mysql from 5.1.56 to 5.1.61, and STILL have this problem...
2
3 I can't even STOP mysql - with the included init script, all I get is:
4
5 myhost : Sun Feb 05, 13:55:53 : ~
6 # /etc/init.d/mysql stop
7 * WARNING: mysql is already stopped
8
9 Well, it *isn't* stopped, it is running, but it is apparently still the
10 old version (but the mysqladmin command apparently is from the new version):
11
12 myhost : Sun Feb 05, 14:05:05 : ~
13 # mysqladmin -u root -p version
14 Enter password:
15 mysqladmin Ver 8.42 Distrib 5.1.61, for pc-linux-gnu on x86_64
16 Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
17
18 Oracle is a registered trademark of Oracle Corporation and/or its
19 affiliates. Other names may be trademarks of their respective
20 owners.
21
22 Server version 5.1.56-log
23 Protocol version 10
24 Connection Localhost via UNIX socket
25 UNIX socket /var/run/mysqld/mysqld.sock
26 Uptime: 25 days 7 hours 45 min 17 sec
27
28 Threads: 4 Questions: 708143 Slow queries: 0 Opens: 139 Flush
29 tables: 1 Open tables: 57 Queries per second avg: 0.323
30 myhost : Sun Feb 05, 14:05:20 : ~
31 #
32
33 Also... shouldn't the init script be for mysqld, not mysql??
34
35 Also, why is there no entry for mysql in rc-update? It starts up just
36 fine when booting.
37
38 I'm totally stumped...
39
40 On 2012-01-15 12:26 PM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
41 > Anyone else having this problem?
42 >
43 > Yes, I did etc-update, and simply accepted the new conf.d config file
44 > and init.d script changes...
45 >
46 > After the update, I attempted to restart mysql but got:
47 >
48 > myhost : Sun Jan 15, 12:23:47 : ~
49 > # /etc/init.d/mysql restart
50 > * Starting mysql ...
51 > * start-stop-daemon: /usr/sbin/mysqld is already running [ !! ]
52 > * ERROR: mysql failed to start
53 > myhost : Sun Jan 15, 12:23:55 : ~
54 >
55 > and in the log:
56 >
57 > Jan 15 12:23:55 myhost /etc/init.d/mysql[16429]: start-stop-daemon:
58 > /usr/sbin/mysqld is already running
59 > Jan 15 12:23:55 myhost /etc/init.d/mysql[16396]: ERROR: mysql failed to
60 > start
61 >

Replies

Subject Author
Re: [gentoo-user] Updating mysql-init-scripts to 2.0_pre1-r2 now Mysql restart fails!? Tanstaafl <tanstaafl@×××××××××××.org>