[CentOS] iptables.service listed as: not-found inactive dead

Alexander Farber alexander.farber at gmail.com
Tue May 31 12:57:15 UTC 2016


Hello fellow CentOS users,

on a freshly installed 7.2 machine and after reading

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/chap-Managing_Services_with_systemd.html

I try to enable iptables with following commands:

# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)

# rpm -qa | grep iptables
iptables-1.4.21-16.el7.x86_64

# sudo systemctl list-units --type service --all | grep iptables
● iptables.service                       not-found inactive dead
 iptables.service

# sudo systemctl enable iptables.service
Failed to execute operation: No such file or directory

What missing file is meant here please?

Thank you
Alex



More information about the CentOS mailing list