LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2004, 06:29 PM   #1
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Rep: Reputation: 15
iptables prob in /var/log/messages


Hi all

i get this message in my /var/log/message file.

Nov 8 06:06:16 localhost ifup: iptables: No chain/target/match by that name
Nov 8 06:06:16 localhost ifup: iptables: Table does not exist (do you need to insmod?)

can anyone enlighten me on this message and a possible cure. As far as i know the iptables are configured correct, and have not been moved from default locations. I'm running RH9 with a 2.4.20 kernel.

regards
GT
 
Old 11-10-2004, 11:32 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Quote:
Nov 8 06:06:16 localhost ifup: iptables: No chain/target/match by that name
Nov 8 06:06:16 localhost ifup: iptables: Table does not exist (do you need to insmod?)
This is a mesage from the /sbin/ifup script..

It tries to open a DNS path through the LOKKIT firewall script if it is active..
Both that script and the /etc/sysconfig/network-scripts/ifup-post script..

It may be that you have two iptables scripts starting but the ifup script is remembering just the first one..
 
Old 11-10-2004, 05:50 PM   #3
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Original Poster
Rep: Reputation: 15
Hi


so does that mean the iptables are not initialised/started/working???????? either way is there a way i can fix it. this seems to be a default prob with RH9 as i've just installed RH9 on an old laptop, and i find the same entries in the log files. by the way what should the read/write permissions be on the /etc/sysconfig/iptables. it apears that they are read only for owner (root) is this correct?
thanks
GT
 
Old 11-12-2004, 12:44 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
The permissions are correct.

If you just want to see your rules then try:
itpables -nL
 
Old 11-12-2004, 06:55 PM   #5
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Original Poster
Rep: Reputation: 15
Thanks for the info on permissions, but i'm still no wiser or closer to a solution to my original dillema, surely someone out there can help.

Can and how do i fix the prob???

Is my firewall running (Y/N)???

i tried to move this thread to the Networking forum in the hope that some networking guru could help. but i was read the riot act before being taken outside and shot for my insolence. consequently the thread was shut down and i have to remain here until i get an answer.

regards
GT

"The technology that preserved the balance of our history - between uses of our culture that were free and uses of our culture that were only upon permission - has been undone. The consequence is that we are less and less a free culture, more and more a permission culture"
Lawrence Lessig, Free Culture,
blogspace.com/freeculture/introduction
 
Old 11-12-2004, 07:08 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Is my firewall running (Y/N)???
service iptables status
chkconfig --list | grep iptables

i tried to move this thread to the Networking forum in the hope that some networking guru could help. but i was read the riot act before being taken outside and shot for my insolence. consequently the thread was shut down and i have to remain here until i get an answer.
We like to keep thinks all in one place so that multiple people aren't all working on the same problem independently. Please try to be patient when waiting for replies (alot of us here have jobs/schoool and whatnot).
 
Old 11-13-2004, 04:38 PM   #7
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Original Poster
Rep: Reputation: 15
Hi Capt

i appreciate your thoughts. but as, after 6 days of this post being in the security forum and still not getting an answer, which probably means that this is not the best forum to post this query, is it possible i can be freed from here and post this query in another forum????????? Although our banter has been fun, it's neither fishing nor mending the net as it were.
Regards
GT
 
Old 11-14-2004, 12:58 AM   #8
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
is it possible i can be freed from here and post this query in another forum?????????

Done. Thread moved to the linux - networking forum

Last edited by Capt_Caveman; 11-14-2004 at 12:59 AM.
 
Old 11-14-2004, 07:29 PM   #9
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Original Poster
Rep: Reputation: 15
Hi Capt

thanks for the move. greatly appreciated.

the output from the chkconfig --list | grep iptables is as follows

0 off 1 off 2 on 3 on 4 on 5 on 6 off

I'm not sure on the output, but as an educated guess, does this mean that runlevels 2, 3, 4 & 5 have iptables running?

if i have the iptables running, is there anyway i can fix the ifup scripts to stop giving me the error at boot?
regards
GT
 
Old 11-17-2004, 03:02 PM   #10
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You will have iptables running, just need to be sure only 1 script starts tho'..
/etc/init.d/iptables gets it's rules from /etc/sysconfig/iptables

Remove iptables from the startup sequence, chkconfig --del iptables and see if any other rules are being loaded at boot time..
Do iptables-save to list them on the screen..

If there are any other rules loading, find out where from and decide which ones to keep.
To restore iptables in the startup, do chkconfig --add iptables
 
  


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
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
iptables prob in /var/log/messages pt3 globeTrotter Linux - Networking 5 11-12-2004 12:43 PM
iptables prob in /var/log/messages pt2 globeTrotter Red Hat 1 11-11-2004 05:23 PM
iptables and /var/log/messages Obie Linux - Security 5 08-18-2004 02:02 AM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:24 PM.

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