Current time: 04-26-2024, 09:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
Awstats doesn't work
Author Message
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #1
Awstats doesn't work
hi all
when upgrade to RC6 I have a trouble with Awstats
screenshot     when access http://site/stats
awstats script collect statistics but I can't see it
09-25-2008 11:16 PM
Visit this user's website 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: Awstats doesn't work
Please use:
Code:
http://www.yourdomain.tld/stats/

If this also not works, check you ApacheConfig about the "/stats/" and your mod_proxy config.

Greez BeNe
09-25-2008 11:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #3
RE: Awstats doesn't work
Code:
/etc/apache2/sites-enabled# cat ispcp.conf | grep stats
    # httpd awstats support BEGIN.
    Alias /stats    /var/www/virtual/xxxxxxxx/statistics/
        DirectoryIndex awstats.xxxxxxxx.html

Code:
/etc/apache2/mods-enabled# cat proxy.conf
<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>

Code:
/etc/apache2/mods-enabled# cat proxy.load
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so


where is bug?
09-25-2008 11:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #4
RE: Awstats doesn't work
Quote:Please use:
I trying all variants
with www and no
(This post was last modified: 09-25-2008 11:46 PM by KeNt.)
09-25-2008 11:44 PM
Visit this user's website 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: #5
RE: Awstats doesn't work
And the "/" on the end ?
Code:
http://www.yourdomain.tld/stats/

Greez BeNe
09-26-2008 12:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #6
RE: Awstats doesn't work
BeNe Wrote:And the "/" on the end ?
Code:
http://www.yourdomain.tld/stats/

Greez BeNe

Yes, I have tried all variants
09-26-2008 12:35 AM
Visit this user's website 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: #7
RE: Awstats doesn't work
Ok!
You use AWStats Static ?
What happend if you start the AWStats Cron entry manually ??

Greez BeNe
09-26-2008 12:37 AM
Visit this user's website Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #8
RE: Awstats doesn't work
Code:
# cat /etc/ispcp/ispcp.conf | grep AWST
# AWSTATS data
AWSTATS_ACTIVE = yes
AWSTATS_MODE = 1
AWSTATS_CACHE_DIR = /var/cache/awstats
AWSTATS_CONFIG_DIR = /etc/awstats
AWSTATS_ENGINE_DIR = /usr/lib/cgi-bin
AWSTATS_WEB_DIR = /usr/share/awstats
AWSTATS_ROOT_DIR = /var/www/ispcp/engine/awstats

when start manually I have no errors and awstats work good
09-27-2008 12:25 AM
Visit this user's website 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: #9
RE: Awstats doesn't work
So AWStats create your HTML Files in the stats directorys ?

Greez BeNe
09-27-2008 12:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
KeNt Offline
Junior Member
*

Posts: 37
Joined: Jan 2007
Reputation: 1
Post: #10
RE: Awstats doesn't work
Code:
ls statistics/ -la
total 8
drwxr-xr-x  2 vu2002 vu2002   4096 2008-09-22 23:37 .
drwxrwx--- 10 vu2002 www-data 4096 2008-09-23 02:00 ..
09-27-2008 12:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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