lowendscript icon indicating copy to clipboard operation
lowendscript copied to clipboard

MYSQL doesn't start... ERROR 2002 (HY000)

Open windswept321 opened this issue 10 years ago • 3 comments

Hi, I've had, I think, the same issue in the past when I have tried to use this script with Debian 7. Now I have it in a fresh Debian 6 KVM vps. MYSQL doesn't start and cannot start. When I attempt to start it manually I receive this error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) purging mysql-server and mysql-client and reinstalling via the script gives the same problem.

windswept321 avatar Dec 25 '14 14:12 windswept321

/var/lib/dpkg/info/mysql-server-5.6.postinst: line 111: logger: command not found /var/lib/dpkg/info/mysql-server-5.6.postinst: line 189: logger: command not found dpkg: error processing mysql-server-5.6 (--configure): subprocess installed post-installation script returned error exit status 127 Setting up libhtml-template-perl (2.91-1) ... Setting up mysql-common-5.6 (5.6.21-1~dotdeb.1) ... dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.6; however: Package mysql-server-5.6 is not configured yet.

dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-5.6 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) mysql-server installed for mysqld mysql-client already installed start: Job failed to start invoke-rc.d: initscript mysql, action "start" failed. 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!

yylzcom avatar Dec 26 '14 12:12 yylzcom

Did someone figure this out? I'm getting the same error

amicheals avatar Feb 28 '15 19:02 amicheals

logger: command not found

This can be fixed by reinstalling bsdutils

apt-get --reinstall install bsdutils

Source

webmarkhq avatar Feb 28 '15 23:02 webmarkhq