[TYPO3-german] ICS AWStats

Dirk Paschel d.paschel at quantentunnel.de
Sat May 26 23:47:10 CEST 2007


Hi,

Ich habe

[logfile_dir]=fileadmin/log/

In der localconf.php steht:
$TYPO3_CONF_VARS["FE"]["logfile_dir"] = 'fileadmin/log/';


Unter Tools im BE habe ich mansfeld.log zur Auswahl.

Das, was ich dort eingetragen habe finde ich in 
fileadmin/log/.awstats-data/awstats-module.conf

mansfeld.log t3.mansfeld-schule-bochum.de 1 1 1

Im BE kann auf AWstats zugreifen und es aktualisieren

Mhmm, prima?

Typo3 loggt aber nix, obwohl:

drwxrwxrwx  3 root   root    45 May 26 20:37 .
drwxr-xr-x  8 wwwrun psacln 121 May 26 18:59 ..
drwxr-xr-x  3 wwwrun www     51 May 26 21:10 .awstats-data
-rw-rw-rw-  1 wwwrun psacln   0 May 26 21:49 mansfeld.log
s15217710:/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/fileadmin/log #


auch habe ich im Typo-Skript:

## Enable apache-style logging into a file
config.stat = 1
config.stat_apache = 1
config.stat_apache_logfile = mansfeld.log

## Optional: Simulate Static Document
config.simulateStaticDocuments = 1
config.simulateStaticDocuments_addTitle = 30
config.stat_apache_pagenames = /[title].[uid].[type].html

WEiterhin habe ich ICS Web AWStats installiert.

Wenn ich dies im BE aufrufe, wird mir gesagt:

Das Template dieser Seite enthält keinen Logdatei Datensatz.



In der crontab habe ich

14 7,19 * * * 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/awstats-update.phpcron 
#AWSTAT-Mansfeld

angelegt und erhalte:

Ausgabe des Befehls 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/awstats-update.phpcron 
..

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'TYPO3_MAGIC' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 295

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'AWS_DOMAIN' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 310

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'AWS_DOMAINS' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 311

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'AWS_LOGFILE' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 312

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'GATEWAY_INTERFACE' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 313

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'AWS_DNSLOOKUP' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 314

Warning: putenv(): Safe Mode warning: Cannot set environment variable 
'AWS_CACHE_DIR' - it's not in the allowed list in 
/srv/www/vhosts/t3/t3.mansfeld-schule-bochum.de/typo3conf/ext/ics_awstats/mod1/class.tx_icsawstats_awstats.php 
on line 315
sh: /perl: No such file or directory
Perl was not running as expected. Please check the following points:<br />
 - php-'safe_mode' must not be enabled (Current configuration: 
safe_mode=1)<br />
 - the ics_awstats extension misconfiguration (Current configuration: 
perlbin=/usr/bin/perl)<br />
 - check the permissions of '/usr/bin/perl'<br />

Perl liegt unter /usr/bin/perl



Hat jemand eine Idee?







More information about the TYPO3-german mailing list