0

What is ”Unit firewalld.service failed to load” error?

Asked 4 years ago (Apr 20, 2021) in the field of Network and security by Batari

Hi. On my CentOS 7, I received an error. I guess it is related to the Firewall. How can I solve it, please?Error: Failed to restart firewalld.service: Unit firewalld.service failed to load: No such file or directory.


Answers


0
Answered 4 years ago (Apr 21, 2021) by Eldernode Staff

This error means that the firewall is not installed on your server. To install a firewall on the server, run the following commands:

yum -y install firewalld
systemctl enable firewalld
systemctl restart firewalld

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day