Linux Netfilter discussions
 help / color / mirror / Atom feed
* bad interpreter
@ 2002-11-27 11:53 Taniform Asongwe
  2002-11-27 12:01 ` Nick Drage
  2002-11-27 14:12 ` Thierry ITTY
  0 siblings, 2 replies; 4+ messages in thread
From: Taniform Asongwe @ 2002-11-27 11:53 UTC (permalink / raw)
  To: netfilter

I am new to iptables. Starting up iptables I receive
the error

: bad interpreter: No such file or directory.

I would be grateful for any ideas. Thanks in advance

Taniform

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad interpreter
  2002-11-27 11:53 bad interpreter Taniform Asongwe
@ 2002-11-27 12:01 ` Nick Drage
  2002-11-27 14:12 ` Thierry ITTY
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Drage @ 2002-11-27 12:01 UTC (permalink / raw)
  To: netfilter

On Wed, Nov 27, 2002 at 11:53:44AM +0000, Taniform Asongwe wrote:
> I am new to iptables. Starting up iptables I receive
> the error
> 
> : bad interpreter: No such file or directory.
> 
> I would be grateful for any ideas. Thanks in advance

How exactly are you trying to start up iptables?

Check that all the relevant files are executable.

-- 
FunkyJesus System Administration Team



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad interpreter
  2002-11-27 14:12 ` Thierry ITTY
@ 2002-11-27 13:28   ` Nick Drage
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Drage @ 2002-11-27 13:28 UTC (permalink / raw)
  To: netfilter

On Wed, Nov 27, 2002 at 02:12:58PM +0000, Thierry ITTY wrote:
> this happens when you get a script file from dos (with cr/lf eol)
> the first line may look normal 

Aaaaahhhh, good point :)

> #!/bin/sh
> 
> but the CR (which remains invisible within a text editor that silently
> adapts itself) is misunderstood by shell 
> 
> just edit the file using vi, then ":set ff=unix" and ":wq". this will
> remove the CRs

cat -v will show the dos line-endings if you have them.

-- 
FunkyJesus System Administration Team



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: bad interpreter
  2002-11-27 11:53 bad interpreter Taniform Asongwe
  2002-11-27 12:01 ` Nick Drage
@ 2002-11-27 14:12 ` Thierry ITTY
  2002-11-27 13:28   ` Nick Drage
  1 sibling, 1 reply; 4+ messages in thread
From: Thierry ITTY @ 2002-11-27 14:12 UTC (permalink / raw)
  To: at; +Cc: netfilter

this happens when you get a script file from dos (with cr/lf eol)
the first line may look normal 

#!/bin/sh

but the CR (which remains invisible within a text editor that silently
adapts itself) is misunderstood by shell 

just edit the file using vi, then ":set ff=unix" and ":wq". this will
remove the CRs

hth


A 11:53 27/11/2002 +0000, vous avez écrit :
>I am new to iptables. Starting up iptables I receive
>the error
>
>: bad interpreter: No such file or directory.
>
>I would be grateful for any ideas. Thanks in advance
>
>Taniform
>
>__________________________________________________
>Do You Yahoo!?
>Everything you'll ever need on one web page
>from News and Sport to Email and Music Charts
>http://uk.my.yahoo.com
>
>
>
			- * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
	Thierry ITTY
eMail : Thierry.Itty@Besancon.org		FRANCE


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-27 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-27 11:53 bad interpreter Taniform Asongwe
2002-11-27 12:01 ` Nick Drage
2002-11-27 14:12 ` Thierry ITTY
2002-11-27 13:28   ` Nick Drage

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox