This is my problem; I tried to install MyDNS, during the install process something messed up mysql so not it wont start, stop or work! If you kill it manually (killall -9 mysqld) It just restarts by itself :| Anyone got a solution? This is what I get when I try to re-install mysql-server Code: apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: mysql-server 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. Need to get 0B/47.5kB of archives. After unpacking 86.0kB of additional disk space will be used. (Reading database ... 27768 files and directories currently installed.) Unpacking mysql-server (from .../mysql-server_5.0.38-0ubuntu1_all.deb) ... * Stopping MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "stop" failed. invoke-rc.d returned 1 There is a MySQL server running, but we failed in our attempts to stop it. Stop it yourself and try again! dpkg: error processing /var/cache/apt/archives/mysql-server_5.0.38-0ubuntu1_all.deb (--unpack): subprocess pre-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/mysql-server_5.0.38-0ubuntu1_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
Maybe a cron job? Or do you use monit (see http://www.howtoforge.com/server_monitoring_with_munin_monit_debian_etch_p2 )?
I don't have monit, so it have to be a cron problaby =/ But it's not listed in the crontab. What could it be? :|