[svc]线上Iptables重启报错

线上iptables重启了下发现报错,排查了下

[root@xxxx ~]# /etc/init.d/iptables restart

iptables: Setting chains to policy ACCEPT: filter nat [ OK ]

iptables: Flushing firewall rules: [ OK ]

iptables: Unloading modules: [ OK ]

iptables: Applying firewall rules: iptables-restore v1.4.7: Couldn't load target `ACCET':/lib64/xtables/libipt_ACCET.so: cannot open shared object file: No such file or directory

 

Error occurred at line: 27

Try `iptables-restore -h' or 'iptables-restore --help' for more information.

原来是iptables规则写错了

改成accept即可解决

posted @ 2016-10-25 13:39  _毛台  阅读(3832)  评论(0编辑  收藏  举报