Date: Sun, 17 Jun 2001 10:57:47 -0400 (EDT) From: Dru <genisis@istar.ca> To: Joe Clarke <marcus@marcuscom.com> Cc: <questions@FreeBSD.ORG> Subject: Re: script not found in /usr/local/etc/rc.d Message-ID: <20010617105449.I37831-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> In-Reply-To: <20010617104121.S26682-100000@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617105449.I37831-100000>