會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

Linux/Unix » ip_tables.o: init_module: Device or resource busy

發表人: andowson, 七段學員
2010-10-30 16:03:59
今天在 Red Hat Linux 7.3 上遇到同樣的問題,而且重開機之後還是無效 smilie

錯誤訊息大致如下:
[root@eip2 root]# iptables -L -n
/lib/modules/2.4.20-28.7/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.20-28.7/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.20-28.7/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.20-28.7/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


連重新安裝iptables也無效 smilie

後來找到下列這篇文章,終於找到解法了:
http://phorum.study-area.org/index.php?topic=13185.0

因為Red Hat 7.3內建了ipchains及iptables 2種firewall。而且用chkconfig --list | grep ip 去查,發現在啟動時2個都有設為啟動,不過似乎ipchains會比iptables優先啟動。
解決方式如下:
將ipchains給disable掉
chkconfig ipchains off
然後再重新開機(不重新開機沒辦法關閉ipchains),就可以了。




會員註冊 / 登入  |  電腦版  |  Jump to top of page