LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2003, 01:51 PM   #1
azncrkhead
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
Linux error on Iptables


I have a web server running on my linux 2.4.18. The problem I'm having is from the web server I can't ping out the the world or trace route. I have checked my firewall setting and all my ip setting and they are correct. From my local PC I can ping the ip address of the server. When I do a iptables -L, I get this message:

/lib/modules/2.4.18-3/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.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-3/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed
iptables v1.2.5: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Does anyone have any ideas on this. I more of a networking guy so this is still really new to me.

thanks in advance
 
Old 12-08-2003, 02:02 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
http://www.iptables.org/
The Netfilter HomePage: iptables 1.2.5
This version requires kernel >= 2.4.4 This version recommends kernel > 2.4.14

I suggest upgrading, you're lagging a few versions
behind.


Cheers,
Tink
 
Old 12-08-2003, 03:00 PM   #3
azncrkhead
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Do you think that is why is causing me not to route out to the world and back thru????
 
Old 12-08-2003, 04:14 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Since your firewall/NAT scripts are likely to be using
iptables I'd think so ;)


Cheers,
Tink

Last edited by Tinkster; 12-08-2003 at 04:20 PM.
 
Old 12-08-2003, 04:32 PM   #5
azncrkhead
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
If I upgrade to a later version fo linux. Will I lose my config and my webserver? What vesion should I upgrade too? and How do I do it.
 
Old 12-08-2003, 04:55 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just download and install a newer iptables to match
your kernel modules.
No need for a system upgrade.


Cheers,
Tink
 
Old 12-08-2003, 05:08 PM   #7
azncrkhead
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Would 1.2.9 work for this?????


Thanks
 
Old 12-08-2003, 05:11 PM   #8
azncrkhead
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry for the ignorance. Can you also tell me how to run the file from the server? and what needs to be done?

thanks
 
Old 12-08-2003, 07:14 PM   #9
german
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Debian etch, Gentoo
Posts: 312

Rep: Reputation: 30
Whoa, I apologise... god I have to read before I write...

Sorry it appears you were told to upgrade IPTABLES, not your KERNEL. This is right.

Just cuz I am cold here in Canada right now, I'll let you guys flame me. Here's my orig. post:

?!?!?!? What on earth are you people on about??? version 2.4.18 IS later than 2.4.4... eighteen is certainly larger than four, last I checked my calculator. My 2.4.18 RH8 box runs iptables with no issue at all. 2.4.18 is a new enough kernel to do most iptables functions. but you may have to compile netfilter into your kernel if it doesn't have it already compiled in (most, if not all distros will have this).

You do NOT need a newer kernel if you are using 2.4.18, though you might need to recompile the existing one.

HTH

B.

Last edited by german; 12-08-2003 at 07:16 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 05:25 AM
iptables error moger Slackware 2 06-12-2004 10:51 PM
Need help with iptables error. Anxiety Linux - Networking 1 03-31-2004 03:01 PM
iptables error... HappyDude Linux - Security 4 07-14-2003 07:37 PM
iptables error dat64597 Linux - Security 3 02-03-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration