美文网首页
centos在关机或开机时一直等待,提示A stop job i

centos在关机或开机时一直等待,提示A stop job i

作者: Cindy_lina | 来源:发表于2017-08-08 11:57 被阅读0次

问题现象:在centos在关机或开机时一直等待,等待时间久,卡住时间久

关机或开机等待

解决方案一:通过systemd的设置项跳过

# vim /etc/systemd/system.conf
   DefaultTimeoutStartSec=15s
   DefaultTimeoutStopSec=15s
systemctl daemon-reload

解决方案二:不设置MySQL为开机启动项

# systemctl disable mysqld.service

相关文章

网友评论

      本文标题:centos在关机或开机时一直等待,提示A stop job i

      本文链接:https://www.haomeiwen.com/subject/ucrtrxtx.html