Today I want to turn off the firewall on centos, check some blogs, execute commands
systemctl status firewalld.service
Unit firewalld.service could not be found.
Then I checked a lot of information and said that it would be solved by executing the following
systemctl unmask firewalld.service
But it was wrong again
Failed to start firewalld.service: Unit not found.
It ’s a headache, Baidu ’s stereotyped answer ca n’t be solved,
Finally found the problem
In fact, it is to exclude whether you have installed this firewalld
yum install firewalld
systemctl unmask firewalld
systemctl enable firewalld
systemctl start firewalld
After executing the above commands in turn, I finally found it ok
Other commands
systemctl start firewalld.service //Turn on the firewall
systemctl stop firewalld.service //Turn off the firewall
systemctl enable firewalld.service //Set automatic startup
systemctl disable firewalld.service //Set to turn off and start the brake to start
firewall-cmd --reload //Reload the firewall without changing the state
Finally solved, the world is quiet!
Problem Description: Because Digitalocean with a 5 $ whore for a year of servers, not white do not think so want to own a new project to deploy to the server, but need to develop port 8080, the Intern...
A question found when playing Linux today: The firewall can't open. I just started to check the FireWall settings: I found that the firewall didn't open, and set it up to open it.The result is still n...
Article catalog Problem Description Reason for problems Other orders Problem Description I want to open the port under CentOS to start the firewall when starting the firewall. The problems encountered...
If we are fromCentOS6The transition toCentOS7If the system comes, you will find the originaliptablesBefirewalldReplaced, and the corresponding command format is slightly changed. Today, the old left h...
firewalld service is locked, you can not add the corresponding port. Lock execute the command, you can achieve canceled services The next time the need to lock the service...
Centosos Open Port Details Steps First, Centosos open port Second, there is "firewalld is not running" Third, "Failed to Start FireWallD.Service: Unit Is Masked" Alibaba Cloud serv...
Find See this addressTo check Add the previously used python version after the first line carry on Find Start the firewall service firewalld start Look at the highlighted part first and find that ther...
Original address: Execute in CentOS7 Error: Redirecting to /bin/systemctl restart iptables.service Failed to restart iptables.service: Unit not found. The reason is because CentOS7 uses firewal...
First, the problem: 1, there is no problem when CentOS7 install mysql, install the following commands: yum -y install mysql mysql-server mysql-devel 2, when you start my...