[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: [nocol-users] APCMON

On Sat, 20 Jan 2001, Nate Sanders wrote:

> 
> (root@fling:/usr/local/nocol/bin)$ perl -c ./apcmon
> ./apcmon syntax OK
> 
> So I ./apcmon and get those same syntax errors again... Alittle odd huh?


Hmm... make sure that the first line of the script is pointing to 
the same perl binary that you have in your $PATH. 

#grep '^#!' /usr/local/nocol/bin/apcmon
#!/usr/local/bin/perl

#which perl
/usr/local/bin/perl

If they are different, try changing the first line of the script 
to reflect the same path as the output of the second command.

--
Ken Fischer, CCNA  <kenf@junebug.org>
PGP Fingerprint: 9523 54B6 D67B BBFB 53B3  2F3B 7E81 0891 C495 CB50