From owner-freebsd-questions@FreeBSD.ORG Thu Sep 3 20:10:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14C1110656C2 for ; Thu, 3 Sep 2009 20:10:17 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id D85D78FC15 for ; Thu, 3 Sep 2009 20:10:16 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id A3A227E853; Thu, 3 Sep 2009 12:10:27 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Thu, 3 Sep 2009 22:10:13 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA3; KDE/4.2.4; i386; ; ) References: <20090903114857.GA635@teddy.fas.com> <200909031754.37681.mel.flynn+fbsd.questions@mailing.thruhere.net> <20090903190241.GA13402@teddy.fas.com> In-Reply-To: <20090903190241.GA13402@teddy.fas.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909032210.14047.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: stan Subject: Re: What invokes cricket on FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Sep 2009 20:10:17 -0000 On Thursday 03 September 2009 21:02:41 stan wrote: > pnoc# cat collect-subtrees > #!/bin/sh > > echo STARTED >> /tmp/stan > which perl >> /tmp/stan > /usr/local/cricket/cricket/collect-subtrees.pl normal >> /tmp/stan > echo Done >> /tmp/stan > > /tmp stan contains: > > pnoc# cat /tmp/stan > STARTED > /usr/bin/perl > Done > STARTED > /usr/bin/perl > Done > > So, cron is invoking the correct command, and perl can be found, but the > original collect_subtrees perl script silently dies. > > I am convinced it's an environemt probkl`lem, I am just uncertain how to > determine what. I'm not anymore. I'm putting 1 cent on a broken /usr/bin/perl symlink (perl upgrade gone bonkers, f.e. done with ro mounted /usr) and another cent on the perl script using system() function, with pathless commands (that is environment). file /usr/bin/perl should report if the symlink is broken. -- Mel