chengtong 发表于 2011-7-25 14:34:15

iptables重启出错

我的linode系统信息My CentOS 5.6 Profile (Latest 2.6 Paravirt (2.6.39.1-linode34))
重启iptable:
#service iptables restart
Flushing firewall rules:                                 
Setting chains to policy ACCEPT: security raw nat mangle fi
Unloading iptables modules:                              
Applying iptables firewall rules:                        
Loading additional iptables modules: ip_conntrack_netbios_n

客服回复:
The issues you're experiencing with "iptables" is due to our paravirt kernel having a "security" chain compiled into it, and the default "iptables" init script included with CentOS does not know how to handle it. You are able to resolve this issue by downloading an amended version of the "iptables" init script. Please issue the following commands as the "root" user:

cd /etc/init.d
mv iptables ~/iptables.bak
wget http://epoxie.net/12023.txt && cat 12023.txt | tr -d '\r' > iptables
chmod +x iptables
rm -rf 12023.txt

"iptables" should now start successfully:

service iptables restart



按照客服要求做了,
再一次重启。结果,杯具,还是有错误:

# service iptables restart
Flushing firewall rules:                                 
Setting chains to policy ACCEPT: security raw nat mangle fi
Unloading iptables modules:                              
Applying iptables firewall rules:                        
Loading additional iptables modules: ip_conntrack_netbios_n

licess 发表于 2011-7-25 15:17:03

换个低版本的centos试试

剑书 发表于 2011-7-25 19:19:26

我从前在Linode的CentOS5.5下也碰到过。

去后台换个kernel然后重启看看
页: [1]
查看完整版本: iptables重启出错