LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Error While Installing IpTables (https://www.linuxquestions.org/questions/linux-networking-3/error-while-installing-iptables-439643/)

winxlinx 04-28-2006 05:13 AM

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

zulfilee 04-28-2006 06:41 AM

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

winxlinx 04-28-2006 08:47 AM

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

zulfilee 04-28-2006 08:53 AM

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

winxlinx 04-28-2006 09:06 AM

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]#

winxlinx 04-28-2006 09:07 AM

ya its working right now thank you very much

winxlinx 04-28-2006 09:09 AM

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

zulfilee 05-02-2006 12:21 AM

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.

winxlinx 05-03-2006 07:37 AM

Thanks for ur replay


All times are GMT -5. The time now is 11:04 AM.