From owner-freebsd-questions Sun Jun 17 10:57: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 472DD37B401 for ; Sun, 17 Jun 2001 10:56:43 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 3623 invoked by uid 100); 17 Jun 2001 17:56:42 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15148.61274.704322.668319@guru.mired.org> Date: Sun, 17 Jun 2001 12:56:42 -0500 To: Dru Cc: questions@freebsd.org Subject: Re: script not found in /usr/local/etc/rc.d In-Reply-To: <124551256@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dru types: > However, when I try to start the script manually or when I reboot, I get > an error message stating the script is not found: > > /etc/rc: /usr/local/etc/rc.d/mnwclient.sh: not found > > What am I missing here besides my sanity? I've attached the script if that > helps. The #! line in the script is fubar for some reason that's causing the kernel exec to fail. The report back to the shell is that the file isn't executable (stupid, but apparently required by Posix), so the shell reports that it can't find the executable. Joe Clark's guess - that it's pointing at the wrong place - is the usual cause for that. There are other things that might make it do that as well. Can you send just that line? I know you attached the script, but freebsd.org's mail digester eats the MIME headers, so my mailer can't decode what you sent :-(. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message