---
title: "Awstats"
url: "https://www.typo3.net/d/25052-awstats"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2005-05-23"
last_reply: "2006-01-10"
replies: 8
solved: false
page: 1
pages: 1
lang: "de"
---

# Awstats

Extensions · 8 Antworten · gestartet 2005-05-23

## Eröffnungsbeitrag

**pingu256** · 2005-05-23 · [Beitrag #1](https://www.typo3.net/d/25052-awstats/1)

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).

## Antworten

### [#2](https://www.typo3.net/d/25052-awstats/2) · just2b · 2005-05-23

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

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

?

### [#3](https://www.typo3.net/d/25052-awstats/3) · pingu256 · 2005-05-23

> **just2b schrieb:**
>
> Hast du die ext richtig installiert?
> logfile_dir im install tool ausgefüllt bzw im setup:
>
> ```typoscript
> # 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

### [#4](https://www.typo3.net/d/25052-awstats/4) · just2b · 2005-05-23

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

### [#5](https://www.typo3.net/d/25052-awstats/5) · pingu256 · 2005-05-23

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

habe chmod auf 777 gesetzt   ...

### [#6](https://www.typo3.net/d/25052-awstats/6) · Andrea_Herzog · 2006-01-02

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

```html
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]

### [#7](https://www.typo3.net/d/25052-awstats/7) · Andrea_Herzog · 2006-01-04

Hat denn niemand eine Idee? :'(

Gruß
Andrea

### [#8](https://www.typo3.net/d/25052-awstats/8) · Andrea_Herzog · 2006-01-09

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

### [#9](https://www.typo3.net/d/25052-awstats/9) · Andrea_Herzog · 2006-01-10

Hallo zusammen,
tja, scheint niemand eine Idee zu haben.....

:'(

---

Quelle: „Awstats“, typo3.net, https://www.typo3.net/d/25052-awstats
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
