BB Unix Network Monitor - Message

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

Re: {bb} Bad interpreter



On Sat, 19 Feb 2005 23:11:41 +0000 (UTC), Henrik Storner
<henrik-bb@hswn.dk> wrote:
> In <EF22302EC121A246A79988281A534DFC084A@hermes.ewormhole> Kevin Hanrahan <Kevin@ewormhole.com> writes:
> 
> >Hello all,
> > I am trying to use the the sendmail bottom feeder script (sendmail-bf.sh)
> >but when it runs, I get the following error:
> 
> > Sat Feb 19 17:29:23 2005 bb-mailq.sh sh:
> >/home/bb/bbc1.9e-btf/ext/bb-mailq.sh: bad interpreter: No such file or
> >directory
> 
> Check the first line of the script - the one that begins with
> 
>    #!/bin/sh
> 
> or something like that. The error you get means that the program
> used by the script does not exist.
> 
> If it does exist, then check the script for hidden characters.
> This problem commonly occurs with scripts that have been sent
> through a Windows box, so that a carriage-return (CR - ascii 13)
> was added to each line. If an "od -cx FILENAME" begins

I think I've seen that problem when the script is not executable, ie
not chmoded 755

Roger
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index