Linux_防火墙无法启动问题

当查看防火墙状体的时候报如下错误

● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since 四 2024-03-07 07:42:16 CST; 7s ago
     Docs: man:firewalld(1)
  Process: 2521 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
 Main PID: 2521 (code=exited, status=0/SUCCESS)

3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will ...g it now.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: ipset not usable, disabling ipset usage in firewall.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: Failed to load nf_conntrack module: modprobe: ERROR: could not find module by name='nf_conntrack'
                                                        modprobe: ERROR: could not insert 'nf_conntrack': Function not implemented
                                                        modprobe: ERROR: Error running install command for nf_conntrack...
3月 07 07:42:16 localhost.localdomain firewalld[2521]: ERROR: Failed to read file "/proc/sys/net/netfilter/nf_conntrack_helper": [Errno 2] 没有那个文件或目…ack_helper'
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: Failed to get and parse nf_conntrack_helper setting
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: iptables not usable, disabling IPv4 firewall.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: ip6tables not usable, disabling IPv6 firewall.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: WARNING: ebtables not usable, disabling ethernet bridge firewall.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: FATAL ERROR: No IPv4 and IPv6 firewall.
3月 07 07:42:16 localhost.localdomain firewalld[2521]: ERROR: Raising SystemExit in run_server
Hint: Some lines were ellipsized, use -l to show in full.

我和我的好哥哥拼死解决最终找到了一篇博文
https://www.cnblogs.com/hyyx/p/16902282.html

但是我还是不知知道为什么,按照着执行了一下就成功启动了
在这里插入图片描述

  • 9
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值