Skip to contentSkip to conversation

iptables-restore v1.2.5: can't initialize iptables table `': Table does not exist (do you need to insmod?) <<Help>>

DISCUSSION Krishna 2 participants 7 messages Sep 24, 2002 – Sep 25, 2002

lore
Share & tools
lore

Krishna

author
#0 lore raw

Hi,

I switched from ipchains to iptables. But whenever I start iptables it gives me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and iptables are loaded.
That means the modules for iptables has loaded also I can see that modules for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables
The table goes like this
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................
I am using RedHAt 7.1 and kernel 2.4.2-2
What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

#1 lore raw

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

I think the iptables could not reach to the file /etc/sysconfig/iptables
Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table `': Table does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start iptables it

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table does

not

Quoted 27 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and iptables are loaded.
That means the modules for iptables has loaded also I can see that modules for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables
The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2
What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

author
#2 lore raw

Hi,
It gives the same error

iptables-restore v1.2.5: can't initialize iptables table `': Table does not
exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:05 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 4 lines

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

Quoted 8 lines

I think the iptables could not reach to the file /etc/sysconfig/iptables
Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table `':

Table

Quoted 18 lines

does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start iptables it

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table does

not

Quoted 7 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and iptables are loaded.
That means the modules for iptables has loaded also I can see that

modules

Quoted 20 lines
Quoted 20 lines

for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2 What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

#3 lore raw

You should send us the complete error message, which table the iptables could not recognize
DHarmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:00 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 4 lines

Hi,
It gives the same error

iptables-restore v1.2.5: can't initialize iptables table `': Table does

not

Quoted 6 lines

exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

regards
Krishna

Quoted 16 lines

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:05 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 5 lines

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

I think the iptables could not reach to the file

/etc/sysconfig/iptables

Quoted 7 lines
Quoted 7 lines

Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table `':

Quoted 11 lines

Table

Quoted 10 lines

does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start iptables it

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table

does

Quoted 6 lines
Quoted 6 lines

not

Quoted 5 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and iptables

are

Quoted 25 lines
Quoted 2 lines
Quoted 2 lines

loaded.
That means the modules for iptables has loaded also I can see that

modules

Quoted 20 lines
Quoted 20 lines

for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2 What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

author
#4 lore raw

Hi,
This is all what I get!
I have made rules in /etc/sysconfig/iptables and the /etc/rc.d/init.d/iptables points to this file and starts it.

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:27 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 11 lines

You should send us the complete error message, which table the iptables could not recognize
DHarmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:00 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 19 lines
Quoted 4 lines

Hi,
It gives the same error

iptables-restore v1.2.5: can't initialize iptables table `': Table does

not

Quoted 14 lines

exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:05 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 23 lines
Quoted 8 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 5 lines

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

I think the iptables could not reach to the file

/etc/sysconfig/iptables

Quoted 14 lines
Quoted 7 lines

Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table `':

Table

Quoted 6 lines

does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start iptables

it

Quoted 37 lines
Quoted 4 lines
Quoted 4 lines

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table

does

Quoted 6 lines
Quoted 6 lines

not

Quoted 5 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and iptables

are

Quoted 25 lines
Quoted 2 lines
Quoted 2 lines

loaded.
That means the modules for iptables has loaded also I can see that

modules

Quoted 20 lines
Quoted 20 lines

for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2 What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

#5 lore raw

I can see only two rules in your mail. These two rules should not give any problem like this. I guess that you have more rules which is giving this error. Have you cheked whether the input chain is dropped completely. If the input chain is getting dropped completely you may have to recompile the kernel with all the modules(netfilter) and check again
Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:24 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 8 lines

Hi,
This is all what I get!
I have made rules in /etc/sysconfig/iptables and the /etc/rc.d/init.d/iptables points to this file and starts it.

regards
Krishna

Quoted 19 lines

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:27 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 8 lines

You should send us the complete error message, which table the iptables could not recognize
DHarmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:00 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 7 lines
Quoted 7 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 4 lines

Hi,
It gives the same error

iptables-restore v1.2.5: can't initialize iptables table `': Table

does

Quoted 15 lines
Quoted 15 lines

not

Quoted 14 lines

exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:05 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table

Quoted 17 lines

`':

Quoted 16 lines
Quoted 8 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 5 lines

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

I think the iptables could not reach to the file

/etc/sysconfig/iptables

Quoted 7 lines
Quoted 7 lines

Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Table

Quoted 6 lines

does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start

iptables

Quoted 12 lines

it

Quoted 11 lines
Quoted 4 lines
Quoted 4 lines

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `': Table

does

Quoted 6 lines
Quoted 6 lines

not

Quoted 5 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and

iptables

Quoted 28 lines
Quoted 26 lines

are

Quoted 25 lines
Quoted 2 lines
Quoted 2 lines

loaded.
That means the modules for iptables has loaded also I can see that

modules

Quoted 20 lines
Quoted 20 lines

for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2 What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless

author
#6 lore raw

Hi,
I got it working. The problem was in the firewall rules. This time I
first made rules and then saved it and it
started.

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 6:34 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

I can see only two rules in your mail. These two rules should not give any problem like this. I guess that you have more rules which is giving this error. Have you cheked whether the input chain is dropped completely. If

the

Quoted 28 lines

input chain is getting dropped completely you may have to recompile the kernel with all the modules(netfilter) and check again Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:24 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table `':
Table does not exist (do you need to insmod?) <<Help>>

Quoted 16 lines

Hi,
This is all what I get!
I have made rules in /etc/sysconfig/iptables and the /etc/rc.d/init.d/iptables points to this file and starts it.

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>; <[email protected]>
Sent: Tuesday, September 24, 2002 5:27 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 4 lines
Quoted 4 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 1 line

You should send us the complete error message, which table the

iptables

Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

could not recognize
DHarmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 5:00 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 21 lines
Quoted 7 lines
Quoted 7 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 4 lines

Hi,
It gives the same error

iptables-restore v1.2.5: can't initialize iptables table `': Table

does

Quoted 13 lines
Quoted 13 lines

not

Quoted 12 lines

exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless
----- Original Message -----
From: Dharmendra.T <[email protected]>
To: Krishna <[email protected]>;

<[email protected]>

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Sent: Tuesday, September 24, 2002 5:05 PM
Subject: Re: iptables-restore v1.2.5: can't initialize iptables

table

Quoted 18 lines
Quoted 17 lines

`':

Quoted 16 lines
Quoted 8 lines

Table does not exist (do you need to insmod?) <<Help>>

Quoted 5 lines

Hi Krishna,
Have you tried it manually?
#iptables-restore < /etc/sysconfig/iptables

I think the iptables could not reach to the file

/etc/sysconfig/iptables

Quoted 7 lines
Quoted 7 lines

Regards
Dharmu
----- Original Message -----
From: "Krishna" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 24, 2002 4:16 PM
Subject: iptables-restore v1.2.5: can't initialize iptables table

`':

Quoted 13 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Table

Quoted 6 lines

does not exist (do you need to insmod?) <<Help>>

Quoted 3 lines

Hi,

I switched from ipchains to iptables. But whenever I start

iptables

Quoted 5 lines

it

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

gives

Quoted 3 lines

me this error.

iptables-restore v1.2.5: can't initialize iptables table `':

Table

Quoted 11 lines
Quoted 7 lines
Quoted 7 lines

does

Quoted 6 lines
Quoted 6 lines

not

Quoted 5 lines

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

lsmod shows that iptable_mangle,iptable_nat,ip_conntrack,iptable_filter and

iptables

Quoted 3 lines
Quoted 3 lines

are

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

loaded.
That means the modules for iptables has loaded also I can see

that

Quoted 26 lines
Quoted 25 lines
Quoted 23 lines
Quoted 23 lines

modules

Quoted 20 lines
Quoted 20 lines

for ipchains are not loaded and that is right.

The iptables file is in /etc/sysconfig/iptables The table goes like this

(quoted diff) +0 -2
-P INPUT DROP
-A FORWARD -s 192.168.0.0/24 -j MASQUERADE
.......
...........
........................

I am using RedHAt 7.1 and kernel 2.4.2-2 What could be the problem?

regards
Krishna

Krishna Shekhar
Network Administrator
Wiplash Wireless