宝塔linux面板mysql报错ERROR! Failed to stop running server, so refusing to try to sta
今天突然有个使用宝塔linux面板客户的线上mysql服务停止并无法启动,检查后发现根目录占用已经达到100%,清理日志腾出空间后执行启动命令:service mysqld restart 提示:Shutting down MySQL........................... ERROR!ERROR! Failed to stop running server, so refusing to try to start.
执行启动命令:service mysqld start,提示Starting MySQL SUCCESS! 启动成功,但实际是没有启动的,执行ps aux |grep mysqld查询mysql进程状态发现已经存在相关进程。
root 29626 0.0 0.0 108324 1656 ? S 12:14 0:00 /bin/sh /www/server/mysql/bin/mysqld_safe --datadir=/www/server/data --pid-file=/www/server/data/MyServer.pid --sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTIONmysql 30126 0.1 1.6 1099104 100916 ? Sl 12:14 0:00 /www/server/mysql/bin/mysqld --basedir=/www/server/mysql --datadir=/www/server/data --plugin-dir=/www/server/mysql/lib/plugin --user=mysql --sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION --log-error=MyServer.err --open-files-limit=65535 --pid-file=/www/server/data/MyServer.pid --socket=/tmp/mysql.sock --port=3306root 30714 0.0 0.0 103328 888 pts/5 S+ 12:26 0:00 grep mysqld
执行kill -9 进程号 kill掉再重新启动即可,如有疑问请回复帖子提出
页:
[1]