CentOS7 启动 firewalld 防火墙失败,查看日志提示超时

问题描述

启动 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/

本文作者:东北小狐狸

本文链接:https://www.cnblogs.com/hellxz/p/15672742.html

版权声明:本作品采用自由转载-非商用-非衍生-保持署名 (CC BY-NC-ND 3.0)许可协议进行许可。

posted @   东北小狐狸  阅读(1422)  评论(0编辑  收藏  举报
历史上的今天:
2019-12-10 Spring Security OAuth2 Demo —— 授权码模式 (Authorization Code)
2017-12-10 【编程思想笔记】内部类的初始化
点击右上角即可分享
微信分享提示
💬
评论
📌
收藏
💗
关注
👍
推荐
🚀
回顶
收起