Re: MySql will not restart
- From: Florian Kulzer <florian.kulzer+debian@xxxxxxx>
- Date: Mon, 15 Oct 2007 18:33:02 +0200
On Sun, Oct 14, 2007 at 05:43:50 -0700, harland christofferson wrote:
running 2.4.27-2-k7
For years, MySql was running fine.
This a.m., webpages were not being served.
I thought that it was MySql.
I tried this:
#/etc/init.d/mysql restart
I received this:
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
I followed instructions:
#grep mysql /var/log/syslog
Yields:
/etc/init.d/mysql[14242]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
/etc/init.d/mysql[14242]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
/etc/init.d/mysql[14242]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
/etc/init.d/mysql[14242]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
There is no /var/run/mysqld/mysqld.sock file
My /etc/mysql/debian.cnf is:
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
password = XXXXXXXXXXXXXXXX
socket = /var/run/mysqld/mysqld.sock
I only have a general suggestion: Have a look at /var/log/daemon.log, it
sometimes contains more information about what goes wrong with daemon
processes.
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- MySql will not restart
- From: harland christofferson
- MySql will not restart
- Prev by Date: Problem associating Wireless network - intel iwl4965agn
- Next by Date: Re: Default Gnome2 Font
- Previous by thread: MySql will not restart
- Next by thread: FIXED Re: MySql will not restart
- Index(es):
Relevant Pages
|