From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 05:00:41 2015 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A6096EB2 for ; Fri, 24 Apr 2015 05:00:41 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7C611F6 for ; Fri, 24 Apr 2015 05:00:41 +0000 (UTC) Received: by pdbqa5 with SMTP id qa5so38276212pdb.1 for ; Thu, 23 Apr 2015 22:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Upf68xzBDzC3IVlZuM2WM4e/ZCOnDd6Xi4QfifN6vgg=; b=vniJuwXogc1zQ4Ur05cSR/3Aq8GoLmWrJuMTonH6m4wqXLEZcuUKN3w3249iNZNXaB GsmeWdY1NXPDDWz72fNtYpz+Qg3NqW/93VoO6mnuJ6I1BQimbvlBCdDznBRhiiiMVf7K oI5Xv3NUmhEsfVopp5OdI3cC3BXf5xxBKG4htBVWj+5TyM0uOPyAgiptxMIbjtNdhQdc n96ecTgNXrOpoTbZ2q+eHBxy/f0tuO1vJMyWYjOihmjnxxV8wfsq2UBFeerG6hc4RsDR ZtCrSqTQVVr3doLEIvdl4Sl0iZzJTM12ZbBp1rH57YL4XpENA4YwkjqXucWVRPZCsPiP RjfQ== X-Received: by 10.70.91.225 with SMTP id ch1mr2755778pdb.65.1429851641094; Thu, 23 Apr 2015 22:00:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.68.67 with HTTP; Thu, 23 Apr 2015 22:00:20 -0700 (PDT) In-Reply-To: <553893FE.8090601@netfence.it> References: <5538919D.8060507@netfence.it> <553893FE.8090601@netfence.it> From: Michael Schuster Date: Fri, 24 Apr 2015 07:00:20 +0200 Message-ID: Subject: Re: Bacula and perl 5.20 To: Andrea Venturoli Cc: questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2015 05:00:41 -0000 On Thu, Apr 23, 2015 at 8:41 AM, Andrea Venturoli wrote: > On 04/23/15 08:32, Michael Schuster wrote: > >> Hi, >> > > Hello. > > > > you need to tell people (no, not me in private ;-), what "stop working" >> looks like in detail. >> > > Right, sorry. > In the logs I get: > >> BeforeJob: env: perl: No such file or directory >> > > Running "env perl" from the command line seems to work however. > what does that mean in detail? what does "which perl" print out? I'd suggest that for a test, you replace your script with a simple one that does ----- begin which perl echo $PATH ----- end (make it executable!) and see what it does if you call it the same way you usuall call your script > A guess: is /usr/local/bin in your standard PATH (or rather, the path >> that the script sees)? >> > > In my path: yes. > In the script path: I don't know. > > I now realize that 5.20 does not install "/usr/bin/perl", which was an > option (which I had enabled) in 5.16. > HTH -- Michael Schuster http://recursiveramblings.wordpress.com/