The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Webstats problem

Discussion in 'General Discussion' started by SpiritAu, Sep 11, 2007.

  1. SpiritAu

    SpiritAu Active Member

    Joined:
    Feb 23, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Aussie Land!
    We're running:
    WHM 11.2.0 cPanel 11.11.0-R16908
    CENTOS Enterprise 4.5 i686 - WHM X v3.1.0
    Apache/1.3.37 (Unix)


    We have an issue with webstats as apache isn't logging visits correctly.
    For example the domlog file only has text 'combinded' for each visit; and this isn't correct it should have the combinded logfile data being the output; but something is screwed up!

    This is happening on all sites; and the httpd.conf entries look like this:

    <VirtualHost xxxxx:80>
    ServerName xxxxx.com
    ServerAlias www. xxxxx.com.au xxxxx.com.au www.xxxxx.com
    DocumentRoot /home/xxxxx/public_html
    ServerAdmin webmaster@xxxxx.com
    UseCanonicalName Off
    Options -ExecCGI -Includes
    RemoveHandler cgi-script .pl .cgi
    CustomLog /usr/local/apache/domlogs/xxxxx.com combined
    BytesLog /usr/local/apache/domlogs/xxxxx.com-bytes_log
    User xxxxx
    Group xxxxx
    Userdir disabled
    Userdir enabled xxxxx
    ScriptAlias /cgi-bin/ /home/xxxxx/public_html/cgi-bin/
    </VirtualHost>

    Any ideas?
     
  2. SpiritAu

    SpiritAu Active Member

    Joined:
    Feb 23, 2003
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Aussie Land!
  3. kev1nk

    kev1nk Member

    Joined:
    Sep 11, 2007
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Re: Statistics

    Hello,

    The statistics software will not work properly if you do not have entries in your logs. The domlogs folder has one main goal - to keep the logs for your virtual hosts. The first thing that you have to check your other logs. You have to check your access_log and your error_log. If you have entries there then your logging function is working properly. Then you could try something very interesting. You could create a simple html file called "blablabla.html" in the DocumentRoot of your VirtualHost and to try to access it. If you are able to access it then the VirtualHost is recognized( that is good). The next step is to grep "blablabla.html" in your logs and domlogs folder. Then I am sure that you will find the reason for your issues.
     
Loading...

Share This Page