这是firewalld服务被锁定了,所以取消firewalld的锁定即可。
firewalld
取消firewalld的锁定
systemctl unmask firewalld
开启防火墙
systemctl start firewalld
查看防火墙状态
systemctl status firewalld
systemctl