真机防火墙无法打开该如何解决 ~

无法打开真机火墙该怎么解决?

[root@foundation66 ~]# systemctl start firewalld
Job for firewalld.service failed because a timeout was exceeded. See "systemctl status firewalld.service" and "journalctl -xe" for details.
[root@foundation66 ~]# systemctl status firewalld.service

在这里插入图片描述

解决方案:

@1先关闭虚拟机
[root@foundation66 ~]# systemctl stop libvirtd.service 
@2重新启动火墙
[root@foundation66 ~]# systemctl start firewalld.service
[root@foundation66 ~]# systemctl status firewalld.service

在这里插入图片描述

##如果你正在使用虚拟机,记得再启动虚拟机
[root@foundation66 ~]# systemctl start libvirtd.service 

猜你喜欢

转载自blog.csdn.net/lilygg/article/details/83582336