Does your script contain the full path to the iptables executable file?

On my system, it's in /sbin.

On Sun, 22 Dec 2002, Silkk wrote:

> Here is an error message i get in my boot.log messages
> firewall: /etc/rc3.d/s80 firewall: iptables: command not found
> 
> 
> 
> --- Mike Burger <[EMAIL PROTECTED]> wrote:
> > "chkconfig iptables" won't work if you don't have a script called 
> > "iptables" in your /etc/init.d directory.
> > 
> > Try "chkconfig firewall on" and see what happens.
> > 
> > On Sun, 22 Dec 2002, Silkk wrote:
> > 
> > > Hello,
> > > 
> > > I installed iptables 1.2.7a with kernel 2.4.20. I tryed to get them to start 
>when i
> > boot
> > > my pc but they are not starting. I created a firewall script named "firewall" in:
> > > "/etc/init.d" 
> > > ---I ran:
> > > chown root.root /etc/init.d/firewall
> > > chmod u=rwx /etc/init.d/firewall
> > > chmod 775 /etc/init.d/firewall
> > > ---And added this line to my "/etc/rc.d/rc.local" file
> > > sh /etc/init.d/firewall
> > > 
> > > But that still dont get them started up. If i run 
> > > sh /etc/init.d/firewall manually then my rules work properly. 
> > > 
> > > *** I tryed using                                      *** 
> > > *** "chkconfig levels 23456 iptables on" but get this  *** 
> > > *** service iptables does not support chkconfig        *** 
> > > 
> > > And i get an error when i re-boot my computer on start up after redhat network 
>dameon
> > > starts something about iptables i check my logs but cant see it in there! 
> > > Any help how i can get my rules to start when my PC starts up???
> > > 
> > > 
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> > > http://mailplus.yahoo.com
> > > 
> > > 
> > > 
> > > 
> > 
> > -- 
> > Mike Burger
> > http://www.bubbanfriends.org
> > 
> > Visit the Dog Pound II BBS
> > telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
> > 
> > 
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> 
> 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to