Re: Centos 7 - iptables service failed to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 first line:
  #!/bin/sh

> Aug 10 06:09:38 jamm23.jammconsulting.com systemd[2268]: Failed at step EXEC
> spawning /usr/local/bin/firewall.start: Exec format error

And that's the error expected.

-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux