Skip to contentSkip to conversation

iptables v1.2.7a: can't initialize iptables table `filter'

DISCUSSION prince 2 participants 4 messages Jan 13, 2004 1 message not in the archive

lore
Share & tools
lore

prince

author
#0 lore raw

Dear Group,

I am getting the following whenever I tried to do any operation with iptables.

% iptables -L

iptables v1.2.7a: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

% rpm -qa | grep kernel
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-28.9
kernel-BOOT-2.4.20-28.9
kernel-doc-2.4.20-28.9
kernel-source-2.4.20-28.9

% lsmod
Module Size Used by Not tainted

e1000                  54528   1 
ext3                   61280   2 
jbd                    46804   2  [ext3]
3w-xxxx                36192   3 
sd_mod                 11916   6 
scsi_mod               63416   2  [3w-xxxx sd_mod]

How do I get this resolved? It seems the problem is after I upgraded the kernel. I am running RH 9.

Thanks,
Prince.

#1 lore raw
Quoted 1 line · prince

How do I get this resolved? It seems the problem is after I upgraded the kernel. I am running RH 9.

What does 'uname -a' return? perhaps you've upgraded the modules but booted the wrong kernel?

Alex

author
#2 lore raw

Alex!,
Please find the output of 'uname -a'

Linux dev9.my-comp.com 2.4.20-28.9BOOT #1 Thu Dec 18 13:27:13 EST 2003 i686 i686 i386 GNU/Linux

Tim:
I don't think I have ipchains running.

% rpm -qa | grep ipchain retuns nothing.

% rpm -qa | grep iptables
iptables-1.2.7a-2

Note: Recently there was an security alert from RedHat (forwarded by the hosting provider) to upgrade the kernel to the latest version. so, I did upgrade the kernel. Probably this might have reomved something else. But, I don't know how to verify this. Even if it is the case, how do I get the iptables working again?

Thanks,
Prince.

On Tue, 13 Jan 2004 11:35:49 +1100, Alex Satrapa wrote

Quoted 8 lines
Quoted 2 lines · prince

How do I get this resolved? It seems the problem is after I upgraded the kernel. I am running RH 9.

What does 'uname -a' return? perhaps you've upgraded the modules but booted the wrong kernel?

Alex

author
#4 lore raw
In reply to a message not in the archive

Thanks Vjr.

"Verify the modules iptables are compile to your kernel". How do I do this? I am not so good at Linux administration.

Prince.

On Tue, 13 Jan 2004 07:55:06 -0200, VJr wrote

Quoted 55 lines

Hello! ;)

Try use
/sbin/insmod /lib/modules/2.4.20/kernel/net/ipv4/netfilter/iptable_filter.o

iptables -L

Verify the modules iptables are compile to your kernel (my english is bad )

;0

VJr

----- Original Message -----
From: prince <[email protected]>
To: <[email protected]>
Sent: Monday, January 12, 2004 10:19 PM
Subject: iptables v1.2.7a: can't initialize iptables table `filter'

Quoted 3 lines

Dear Group,

I am getting the following whenever I tried to do any operation with

iptables.

Quoted 4 lines

% iptables -L

iptables v1.2.7a: can't initialize iptables table `filter': iptables who?

(do

Quoted 26 lines

you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

% rpm -qa | grep kernel
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-28.9
kernel-BOOT-2.4.20-28.9
kernel-doc-2.4.20-28.9
kernel-source-2.4.20-28.9

% lsmod
Module Size Used by Not tainted

e1000                  54528   1
ext3                   61280   2
jbd                    46804   2  [ext3]
3w-xxxx                36192   3
sd_mod                 11916   6
scsi_mod               63416   2  [3w-xxxx sd_mod]

How do I get this resolved? It seems the problem is after I upgraded the kernel. I am running RH 9.

Thanks,
Prince.