Forum Moderators: coopster & phranque

Message Too Old, No Replies

AWStats - Pipe Error (gzip) on shared hosting

when trying to uncompress Logfiles...

         

foy

12:57 pm on May 26, 2004 (gmt 0)

10+ Year Member



I'm on a shared webserver.

AWStats works fine when using uncompressed logs however when I try to pipe the logs (since they are compressed now) I get this error:

Error: Command for pipe 'gzip -d </www/htdocs/test/stats/logs/access_log_2004-05-24.gz ¦' failed

Setup ('./awstats.dia.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Permissions are set up correcty.

I defined this line in the script for the Logfile format:

LogFile="gzip -d </www/htdocs/test/stats/logs/access_log_%YYYY-0-%MM-0-%DD-48.gz ¦"

Any ideas?

inwebsys

10:32 pm on Jun 6, 2004 (gmt 0)

10+ Year Member



I think you want to use gunzip -c instead of gzip -d