These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for MYSQl server wont start on the new forum.
osku@localhost:/$ sudo /etc/init.d/mysql start Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
How do i reinstall that server?
ul 8 19:42:19 localhost mysqld[28087]: 100708 19:42:19 InnoDB: Started; log sequence number 0 43665 Jul 8 19:42:19 localhost mysqld[28087]: 100708 19:42:19 [ERROR] Can't start server : Bind on unix socket: Permission denied Jul 8 19:42:19 localhost mysqld[28087]: 100708 19:42:19 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysqld.sock ? Jul 8 19:42:19 localhost mysqld[28087]: 100708 19:42:19 [ERROR] Aborting Jul 8 19:42:19 localhost mysqld[28087]: Jul 8 19:42:19 localhost mysqld[28087]: 100708 19:42:19 InnoDB: Starting shutdown... Jul 8 19:42:21 localhost mysqld[28087]: 100708 19:42:21 InnoDB: Shutdown completed; log sequence number 0 43665 Jul 8 19:42:21 localhost mysqld[28087]: 100708 19:42:21 [Note] /usr/sbin/mysqld: Shutdown complete Jul 8 19:42:21 localhost mysqld[28087]: Jul 8 19:42:21 localhost mysqld_safe[28149]: ended Jul 8 19:42:28 localhost /etc/init.d/mysql[28285]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Jul 8 19:42:28 localhost /etc/init.d/mysql[28285]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Jul 8 19:42:28 localhost /etc/init.d/mysql[28285]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Jul 8 19:42:28 localhost /etc/init.d/mysql[28285]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Jul 8 19:42:28 localhost /etc/init.d/mysql[28285]: Jul 8 19:42:33 localhost /etc/init.d/mysql[28341]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Jul 8 19:42:33 localhost /etc/init.d/mysql[28341]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed Jul 8 19:42:33 localhost /etc/init.d/mysql[28341]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Jul 8 19:42:33 localhost /etc/init.d/mysql[28341]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
.. your system is not ready for use by Virtualmin.
/var/run/mysqld/ directory is empty???
Fixed: chown mysql:mysql /var/run/mysqld
After that, reboot and it works!
I'm glad you got it working!
Thanks for the info on how you got it fixed.
-Eric