Re: [CentOS] Centos 7 - iptables service failed to start

2014-08-11 Thread Adam King
] Centos 7 - iptables service failed to start Hello all: I did a fresh install of CentOS 7 on a new machine. I wrote /usr/local/bin/firewall.stop to remove all the firewall rules. It contains this code: # Flush the rules /usr/sbin/iptables -F # Set the default policies to accept /usr/sbin/iptable

Re: [CentOS] Centos 7 - iptables service failed to start

2014-08-10 Thread Dennis Jacobfeuerborn
On 10.08.2014 05:30, Neil Aggarwal wrote: > Hey everyone: > >> The process /usr/local/bin/firewall.start could not be executed >> and failed. > > I just realized I forgot to put #!/bin/sh at the top of my firewall > scripts. I added that and it is working perfectly fine now. > > Sorry for any

Re: [CentOS] Centos 7 - iptables service failed to start

2014-08-10 Thread Stephen Harris
On Sat, Aug 09, 2014 at 10:21:33PM -0500, Neil Aggarwal wrote: > Hello all: > > I did a fresh install of CentOS 7 on a new machine. > > I wrote /usr/local/bin/firewall.stop to remove all the firewall rules. > It contains this code: > # Flush the rules > /usr/sbin/iptables -F You are missing a fi

Re: [CentOS] Centos 7 - iptables service failed to start

2014-08-09 Thread Neil Aggarwal
Hey everyone: > The process /usr/local/bin/firewall.start could not be executed > and failed. I just realized I forgot to put #!/bin/sh at the top of my firewall scripts. I added that and it is working perfectly fine now. Sorry for any trouble. Thanks, Neil -- Neil Aggarwal, (972) 834-1565

[CentOS] Centos 7 - iptables service failed to start

2014-08-09 Thread Neil Aggarwal
Hello all: I did a fresh install of CentOS 7 on a new machine. I wrote /usr/local/bin/firewall.stop to remove all the firewall rules. It contains this code: # Flush the rules /usr/sbin/iptables -F # Set the default policies to accept /usr/sbin/iptables -P INPUT ACCEPT /usr/sbin/iptables -P OUTPU