Failed to stop iptables.service: Unit iptables.service not loaded.
2016-10-25 21:10
561 查看
redhat 7
[root@lk0 ~]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
[root@lk0 ~]#
[root@lk0 ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
客户端telnet ip 8088 , 不通, 郁闷!
原来 redhat 7 的防火墙不能那么关。。。
http://jingyan.baidu.com/article/e52e3615a9009440c70c5162.html
使用systemctl 就ok了!
systemctl stop firewalld
systemctl status firewalld
systemctl disable firewalld
systemctl enable firewalld
[root@lk0 ~]# service iptables stop
Redirecting to /bin/systemctl stop iptables.service
Failed to stop iptables.service: Unit iptables.service not loaded.
[root@lk0 ~]#
[root@lk0 ~]# service iptables status
Redirecting to /bin/systemctl status iptables.service
● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
客户端telnet ip 8088 , 不通, 郁闷!
原来 redhat 7 的防火墙不能那么关。。。
http://jingyan.baidu.com/article/e52e3615a9009440c70c5162.html
使用systemctl 就ok了!
systemctl stop firewalld
systemctl status firewalld
systemctl disable firewalld
systemctl enable firewalld
相关文章推荐
- Failed to stop iptables.service: Unit iptables.service not loaded.
- 执行service iptables start出现redirecting to systemctl ...Failed to ...not loaded.
- Ubuntu 16.04下操作iptables的技巧(解决Failed to start iptables.service: Unit iptables.service not found.或者/etc/init.d/iptables: 没有那个文件或目录)
- nginx启动失败Failed to reload nginx.service: Unit not found.
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- 解决CentOS 7出现Failed to issue method call: Unit iptables.service failed to load: No such file or direc
- ubuntu 配置nfs 出现Failed to start nfs.service: Unit nfs.service not found
- CentOS 7 防火墙 出现Failed to start iptables.service: Unit iptables.service failed to load
- Fix “Unit iptables.service failed to load: No such file or directory” Error In CentOS7
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.
- 解决 RHEL 7/ CentOS 7/Fedora 出现Unit iptables.service failed to load
- 解决 RHEL 7/ CentOS 7/Fedora 出现Unit iptables.service failed to load
- Failed to start metasploit.service: Unit metasploit.service not found的解释
- Unit iptables.service failed to load - RHEL 7/ CentOS 7/Fedora 中的防火墙
- CentOS7关闭/开启防火墙出现 Unit iptables.service failed to load
- CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory
- 解决 RHEL 7/ CentOS 7/Fedora 出现Unit iptables.service failed to load
- 解决 RHEL 7/ CentOS 7/Fedora 出现Unit iptables.service failed to load
- 解决CentOS7关闭/开启防火墙出现Unit iptables.service failed to load: No such file or directory.