Page 1 of 1

Apache Logfiles

Posted: 2005-01-10 15:37
by root66
Hallo,

wie kombiniere ich das Splitten/Cyclen der Apache Logfiles mit Confixx 2.x? Ich hatte jetzt leider eine 2 GB große Logdatei und damit kam Webalizer nicht mehr klar.

Update:

Normalerweise müsste das Confixx Script rotate.pl das Rotieren übernehmen, aber das liefert nur die Fehlermeldung gzip: "" not found!

Gruß,
root66

Re: Apache Logfiles

Posted: 2005-01-10 15:56
by chris76
Ich kenne den Webalizer nicht, aber was spricht denn gegen logrotate?

Re: Apache Logfiles

Posted: 2005-01-11 16:47
by chrystalsky
gzip: "" not found!


logrotate wird auch nicht laufen, da es auch die files gzipet...

installiere dir einfach gzip, dann sollte alles klappen.

Re: Apache Logfiles

Posted: 2005-01-11 19:18
by kuntho
confixx-main.conf:

Code: Select all

.
.
.

# location of gzip binary
$bin_gzip = '/usr/bin/gzip';

.
.
.

Dann kann Confixx auch mit gzip umgehen.