AI 智能摘要
有蛮多小伙伴在使用BT宝塔面板的时候,为了安全起见都安装了系统防火墙,结果发现在安装完系统防火墙这个插件的时候,会一直卡在正在获取列表的状态,查看系统的firewalld的状态时候,会提示报错Warning:allowzonedrifting is enabled.This is等。这里给出解决办法。
有蛮多小伙伴在使用BT宝塔面板的时候,为了安全起见都安装了系统防火墙,结果发现在安装完系统防火墙这个插件的时候,会一直卡在正在获取列表的状态,查看系统的firewalld的状态时候,会提示报错Warning:allowzonedrifting is enabled.This is等。这里给出解决办法。
宝塔服务器面板,一键全能部署及管理,送你3188元礼包,点我领取
界面提示报错的代码如下:
Warning:allowzonedrifting is enabled.This is considered an insecure configuration option.It will be removed in a future release ... ling it now
![图片[1]-CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法-搬主题](https://cdn.banzhuti.com/2021/05/c4ca4238a0b9238-70.png)
![图片[2]-CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法-搬主题](https://cdn.banzhuti.com/2021/05/c81e728d9d4c2f6-22.png)
解决方案:
1、打开firewalld的配置文件:文件位置:/etc/firewalld/firewalld.conf找到
AllowZoneDrifting=yes
这个参数,改成
AllowZoneDrifting=no
![图片[3]-CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法-搬主题](https://cdn.banzhuti.com/2021/05/eccbc87e4b5ce2f-19.png)
2、重启系统防火墙:
systemctl restart firewalld
查看重启后的状态
systemctl status firewalld
![图片[4]-CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法-搬主题](https://cdn.banzhuti.com/2021/05/a87ff679a2f3e71-18.png)
3、正常打开系统防火墙
![图片[5]-CentOS7/8系统防火墙报错Warning:allowzonedrifting is enabled.This is…的解决办法-搬主题](https://cdn.banzhuti.com/2021/05/dca19ffa163054f.gif?imageMogr2/ignore-error/1/format/png)
© 版权声明
THE END






















暂无评论内容