centos7 Failed to start iptables.service: Unit not found

In CentOS 7 or Fedora or RHEL 7 firewall to manage the firewalld

Add to

firewall-cmd --zone = public --add-port = 80 / tcp --permanent (--permanent permanent, this does not restart the failed parameter)

firewall-cmd --zone=public --add-port=1000-2000/tcp --permanent 

Reload

firewall-cmd --reload

View

firewall-cmd --zone=public --query-port=80/tcp

delete

firewall-cmd --zone=public --remove-port=80/tcp --permanent

  

Intelligent Recommendation

CentOS7:Unit iptables.service not loaded

Today, I rented a few new cloud servers, configured the environment, and first set up a wave of Zookeeper clusters. Like the previous machine, turn off the firewall service iptables stop first, and su...

CentOS 7 firewall appears Failed to start iptables.service: Unit iptables.service failed to load

The following error message: With CentOS 6 has been used to it, I did not getting it. ": Unit iptables.service failed to load:. No such file or directory Failed to restart iptables.service" ...

Solve CentOS7 unit iptables.service failed to load: No such file or director

Scenes: Service iptables start / stop will cause an error when executing start, close or open firewall command in CentOS7            Failed to start iptables.service: Uni...

Failed to stop iptables.service: Unit iptables.service not loaded.

When the firewall is closed, it appears: Solution: yum install iptables-services In fact, after centos7 is based on iptable systemctl stop firewalld...

CentOS7 install mysql start error (Failed to start mysqld.service:. Unit not found)

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...

More Recommendation

Start MySQL database prompt in centOS7: Failed to start mysqld.service: Unit not found

phenomenon: Prompt to start MySQL database in centOS7: It is clearly installed, why does the prompt not exist? the reason: In CentOS7, mysql is no longer supported. Even if you have already installed ...

Centos7 install mysql solve Failed to start mariadb.service: Unit not found.

There are many errors involved. A ring sets a ring. First install problem Will report an error: Failed to start mariadb.service: Unit not found. Then use the command systemctl start mariadb, the promp...

Failed to Start FireWall.Service: Unit Not Found when CentOS7 starts the firewall.

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...

Centos7 Install MySQL error Failed to Start Mariadb.Service: Unit Not Found

Download installation package   Start service At this time, the wrong failed to start mariadb.service: Unit Not Found .; When YUM is installed, it will verify that the package is officially relea...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top