Hi; in our server we dont have "iptables" command! and i am trying to install it with that yum -y install iptables after this command it says that "...nothings to do". Do you have any suggestion for installing the iptables? thanks a lot.... Note: CENTos 5.1 is istalled... -- Tolun ARDAHANLI Bilgisayar Muhendisi E-posta:tolun.ardahanli at linux.org.tr Icq:326600 ---------------------------------------------------------------------------- Tolun ARDAHANLI Computer Engineer E-mail:tolun.ardahanli at linux.org.tr Icq:326600 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080123/62878ef6/attachment-0002.html>
Tolun ARDAHANLI wrote:> Hi; > > in our server we dont have "iptables" command! and i am trying to install it > with that > > yum -y install iptables > > after this command it says that "...nothings to do".What does "ls -l /sbin/iptables" say? What is the output of "rpm -q iptables"? If both of those come back with nothing: What is the output of "uname -a"? Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080123/43edf9df/attachment-0002.sig>
On 1/23/08, Tolun ARDAHANLI <tolun.ardahanli at linux.org.tr> wrote:> in our server we dont have "iptables" command! and i am trying to install it > with that > > yum -y install iptables > > after this command it says that "...nothings to do". Do you have any > suggestion for installing the iptables?Then it's probably installed, which you can check with: rpm -q iptables Note that iptables is in /sbin. So, if you are changing to root, use su with a dash (-) to make sure that the PATH variable is updated: su - If not, you'll have to specify the full path to the iptables command. -- Daniel
hi; the output of those commands are listed below... but i see that i cant reach to iptables if i am opening a console in Gnome(however i give su- command but still was the same problem)... But if I am opening directly the console with pressing ctrl+f1 and giving root and password of it than i can use iptables command!!! # ls -l /sbin/iptables -rwxr-xr-x 1 root root 57408 Jan 6 2007 /sbin/iptables # rpm -q iptables iptables-1.3.5-1.2.1 thanks to all 2008/1/23, Tolun ARDAHANLI <tolun.ardahanli at linux.org.tr>:> > Hi; > > in our server we dont have "iptables" command! and i am trying to install > it with that > > yum -y install iptables > > after this command it says that "...nothings to do". Do you have any > suggestion for installing the iptables? > > thanks a lot.... > > Note: > CENTos 5.1 is istalled... > > -- > Tolun ARDAHANLI > Bilgisayar Muhendisi > E-posta:tolun.ardahanli at linux.org.tr > Icq:326600 > > > ---------------------------------------------------------------------------- > > Tolun ARDAHANLI > Computer Engineer > E-mail:tolun.ardahanli at linux.org.tr > Icq:326600-- Tolun ARDAHANLI Bilgisayar Muhendisi E-posta:tolun.ardahanli at linux.org.tr Icq:326600 ---------------------------------------------------------------------------- Tolun ARDAHANLI Computer Engineer E-mail:tolun.ardahanli at linux.org.tr Icq:326600 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080123/72726aa8/attachment-0002.html>
--- Tolun ARDAHANLI <tolun.ardahanli at linux.org.tr> wrote:> hi; > the output of those commands are listed below... but > i see that i cant reach > to iptables if i am opening a console in > Gnome(however i give su- command > but still was the same problem)... But if I am > opening directly the console > with pressing ctrl+f1 and giving root and password > of it than i can use > iptables command!!! > > # ls -l /sbin/iptables > -rwxr-xr-x 1 root root 57408 Jan 6 2007 > /sbin/iptables > # rpm -q iptables > iptables-1.3.5-1.2.1 > > thanks to all > > > > 2008/1/23, Tolun ARDAHANLI > <tolun.ardahanli at linux.org.tr>: > > > > Hi; > > > > in our server we dont have "iptables" command! and > i am trying to install > > it with that > > > > yum -y install iptables > > > > after this command it says that "...nothings to > do". Do you have any > > suggestion for installing the iptables? > > > > thanks a lot.... > > > > Note: > > CENTos 5.1 is istalled... > > > > -- > > Tolun ARDAHANLI > > Bilgisayar Muhendisi > > E-posta:tolun.ardahanli at linux.org.tr > > Icq:326600 > > > > > > >----------------------------------------------------------------------------> > > > Tolun ARDAHANLI > > Computer Engineer > > E-mail:tolun.ardahanli at linux.org.tr > > Icq:326600 > > > > > -- > Tolun ARDAHANLI > Bilgisayar Muhendisi > E-posta:tolun.ardahanli at linux.org.tr > Icq:326600 > >----------------------------------------------------------------------------> > Tolun ARDAHANLI > Computer Engineer > E-mail:tolun.ardahanli at linux.org.tr > Icq:326600 > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >Hello, It looks like you did not put a space between the su and dash. It should be su - not su- this should solve your su problems.
On Wednesday 23 January 2008 06:25, Tolun ARDAHANLI wrote:> in our server we dont have "iptables" command! and i am trying to install > it with that > > yum -y install iptables > > after this command it says that "...nothings to do". Do you have any > suggestion for installing the iptables? > > thanks a lot....It is most likely installed as this is default unless you tell the install program not to install it. To start IPTALBES: service iptables start To ensure it starts all the time on reboot: chkconf --level 2345 iptables on -- Regards Robert Smile... it increases your face value! Linux User #296285 http://counter.li.org