centOS7防火墙关闭失败问题


CentOS7命令:
查看防火墙状态:firewall-cmd --state

  关闭防火墙:systemctl stop firewalld.service

  禁止开机自启:systemctl disable firewalld.service

 

我这里出现了一个小问题,以前没出现过的:执行以上命令后,再次查看防火墙状态居然还是running

 

用另一种命令:systemctl status firewalld查看防火墙状态,出现了Active: failed (Result: timeout)

 

解决办法:

  

执行以下命令后,恢复running:

  systemctl stop firewalld;pkill -f firewalld;systemctl start firewalld

 重复以上关闭命令就好了

》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》

然后就好了,如下:

 

 

 

 










  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM