Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 16:44:34 -0500 (CDT)
From:      Don Read <dread@texas.net>
To:        =?iso-8859-1?q?Dan=20Fairs?= <danfairs@yahoo.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   RE: Shell Script Execution
Message-ID:  <XFMail.000727164434.dread@texas.net>
In-Reply-To: <20000727202720.27708.qmail@web3206.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 27-Jul-00 Dan Fairs wrote:
> Hi all,
> 
> This is a silly little problem, but I can't figure out what's going on.
> I'm setting up qmail (incidentally) and have created the startup
> script. On trying to execute it, this happens:
> 
> [root@bonsai rc.d]$ ./qmail.sh cdb
> bash: ./qmail.sh: No such file or directory

<snip>

> [root@bonsai rc.d]$ file qmail.sh 
> qmail.sh: Bourne shell script text
> [root@bonsai rc.d]$ head qmail.sh 
>#!/bin/sh

double check that first line; no backspaces, line feeds, etc.
(from one who wasted a evening on a #!/usr/bin/perl script) 


> 
> 
> So why am I getting that "No such file..." error? Everything seems to
> be there, with permissions set... It's clearly something obvious that
> I'm missing.
> 
> Help much appreciated.
> 

Regards,
-- 
Don Read                                     dread@texas.net
-- "Stop telling God what to do" - Niels Bohr to A. Einstein



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.000727164434.dread>