AwStats für VHosts auf Apache

Apache, Lighttpd, nginx, Cherokee
Post Reply
[ djthesound ]
Posts: 300
Joined: 2003-04-21 01:15
 

AwStats für VHosts auf Apache

Post by [ djthesound ] »

Hallo Leute,

ich habe mir vor 3 Tagen das Statistiktool "AwStats" (http://awstats.sourceforge.net) installiert. Ich benutze Apache 1.3.26 mit VHosts und als Admintool VHCS.

Also Configtemplate für AwStats verwende ich folgendes (gekürzt):
(Und hier die Originaldatei: http://www.hasistop100.com/conf/awstats.org.conf.txt)

Code: Select all

# AWStats configure file 
#-----------------------------------------------------------------------------

LogFile="/var/www/virtual/DIR/logs/MARK-access.log"
LogFormat=1
DNSLookup=1
DirData="/var/cache/awstats"
DirCgi="../usr/lib/cgi-bin/awstats"
DirIcons="../usr/lib/cgi-bin/awstats/icon"
SiteDomain="MARK"
HostAliases="localhost 127.0.0.1 MARK"
AllowToUpdateStatsFromBrowser=1
Ã?ber CRON wird dann eine Shelldatei aufgerufen, die die Logfiles auswertet, die Ausgabe erstellt und aktualisiert:
(Hier die Originaldatei: http://www.hasistop100.com/conf/vhcsstatistiken.txt)

Code: Select all

#!/bin/sh

WWWROOT=/var/www/virtual                        # Pfad zu den WebSeiten
STATSDIR=/var/www/awstats                       # Pfad wo die Statistiken abgelegt werden sollen
ETCDIR=/etc/awstats                             # Konfigurationsverzeichniss von AWSTATS
AWSTATSPL=/usr/lib/cgi-bin/awstats              # Pfad zur awstats.pl
TMPDIR=/tmp                                     # Pfad zum Tempverzeichniss das benutzt werden soll
LOGPATTERN=MARK                                 # Such Pattern f|r das LogFile
DIRPATTERN=DIR                                  # Such Pattern f|r das Directory zum LogFile
CONFTEMPLATE=/etc/awstats/awstats.org.conf      # Basiskonfiguration
PID=$$

echo "- Suche Zugriffslogs..."
LOGS=$(find $WWWROOT/ -name *-access.log)
.......
Die Aliase sind in der httpd.conf korrekt eingestellt. Ich rufe die Statistik dann per http://www.hasistop100.com/statistik auf, soweit läuft alles ganz gut. Wenn ich aber irgendeinen Link (der auf awstats.pl zugreift) erhalte ich folgende Fehlermeldung (könnt ihr nachprobieren):

Code: Select all

Warning: Can't find language files for "de". English will be used.
Warning: Can't read file "browsers.pm" (browsers detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "domains.pm" (domains detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "operating_systems.pm" (operating systems detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "robots.pm" (robots detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "search_engines.pm" (search engines detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "worms.pm" (worms detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Warning: Can't read file "mime.pm" (mime detection will not work correctly).
Check if file is in "/var/www/virtual/hasistop100.com/cgi-bin/lib" directory and is readable.
Ausserdem werden die Grafiken nicht angezeigt. Ich probiere jetzt schon den 2 Tag hintereinander herum, lese die Docus von der AwStats, aber ich komme nicht drauf, wie das funktionieren könnte.

Hat jemand Erfahrung damit oder kann mir bitte helfen? Ich weiss echt nichtmehr weiter...

Schöne Grüsse
DJtheSOUND :wink:



PS an die Mods: Sorry, wegen den Links. Aber es geht leider nicht anders. Ich sollte dieses AwStats für einen Bekannten installieren, der zwar einen Root besitzt aber null Ahnung von der Materie hat. Niemand dabei, der mir da helfen kann? :?
[ djthesound ]
Posts: 300
Joined: 2003-04-21 01:15
 

Re: AwStats für VHosts auf Apache

Post by [ djthesound ] »

Kann mir da niemand helfen? Ich sollte das schon seit gestern am Laufen haben... :cry:
Post Reply