deepin关机卡在图标界面 a stop job is running for mysql Community...10min
Tofloor
poster avatar
hans941
deepin
2018-03-22 00:52
Author
本帖最后由 hans941 于 2018-3-21 17:22 编辑

deepin关机卡在图标界面 a stop job is running for mysql Community service (20s/10min)必须等到转到10分钟才能关机

一些尝试解决的参考贴:
https://askubuntu.com/questions/892026/shutdown-hangs-on-a-stop-job-is-running-to-for-mysql-community-server-on-ubunt/907215
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1600164/comments/11
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1600164
Reply Favorite View the author
All Replies
avatar
hans941
deepin
2018-03-22 01:12
#1
本帖最后由 hans941 于 2018-3-21 17:49 编辑

已解决
两种方案
1.查找 ’=600‘ 这个字符所在位置 发现是在 /etc/systemd/system/multi-user.target.wants/mysql.service
修改/etc/systemd/system/multi-user.target.wants/mysql.service文件中TimeoutSec=10

2.关机前自己停止mysql的服务


本质上应该是时区的问题,大神可以解答下为什么~
Reply View the author
avatar
jingle
deepin
2018-03-22 04:06
#2
tty什么的可以操作??有grub界面出现嘛?
Reply View the author