Linux error: redirecting to / bin / systemctl status iptables.service unit iptables.service could not be fou

tags: Linux  

CentOS View firewall status

service iptables status

An error message:

Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.

Solution:

yum install iptables-services

After downloading, re-run, the following code appears, that is, it can be used.

[root@VM-0-16-centos ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

Intelligent Recommendation

Centos7 Unit iptables.service Could Not Be found

Centos7 default firewall is not iptables, but FireWalle. This situation may be that the iptables firewall is not installed. CentOS7 default firewall is not iptables, but Firewalle. This situation may ...

centos7 linux ailed to stop iptables.service: Unit iptables.service not loaded.

Because virtual machines under use win install Linux. But the win is can ping of Linux. But using the browser method Linux service win the next time, can not access. Suspected to be a firewall problem...

Unit iptables.service could not be found.(Firewall problem)

Problem: Checking the firewall status appears: solution: Install iptables-services 2. Start iptables Now execute to check the firewall status, stop and start it View firewall status: Turn off the fire...

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

More Recommendation

Failed to restart iptables.service: Unit not found.

In CentOS 7, the firewall has been managed by firewalld, and CentOS7 has firewallD by default. No installation can be installed with the yum command, and the iptables is not small. View firewall statu...

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

    The following error message: (1) Close firewalld: systemctl stop firewalld systemctl mask firewalld (2) use the iptables service: 1. Installation iptables-services:  yum install ipt...

CentOS7 Turn off the firewall: failed to stop iptables.service: unit iptables.service not loaded.

Project scene: CentOS7 closes the firewall appearance: Failed to stop iptables.service: Unit iptables.service not loaded. Problem Description: CentOS7 executes: Service iptables stops appears when the...

Redirecting to /bin/systemctl start mysqld.service Failed to start mysqld.service: Unit not found.

In order to build svn under the local server, install mysql in CentOS, use yum install mysql-server mysql mysql-devel to install mysql but the mysql service cannot be started Use service mysqld start ...

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

Top