[svc]线上Iptables重启报错

2023-05-29,,

线上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即可解决

[svc]线上Iptables重启报错的相关教程结束。

《[svc]线上Iptables重启报错.doc》

下载本文的Word格式文档,以方便收藏与打印。