SIM keeps restarting mysql
I've installed SIM to test it out on my debian server.It seemed to work fine, but it keeps restarting MySQL because it thinks mysql is down.
I've tried upgrading to SIM3, but it gives the same prob. Anyone got a solution?
This is my config for mysql.mod
#sim_modv3x
#disable
socket_port=3306
down_recheck=1
down_recheck_delay=3
if [ -f "/etc/init.d/mysql" ]; then
init_name=mysql
elif [ -f "/etc/init.d/mysqld" ]; then
init_name=mysqld
fi
run_name=mysqld
mysql_sock="/var/lib/mysql/mysql.sock"
mysql_tmpsock="/tmp/mysql.sock"
chk_sock_mysql="1"
chk_mysql_sock
serv_init $init_name $run_name 4