I made an typo in the config and the error message has changed:

/usr/bin/analog: analog version 4.12/Unix
/usr/bin/analog: Warning F: Failed to open logfile
  /xvar/log/squid/access.log.1.gz: ignoring it
  (For help on all errors and warnings, see docs/errors.html)
sh: gzip: No such file or directory
/usr/bin/analog: Warning F: Problems uncompressing logfile
  /var/log/squid/access.log.2.gz

I guess the config file does take effect. I was thinking about some
rights problem but when I log as nobody (which is the user Apache is
running as), it still works from the command line.

- Robert

PS. Aha. I have just tried 

#UNCOMPRESS *.gz  "/bin/gzip -cd"
UNCOMPRESS *.gz  xxx

and it still complains about gzip not found. Maybe it's hardwired into
the source? ;-)

- R.


Stephen Turner wrote:
> 
> On Sun, 19 Nov 2000, Robert wrote:
> 
> >   I'm using Analog to analyze compressed squid files, it works OK when I
> > manually uncompress them, it works OK when I run Analog from command
> > line, but when I run it from cgi script it fails with the following
> > error:
> >
> >
> > sh: gzip: No such file or directory
> 
> This is possible because the $PATH is probably not the same when run from
> the command line as from the server.
> 
> I'm confused though because if /bin/gzip is in your config file, the message
> should have read
>   sh: /bin/gzip: No such file or directory
> Are you sure that that config file is taking effect at all?
> 
> --
> Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
>   Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
>   "The new operating system will recover more easily from system crashes."
>                           (Microsoft, aiming high with Windows Millennium)
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
------------------------------------------------------------------------

Reply via email to