LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-28-2006, 06:13 AM   #1
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Rep: Reputation: 15
Exclamation Error While Installing IpTables


Hi Everyone

i am using redhat 9, while installing iptable in redhat 9 i am getting the message like ,this is the message i am getting in the screen




[root@rootlinx ]# rpm -ivh iptables-1.src.rpm
warning: iptables-1.src.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
1:iptables ########################################### [100%]


after that i am trying to start the service of iptablee
by using service iptables start

but then its saying

iptables: unrecognized service


well & good if anyone help me out of this issue
bcoz iam new to linux

Thanks & Regards
winxlinx
 
Old 04-28-2006, 07:41 AM   #2
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
You have installed iptables source rpm.
This will not install IPtables on your system.

Get iptables-1.i386.rpm [the rpm that does not have .src. in it] and install it.

As for the rpm you have installed you can find it in /usr/src/REDHAT/BUILD/

Cheers
Zulfi
 
Old 04-28-2006, 09:47 AM   #3
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
actaully i rename it and i installed

now i am getting error like


[root@linux root]# rpm -ivh iptables-ipv6-1.2.7a-2.i386.rpm
warning: iptables-ipv6-1.2.7a-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
iptables = 1.2.7a is needed by iptables-ipv6-1.2.7a-2
Suggested resolutions:
iptables-1.2.7a-2.i386.rpm
 
Old 04-28-2006, 09:53 AM   #4
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
Ok now you are trying to install IPtables for ipV6.
This in turn needs original IPtables rpm and thus failing in dependency.

Get your redhat 9 installation cd and search for
iptables-1.2.7a-2.i386.rpm

Or download it here
http://download.fedoralegacy.org/red....7a-2.i386.rpm

Install this rpm and then go for
service iptables start
 
Old 04-28-2006, 10:06 AM   #5
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
ya i tried now i am getting this error now

[root@linux root]# rpm -ivh iptables-1.2.7a-2.i386.rpm
warning: iptables-1.2.7a-2.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:iptables ########################################### [100%]
[root@kmglinux root]# service start iptables
start: unrecognized service
[root@kmglinux root]#
 
Old 04-28-2006, 10:07 AM   #6
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
ya its working right now thank you very much
 
Old 04-28-2006, 10:09 AM   #7
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
but tell me what is the problem now also i cannot able to understand

why i am asking this i should not repeat this in future

thats y

can u pls expalin me what happen earlier
 
Old 05-02-2006, 01:21 AM   #8
zulfilee
Member
 
Registered: Apr 2004
Location: India
Distribution: Redhat,Fedora
Posts: 430

Rep: Reputation: 39
The first time you installed you have installed the source rpm.
Also if you have used "su" command to login as root
service iptables start
Will not work since service command is available in /sbin/ directory.

For that you will have to login as "su -"

Also before u install an rpm use
rpm -qip rpmname

To see the information of the package and then go for install.

less rpm

Should also give u all information about that rpm file.
 
Old 05-03-2006, 08:37 AM   #9
winxlinx
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks for ur replay
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:25 AM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 09:20 PM
Need help with iptables error. Anxiety Linux - Networking 1 03-31-2004 04:01 PM
iptables error dat64597 Linux - Security 3 02-03-2003 02:52 PM
IPTables Error X11 Linux - Software 3 07-18-2002 02:18 AM

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

All times are GMT -5. The time now is 03:22 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