From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653755322567.tru64-unix-managers.marc@archive.invalid> From: McGuinness Todd Date: Tue, 23 Apr 2002 16:46:11 +0000 To: tru64-unix-managers Subject: Summary: ASE not liking PERL? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653755322567 Hi all thanks for the great response - as usual... Everyone that responded said that I should hardcode the path to the perl bin, so I did that and no more error. Thanks again, Todd M. McGuinness Systems Engineer ____________________________ NAGRAVISION SA Kudelski Group ____________________________ Tel. : +41 21 732 03 11 Direct: +41 21 732 0623 Fax : +41 21 732 03 00 E-mail : mcguinness@nagra.com -----Original Message----- From: Thomas M. Payerle [mailto:payerle@physics.umd.edu] Sent: mardi, 23. avril 2002 18:43 To: McGuinness Todd Subject: Re: ASE not liking PERL? On Tue, 23 Apr 2002, McGuinness Todd wrote: > Hi Admins, > > I have got a bit of a bug in a start/stop script for ASE which I am > maintaining. PERL is called in the middle of this function and this seems > to be the problem. Anyone have any ideas of how to solve? This script > works very well on the command line... > > Here is the error message: > > Apr 23 17:43:14 cas01 ASE: local Agent Notice: user script: > /tmp/ase_sh1548[4]: perl: not found > Apr 23 17:43:14 cas01 ASE: local Agent Notice: user script: > /tmp/ase_sh1548[4]: perl: not found > > and here is the code: > > if [ "X${OPERATION}" = "Xstart" -o "X${OPERATION}" = "XSTART" ] > then > cat $inputfile | perl -e 'while() > { Is perl installed on the system? If so, make sure it is in the path for the script. Or modify to hardcode a path.