Current time: 05-04-2024, 05:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Author Message
gurge Offline
Junior Member
*

Posts: 92
Joined: Mar 2007
Reputation: 1
Post: #1
RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Hallo,

ich hatte heute nun endlich mal zeit von RC2 auf RC4 zu updaten. Es läuft jetzt alles wieder so wie es soll und es ist schön.

Jetzt wo nun die awstats dabei sind wollte ich das also gleich mal probieren. Fehlanzeige.
Wenn ich domain.tld/stats(/) aufrufe kommt immer Fehler 404.
Mod Rewrite, Proxy, Proxy_http ist an. und proxy.conf enthält auch das richtige. 01_Awstats.conf ist an und habe nicht geändert.

Das einzige was mich etwas nachdenklich macht das mein /var/www/awstats leer ist. Da ja da min. die Icons laut Apache2 conf liegen müssten.

Nach vielen hin und her geteste habe ich endlich mal eine log gefunden die mir etwas auskunft gibt. Und zwar unter /var/log/apache2/logelhost-error.log.
Code:
[error] [client 127.0.0.1] File does not exist: /htdocs
Genau dieser Eintrag erscheint wenn ich versuche die stats aufzurfen. Wenn ich das spiel mit machen will er /htdocs/stats/domain.tld/ haben und dann zeigt er einen leeren Ordner an.
Ich habe versucht mit wget local awstats aufzurufen und das ging soweit eigentlich gut.

Ich bin jetzt am ende und weiß nicht mehr weiter. Kann es auch damit zusammen hängen das ich in einer frühren Version (vor RC2) schon mal die awstats zum laufen gebracht hatte. Leider weiß ich nicht mehr wie.

Achja ich habe den Cronjob angepasst zu:
Code:
30      */2     * * *      /var/www/ispcp/engine/awstats/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl
vorher hat er auf nicht vorhande Dateien gezeigt.

Vielleicht habt ihr noch eine Idee? Ich woll doch endlich mal sehen was so los ist bei mir :-)

Danke,
Gurge
05-30-2008 06:50 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: #2
RE: RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Dann poste bitte mal deine proxy.conf.

Config für AWStats liegen unter /etc/awstats
Hier sollte für jede Domain eine Config sein.
Gibt es den Ordner /var/cache/awstats/ ?
Hier müssen die txt Dateien zu jeder Domain liegen.
Was passiert denn wenn Du die AWStats cron ausführst ?

Greez BeNe
05-30-2008 05:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gurge Offline
Junior Member
*

Posts: 92
Joined: Mar 2007
Reputation: 1
Post: #3
RE: RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Na Hallo.

Meine proxy.conf:
Code:
<IfModule mod_proxy.c>
        #turning ProxyRequests on and allowing proxying from all may allow
        #spammers to use your proxy to send email.

        ProxyRequests Off

        <Proxy *>
                AddDefaultCharset off
                Order deny,allow
                Deny from all
                Allow from 127.0.0.1

                # Define the character set for proxied FTP directory listings
                ProxyFtpDirCharset UTF-8
        </Proxy>

        # Enable/disable the handling of HTTP/1.1 "Via:" headers.
        # ("Full" adds the server version; "Block" removes all outgoing Via: headers)
        # Set to one of: Off | On | Full | Block

        ProxyVia On
</IfModule>

In /etc/awstats liegt für jede domain eine Config in der Form awstats.domain.tld.conf

In /var/cache/awstats liegen jedemenge txt dateien von meinen domains. (mehrer Monate)

Wenn ich den cron ausführe erhalte ich für jede Domain:
Code:
Running '"/usr/lib/cgi-bin/awstats.pl" -update -config=domain.tld -configdir="/etc/awstats"' to update config domain.tld
Update for config "/etc/awstats/awstats.domain.tld.conf"
With data in log file "/var/log/apache2/domain.tld-combined.log"...
Phase 1 : First bypass old records, searching new record...
Direct access after last parsed record (after line 328517)
Jumped lines in file: 328517
Found 328517 already parsed records.
Parsed lines in file: 9
Found 0 dropped records,
Found 0 corrupted records,
Found 0 old records,
Found 9 new qualified records.

Vielleicht siehst du den Fehler?
05-30-2008 11:41 PM
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: #4
RE: RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Bei AWStats sieht alles gut aus. Es muss also an der Apache Config liegen.
Die ganzen Proxy Module sind also geladen ?
Was sagen die ApacheLogs ?

Greez BeNe
06-02-2008 04:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gurge Offline
Junior Member
*

Posts: 92
Joined: Mar 2007
Reputation: 1
Post: #5
RE: RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Module sind 100%ig gestartet.


in /var/log/apache2/domain.tld-combined.log
Code:
[02/Jun/2008:16:55:15 +0200] "GET /stats HTTP/1.1" 404 306 "-" "Opera/9.50 (X11; Linux i686; U; en)"

in /var/log/apache2/users/doamin.tld-error.log
Code:
Jun 02 16:55:15 2008] [error] [client xxx.xxx.xxx.xxx] File does not exist: /var/www/virtual/doamin.tld/htdocs/favicon.ico, referer: http://domain.tld/stats

in /var/log/apache2/error.log
Code:
[error] [client 127.0.0.1] File does not exist: /htdocs

Es ist klar das er irgendwo versucht statt auf awstats auf /htdocs zu zugreifen. Bloss ich weiß einfach nicht wo.
06-03-2008 01:33 AM
Find all posts by this user Quote this message in a reply
gurge Offline
Junior Member
*

Posts: 92
Joined: Mar 2007
Reputation: 1
Post: #6
RE: RC2->Rc4, Awstats, (habe noch keine Lösung gefunden)
Ahh, Problem gelöst!

Ich hatte in der http.conf noch bissel was von der alten ispcp und awstats stehen. Alles auskommentiert und es rennt.

Habe ich mir doch selber ein Bein gestellt.
06-03-2008 01:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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