Stephen Turner ([EMAIL PROTECTED]):

> On Thu, 25 Oct 2001 [EMAIL PROTECTED] wrote:

>> 
>> hello together,
>> 
>> i have a big problem, i use analog 5.03 und have many logfiles, which are
>> compressed with gzip. i want analog to unpack the logfiles to create the
>> statistics, simply no problem.
>> 
>> i started analog at night with a cronjob, which works fine. but since i
>> update to analog 5.03 i have the problem, that the shell returns "gzip: not
>> found". our gzip is located at "/usr/local/bin/gzip" so i configured the
>> cfg with the following
>> 
>> UNCOMPRESS *.gz "/usr/local/bin/gzip -cd"
>> 
>> but it doesn't work. the cronjob ist configured as the following
>> 
>> 45 22 * * * /emc/usr/local/analog/analog
>> +g/emc/usr/local/analog/config1.cfg
>> 
>> if i use the same at the command-line manually in a bash or sh, it works,
>> but why does the cronjob returns "gzip: not found" ?!?
>> 

> Are you sure you haven't got another UNCOMPRESS command which just specifies
> "gzip"? (Check "analog --settings" if you can't find it.) The shell could
> find plain "gzip", but the cron job couldn't because it doesn't set the same
> $PATH.


Actually, I think this is gzip saying that the input file was not
found. Are you using full path names for LOGFILE lines in
/emc/usr/local/analog/analog.cfg and
/emc/usr/local/analog/config1.cfg?

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/analog-help@lists.isite.net/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to