
tanstaafl at libertytrek
Feb 5, 2012, 11:09 AM
Post #5 of 6
(497 views)
Permalink
|
|
Re: Updating mysql-init-scripts to 2.0_pre1-r2 now Mysql restart fails!?
[In reply to]
|
|
just updated mysql from 5.1.56 to 5.1.61, and STILL have this problem... I can't even STOP mysql - with the included init script, all I get is: myhost : Sun Feb 05, 13:55:53 : ~ # /etc/init.d/mysql stop * WARNING: mysql is already stopped Well, it *isn't* stopped, it is running, but it is apparently still the old version (but the mysqladmin command apparently is from the new version): myhost : Sun Feb 05, 14:05:05 : ~ # mysqladmin -u root -p version Enter password: mysqladmin Ver 8.42 Distrib 5.1.61, for pc-linux-gnu on x86_64 Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Server version 5.1.56-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /var/run/mysqld/mysqld.sock Uptime: 25 days 7 hours 45 min 17 sec Threads: 4 Questions: 708143 Slow queries: 0 Opens: 139 Flush tables: 1 Open tables: 57 Queries per second avg: 0.323 myhost : Sun Feb 05, 14:05:20 : ~ # Also... shouldn't the init script be for mysqld, not mysql?? Also, why is there no entry for mysql in rc-update? It starts up just fine when booting. I'm totally stumped... On 2012-01-15 12:26 PM, Tanstaafl <tanstaafl [at] libertytrek> wrote: > Anyone else having this problem? > > Yes, I did etc-update, and simply accepted the new conf.d config file > and init.d script changes... > > After the update, I attempted to restart mysql but got: > > myhost : Sun Jan 15, 12:23:47 : ~ > # /etc/init.d/mysql restart > * Starting mysql ... > * start-stop-daemon: /usr/sbin/mysqld is already running [ !! ] > * ERROR: mysql failed to start > myhost : Sun Jan 15, 12:23:55 : ~ > > and in the log: > > Jan 15 12:23:55 myhost /etc/init.d/mysql[16429]: start-stop-daemon: > /usr/sbin/mysqld is already running > Jan 15 12:23:55 myhost /etc/init.d/mysql[16396]: ERROR: mysql failed to > start >
|