问题描述

启动 firewalld systemctl start firewalld 时命令卡住不动不返回,Ctrl+C 取消后,systemctl status firewalld 提示启动状态超时,启动失败。

问题解决

#关闭firewalld服务
systemctl stop firewalld;
#关闭firewalld进程
pkill -f firewalld;
#启动firewalld服务
systemctl start firewalld;

到此就正常了。

官方的说法是可能 systemd 不知道自己没启动firewalld成功,在那一直等着?

systemd didn’t know about the process that it didn’t start in the first place of course

参考官方博客:https://centosfaq.org/centos/centos-7-firewalldservice-operation-time-out-systemctl-firewalld-issues/

相关文章:

  • 2022-12-23
  • 2021-06-16
  • 2022-02-01
  • 2021-07-24
  • 2021-09-14
  • 2021-05-29
  • 2021-12-21
  • 2021-06-14
猜你喜欢
  • 2022-01-26
  • 2021-08-19
  • 2022-12-23
  • 2021-10-24
  • 2021-08-18
  • 2022-12-23
  • 2021-12-13
相关资源
相似解决方案