Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AWStats - Pipe Error (gzip) on shared hosting

Status
Not open for further replies.

commun1

Programmer
May 26, 2004
41
DE
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 </ ¦' 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 </ ¦"

Any ideas?
 
1) Does your script have gzip in its path? Try specifying the full path to gzip

2) Does the webserver have execute permissions on the gzip binary?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top