Home / مشکل خطای اجرای بعضی سرویس ها در webmin و centos

مشکل خطای اجرای بعضی سرویس ها در webmin و centos


بعضی از سرویس ها رو وقتی می خوای اجرا کنی این پیغام رو میده
webmin Failed to start service :  Another MySQL daemon already running with the same unix socket. Starting mysqld:  [FAILED]
دلیلش اینکه ممکنه سرور بد خاموش یا ریستارت شده
کامند مناسب برای خاموش کردن سرور یا VPS
shutdown -h now

برای ریست کردن

shutdown -r -t sec 30

برای رفع مشکل mysql
service mysqld stop

rm $(grep socket /etc/my.cnf | cut -d= -f2) && service mysqld start
یا
grep socket /etc/my.cnf | cut -d= -f2
mv /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock.bak # service mysqld start






     RSS of this page