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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

