LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with insmod on ip_tables (https://www.linuxquestions.org/questions/linux-software-2/problem-with-insmod-on-ip_tables-113109/)

JoAnywhere 11-06-2003 01:13 PM

Problem with insmod on ip_tables
 
Hiya all,
I am running redhat 7.3 with kernel 2.4.20, and iptables 1.2.8

I have downloaded Guarddog 2.1.0 (that latest version with a RH7.3 Binary RPM), and am trying to get it up and running.

However, when I apply firewall rules it has a fit over trying to update ip_tables, and in fact, if I do an
Code:

insmod iptables
I get the following error
Code:

Using /lib/modules/2.3.20-20.7/kernel/net/ipv4/netfilter/ip_tables.o
/lib/modules/2.3.20-20.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.
You may find more information is syslog or the output from dmesg

I've checked dmesg, and the output there all seems sane.

Any thoughts on what is going on here?

Cheers
Jo

JoAnywhere 11-06-2003 01:38 PM

Guys and Gals,
I have solved my own problem.

I did a little research (and should have done before I posted DOH).

It turns out that RH7.3 loads Both ipchains and iptables. ipchains and iptables don't play nicely together and infact conflict badly. The answer... remove from the various /etc/rc.d/rc<n>.d folders the scripts that load ipchains for the different run levels (you could only remove/rename the script in the run level folder you normally use, but that seems risky to me).

Easy peasey when you know how :))

Regards
Jo


All times are GMT -5. The time now is 08:59 PM.