gilles@ubuntu:~$ bash -x /etc/init.d/mysql start + set -e + set -u + test -x /usr/sbin/mysqld +++ dirname /etc/init.d/mysql ++ cd /etc/init.d ++ pwd -P ++ basename /etc/init.d/mysql + SELF=/etc/init.d/mysql + CONF=/etc/mysql/my.cnf + MYADMIN='/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf' + ERR_LOGGER='logger -p daemon.err -t /etc/init.d/mysql -i' + cd / + umask 077 + export PATH=/bin:/usr/bin + PATH=/bin:/usr/bin + export HOME=/etc/mysql/ + HOME=/etc/mysql/ + case "${1:-''}" in + '[' '!' -r /etc/mysql/my.cnf ']' + echo -n 'Starting MySQL database server: mysqld' Starting MySQL database server: mysqld+ mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + /usr/bin/mysqld_safe + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + for i in 1 2 3 4 5 6 + sleep 1 + mysqld_status check_alive nowarn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' nowarn = warn ']' + return 1 + mysqld_status check_alive warn ++ /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping + ping_output='/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!' + ping_alive=0 + ps_alive=0 ++ mysqld_get_param pid-file ++ /usr/sbin/mysqld --print-defaults ++ tr ' ' '\n' ++ grep -- --pid-file ++ tail -n 1 ++ cut -d= -f2 + pidfile=/var/run/mysqld/mysqld.pid + '[' -f /var/run/mysqld/mysqld.pid ']' + '[' check_alive = check_alive -a 0 = 1 ']' + '[' check_alive = check_dead -a 0 = 0 -a 0 = 0 ']' + '[' warn = warn ']' + /bin/echo -e '0 processes alive and '\''/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping'\'' resulted in\n/usr/bin/mysqladmin: connect to server at '\''localhost'\'' failed error: '\''Can'\''t connect to local MySQL server through socket '\''/var/run/mysqld/mysqld.sock'\'' (111)'\'' Check that mysqld is running and that the socket: '\''/var/run/mysqld/mysqld.sock'\'' exists!\n' + logger -p daemon.err -t /etc/init.d/mysql -i -p daemon.debug + return 1 + echo ...failed. ...failed. + /bin/echo -e '\tPlease take a look at the syslog.' Please take a look at the syslog. + /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf variables + egrep -q 'have_bdb.*YES' /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! gilles@ubuntu:~$