Current time: 09-25-2024, 09:15 AM Hello There, Guest! (LoginRegister)


Post Reply 
Seit RC7 keine Domainstats mehr
Author Message
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #1
Seit RC7 keine Domainstats mehr
Moin,

seit dem Update auf RC7 kann DOMAIN.TLD/stats/ nicht mehr aufgerufen werden, bzw. er Leitet auf den Domainroot um ( DOMAIN.TLD/ ).

Außerdem werden stats auch nicht mehr generiert.
Die Crons habe ich nach dem HowTo hier ausm Board editiert.
Sowie die Files regeneriert.

AWSTATS_MODE = 1 also static.

In den Errorlogs steht nichts besonderes, bzw. nichts dazu.

Die Acceslog der Domain :

Quote:87.123.176.72 - - [16/Dec/2008:22:39:10 +0100] "GET /stats HTTP/1.1" 200 1081 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Iron/0.2.152.0 Safari/28212352.525"
87.123.176.72 - - [16/Dec/2008:22:39:13 +0100] "GET /awstats HTTP/1.1" 200 1081 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Iron/0.2.152.0 Safari/28212352.525"
87.123.176.72 - - [16/Dec/2008:22:39:21 +0100] "GET /statistics HTTP/1.1" 200 1081 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Iron/0.2.152.0 Safari/28212352.525"
87.123.176.72 - - [16/Dec/2008:22:39:25 +0100] "GET /statistics/ HTTP/1.1" 200 1081 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Iron/0.2.152.0 Safari/28212352.525"

Also laut Server erfolgreich ausgeliefert. Stimmt aber net.

grüße
(This post was last modified: 12-17-2008 08:31 PM by Top44.)
12-17-2008 08:30 PM
Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #2
RE: Seit RC7 keine Domainstats mehr
also für dynamic (musst du unter /etc/ispcp/ispcp.conf awstats_mode auf 0 stellen) hab ich folgendes gemacht:

1. in der ispcp.conf
# httpd awstats support BEGIN.
ProxyRequests Off

<Proxy *>
Order allow,deny
Allow from all
</Proxy>

ProxyPass /stats http://localhost/stats/domain.tld
ProxyPassReverse /stats http://localhost/stats/domain.tld
# httpd awstats support END.

für jeden virtual host (am besten entspr. template anpassen, dann wirds automatisch gemacht)

2. checken ob 01_awstats nach site-enabled verlinkt ist

3. proxy.conf aus mods_enabled entfernen

4. chmod 777 auf /var/cache/awstats

5. und für den awstats cronjob:
0 0 * * * /usr/bin/perl /var/www/ispcp/engine/awstats/awstats_updateall.pl now -ignoredefault -staticdir=/var/www/virtual/*/susr/lib/cgi-bin/awstats.pl -staticprog=/var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl

dann mal den apache neu starten und guggen was passiert.

bei mir klappt jetzt alles bis auf die passwort abfrage. ich habe rc7 und komme direkt auf die stats wenn ich domain.tld/stats eingebe. keine pw abfrage nichts... meine htaccess gruppe statistics existiert und einen user hat sie auch...

grüße,
Hammy
12-17-2008 09:06 PM
Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #3
RE: Seit RC7 keine Domainstats mehr
Hmm dazu hab ich keine Lust.

Mal schauen, vll ist nen nightly besser bzw. lauffähig.

grüße
12-18-2008 06:16 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #4
RE: Seit RC7 keine Domainstats mehr
You also need to set in ispcp.conf
Code:
AWSTATS_ACTIVE = yes
and after regenerate all config files. (I suggest to use nightly update script - automated version but only if you have RC7)
~=
Sie müssen auch in ispcp.conf
Code:
AWSTATS_ACTIVE = yes
und nach regenerieren alle Konfigurationsdateien. (Ich schlage vor, die Verwendung nächtlichen Update-Skript - automatisierte Version jedoch nur, wenn man RC7)
(This post was last modified: 12-18-2008 06:30 AM by sci2tech.)
12-18-2008 06:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #5
RE: Seit RC7 keine Domainstats mehr
AWSTATS_ACTIVE = 1 ist vorhanden.


grüße
12-18-2008 07:32 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Seit RC7 keine Domainstats mehr
AWSTATS_ACTIVE = 1 != AWSTATS_ACTIVE = yes

1 und yes sind aber zwei verschieden sachen.

Greez BeNe
12-18-2008 04:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Hammy Offline
Junior Member
*

Posts: 88
Joined: Jul 2007
Reputation: 0
Post: #7
RE: Seit RC7 keine Domainstats mehr
mit anderen worten du musst AWSTATS_ACTIVE auf "yes" stellen ;-)
die anleitung oben sind die schritte die ich gemacht habe um awstats zum laufen zu bringen. muss also nicht heißen, dass du alle punkte machen musst.
am anfang habe ich mir das auch schwer vorgestellt mit dem awstats, aber prinzipiell ist es total einfach. nur mut Wink

könnte mir vlt noch jemand erklären was ich tun muss, damit die passwort abfrage funktioniert? irgendwie hab ich da noch nicht das problem gefunden...
hab dafür auch ein eigenes thema aufgemacht: http://www.isp-control.net/forum/showthr...p?tid=5187

danke
(This post was last modified: 12-18-2008 08:08 PM by Hammy.)
12-18-2008 08:06 PM
Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #8
RE: Seit RC7 keine Domainstats mehr
Ups, hab mich wohl vertan, steht natürlich auf "yes".


grüße
12-18-2008 09:06 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)