From owner-freebsd-questions Sun Jun 17 7:53:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from x1-6-00-50-ba-de-36-33.kico1.on.home.com (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id F024237B405 for ; Sun, 17 Jun 2001 07:53:09 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.3/8.11.3) with ESMTP id f5HEvl537935; Sun, 17 Jun 2001 10:57:48 -0400 (EDT) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Sun, 17 Jun 2001 10:57:47 -0400 (EDT) From: Dru X-X-Sender: To: Joe Clarke Cc: Subject: Re: script not found in /usr/local/etc/rc.d In-Reply-To: <20010617104121.S26682-100000@shumai.marcuscom.com> Message-ID: <20010617105449.I37831-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi Joe, Thanks for the response. Checked the shebang, but she was pointing to /usr/bin/perl like she should. When I try to run "/usr/sbin/mnwclient" by hand, I lose my prompt. "ps" shows a PID open for perl, but not for mnwclient. Dru On Sun, 17 Jun 2001, Joe Clarke wrote: > Yep. Take a look at /usr/sbin/mnwclient. I bet it points to > /usr/local/bin/perl, or some other Perl path that doesn't exist on your > system. Change that, and everything should work. > > Joe Clarke > > On Sun, 17 Jun 2001, Dru wrote: > > > > > I've added a script called mnwclient.sh to /usr/local/etc/rc.d: > > > > ls -l /usr/local/etc/rc.d/mnwclient.sh > > -rwxr-xr-x 1 root wheel 635 Jun 17 08:07 /usr/local/etc/rc.d/mnwclient.sh* > > > > file /usr/local/etc/rc.d/mnwclient.sh > > /usr/local/etc/rc.d/mnwclient.sh: Bourne shell script text executable > > > > It refers to an executable called mnwclient: > > ls -l /usr/sbin/mnwclient > > -rwxr-xr-x 1 root wheel 33518 Jun 17 08:07 /usr/sbin/mnwclient* > > > > file /usr/sbin/mnwclient > > /usr/sbin/mnwclient: perl script text executable > > > > 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. > > > > TIA, > > > > Dru > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message