[root@VM_0_15_centos ~]# systemctl start firewalld
Failed to start firewalld.service: Unit is masked.
装防火墙的时候,遇到了这个错误。
查了一下,firewalld服务被锁定了,取消锁定即可。
[root@VM_0_15_centos ~]# systemctl unmask firewalld
.Removed symlink /etc/systemd/system/firewalld.service.
后续如需重新锁定,也可:
[root@VM_0_15_centos ~]# systemctl mask firewalld