From owner-freebsd-questions Sun Jun 17 7:42: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from shumai.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id 487C637B406 for ; Sun, 17 Jun 2001 07:41:58 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from localhost (marcus@localhost) by shumai.marcuscom.com (8.11.3/8.11.3) with ESMTP id f5HEg1T26691; Sun, 17 Jun 2001 10:42:01 -0400 (EDT) (envelope-from marcus@marcuscom.com) X-Authentication-Warning: shumai.marcuscom.com: marcus owned process doing -bs Date: Sun, 17 Jun 2001 10:42:01 -0400 (EDT) From: Joe Clarke To: Dru Cc: Subject: Re: script not found in /usr/local/etc/rc.d In-Reply-To: <20010617084410.H37439-200000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> Message-ID: <20010617104121.S26682-100000@shumai.marcuscom.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 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