Zum Inhalt springen

Awstats

Erstellt am 23. Mai 2005 · 8 Antworten · letzte Antwort am 10. Januar 2006

Tags: Frage

pingu256 ·

Hallo beim aufrufen einer AWstats logfile erhalte ich folgende Fehlermeldung?

Wo möchte das Script den Ordner erstellen? OS ist Redhat.

Danke

Gruß

pingu256

Error: awstats failed to create directory DirData (DirData="__AWS_CACHE_DIR__", CreateDirDataIfNotExists=1).

Setup ('/usr/local/apache/htdocs/kbwir/typo3conf/ext/cc_awstats/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
DEBUG OUTPUT

There was something wrong with the call of the AWStats script!
This debug information may help to find the reason.

Mon May 23 08:23:32 2005 - DEBUG 1 - Awstats - 6.4 (build 1.810) - Perl /usr/bin/perl 5.008
Mon May 23 08:23:32 2005 - DEBUG 1 - HTMLOutput=main
Mon May 23 08:23:32 2005 - DEBUG 1 - Config file read was "/usr/local/apache/htdocs/kbwir/typo3conf/ext/cc_awstats/awstats/awstats.conf" (level 1)
Mon May 23 08:23:32 2005 - DEBUG 1 - Call to Check_Config
Mon May 23 08:23:32 2005 - DEBUG 1 - awstats failed to create directory DirData (DirData="__AWS_CACHE_DIR__", CreateDirDataIfNotExists=1).

Error: awstats failed to create directory DirData (DirData="__AWS_CACHE_DIR__", CreateDirDataIfNotExists=1).

Setup ('/usr/local/apache/htdocs/kbwir/typo3conf/ext/cc_awstats/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

just2b ·

Hast du die ext richtig installiert?
logfile_dir im install tool ausgefüllt bzw im setup:

# Konfiguration AW-Stats
config.stat = 1
config.stat_apache = 1
config.stat_apache_logfile = statistik_log.txt
config.stat_mysql = 0

?

pingu256 ·
just2b schrieb

Hast du die ext richtig installiert?
logfile_dir im install tool ausgefüllt bzw im setup:

# Konfiguration AW-Stats
config.stat = 1
config.stat_apache = 1
config.stat_apache_logfile = statistik_log.txt
config.stat_mysql = 0

?

# settings for gathering statistics
stat = 1
stat_apache = 1
stat_apache_logfile = kbwir.log
stat_excludeBEuserHits = 1
stat_mysql = 1

steht drin.

Ich vermute mal der möchte zuerst noch den "__AWS_CACHE_DIR__" Ordner anlegen.

ich schrieb

[logfile_dir]
Path where TYPO3 should write webserver-style logfiles to. This path must be write-enabled for the webserver. Doesn't work for Windows! Remember slash AFTER! Eg: 'fileadmin/' or '/var/typo3logs/'. Please see the TypoScript reference!

[FE][logfile_dir] = fileadmin/

im install tool steht "fileadmin/" drin

just2b ·

und fileadmin hat auch die richtigen schreibrechte? (deswegn würd ichs lieber in einen unterordner geben)

pingu256 ·
just2b schrieb

und fileadmin hat auch die richtigen schreibrechte? (deswegn würd ichs lieber in einen unterordner geben)

habe chmod auf 777 gesetzt ...

Andrea_Herzog ·

Hallo zusammen,
ich habe Probleme mit der Installation von AWstats 6.4. Verwende TYPO3 3.8 und die aktuelle Version von René Fritz.
Die Rechte für die Datei und den Ordner sind auf 777 gesetzt.
Aber irgendwie kann er die dirdata nicht anlegen.

Die Angaben der Datei und des Ordners unter Fileadmin scheinen ja ok zu sein. In der localconf habe ich das Verzeichnis angegeben, im Setup des Templates die Datei.

Das ist die Fehlermeldung. Kann mir jemand sagen was zu tun ist?

Gruß
Andrea

Error: awstats failed to create directory DirData (DirData="/html/fileadmin/xxx/logfiles/.awstats-data/www.xxx.org/index.php?id=90/", CreateDirDataIfNotExists=1). 

Setup ('/html/typo3conf/ext/cc_awstats/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory). 
DEBUG OUTPUT
There was something wrong with the call of the AWStats script!
This debug information may help to find the reason.



Mon Jan 2 18:17:46 2006 - DEBUG 1 - Awstats - 6.4 (build 1.810) - Perl /usr/bin/perl 5.008
Mon Jan 2 18:17:46 2006 - DEBUG 1 - HTMLOutput=main
Mon Jan 2 18:17:46 2006 - DEBUG 1 - Config file read was "/html/typo3conf/ext/cc_awstats/awstats/awstats.conf" (level 1)
Mon Jan 2 18:17:46 2006 - DEBUG 1 - Call to Check_Config
Mon Jan 2 18:17:46 2006 - DEBUG 1 - awstats failed to create directory DirData (DirData="/html/fileadmin/xxx/logfiles/.awstats-data/www.xxx.org/index.php?id=90/", CreateDirDataIfNotExists=1). 

Error: awstats failed to create directory DirData (DirData="/html/fileadmin/xxx/logfiles/.awstats-data/www.xxx.org/index.php?id=90/", CreateDirDataIfNotExists=1). 

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

[/quote]

Andrea_Herzog ·

Doch, ich.
Also der Fehler war, dass ich nicht die "echte" www Adresse angegeben habe, sondern die www Adresse mit einer Seiten - ID kombiniert habe. Das geht nicht.

Aber sonst funktioniert das einigermaßen.

Ich habe noch das Problem, dass ich mehrere Seiten - quasi ein Portal - unter einer www Domain verwalte und mit Weiterleitungen von der Portalseite arbeite. Dann wird natürlich die Weiterleitung geloggt. Meine Wunschlösung wäre, dass ich den jeweiligen Rootseiten Domains zuordne und diese dann rekursiv bis zur nächsten Rootseite geloggt werden.

Hat jemand Erfahrung damit?

Gruß
Andrea