LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unloading iptables modules FAILED (https://www.linuxquestions.org/questions/linux-newbie-8/unloading-iptables-modules-failed-812093/)

linson_85 06-04-2010 03:03 AM

Unloading iptables modules FAILED
 
Hi,

I'm getting error while stopping Iptables service on my machine

[root@Core ~]# /etc/init.d/iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: mangle filter [ OK ]
Unloading iptables modules: [FAILED]

I found that updating "no" to the line ie
IPTABLES_MODULES_UNLOAD="no" in file /etc/sysconfig/iptables-config file will eliminate warning while stopping the service where it was set to "yes" by default.Can someone help me why it is unable to unload modules.I haven't configured any rules in it

[root@Core ~]# iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:631
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Note : OS version - Centos 5.3 (Final)

Awaiting response.
Thanks!

Regards,
Linson

alli_yas 06-04-2010 03:22 AM

What version of Fedora are you running - trawling the www I've found that this is a common kernel bug in older versions of Fedora - and your method of solving it is what most people adopted.

linson_85 06-05-2010 09:11 AM

I'm using Open VZ kernel running on centos 5.3


All times are GMT -5. The time now is 09:12 PM.