Results 1 to 8 of 8

Thread: Awstats stopped working from 11.28.48

  1. #1
    Member
    Join Date
    Jun 2006
    Posts
    221

    Exclamation Awstats stopped working from 11.28.48

    Since the update of cpanel to 11.28.48 awstats stopped working correctly. It does update but all new stats are 0. It seems like it does not get the data to update.

    I have seen this on several accounts.

    I noticed that /usr/local/apache/domlogs files are not updating. Anyone else have the same problem? I am not sure if this is a cPanel, Apache or Awstats problem.
    Last edited by johnburk; 11-29-2010 at 05:54 AM.

  2. #2
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Default Re: Awstats stopped working from 11.28.48

    Hi,

    I've experienced the same problem I've had no apache access logs for most of the hosted domain from 29th Nov:

    -rw-r----- 2 root XXXX 0 Nov 29 02:10 /usr/local/apache/domlogs/XXXX.tld

    this is very disapointing as I cannot find the root cause in apache for this... any idea?

    thanks

  3. #3
    Member
    Join Date
    Jun 2006
    Posts
    221

    Default Re: Awstats stopped working from 11.28.48

    It started working again, but I was not able to find any reason why it stopped.

  4. #4
    cPanel Staff cPanelJared's Avatar
    Join Date
    Feb 2010
    Location
    Houston, TX
    Posts
    1,461
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Awstats stopped working from 11.28.48

    I have so far seen one other instance of this happening. The cause was the same: domlogs not being updated, with 0-byte size since the last time stats were updated. In the case that I saw, restarting Apache fixed it, but it should not have happened. If you see this happen again, please submit a ticket - preferably without restarting Apache first, if you can avoid it - so that we can log in and investigate and see if we can find a pattern to this.
    For hands-on assistance, please reference our new support information page: Where should I go for support?
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation - Find cPanel hosting


    -- Jared Ryan, Technical Analyst, cPanel Technical Support

  5. #5
    Member
    Join Date
    Jun 2006
    Posts
    221

    Default Re: Awstats stopped working from 11.28.48

    I still have this problem on multiple servers everytime I build with EasyApache. The only way to fix it is to manually restart apache after EasyApache has done a restart.

    cPanel has looked at this several times and they have no clue why it is and how to fix it.

    So if you are experiancing this problem, try a manual restart.

    BTW it started with 11.28.48 and I still have the same problem up to WHM 11.32.2

  6. #6
    Member
    Join Date
    Jun 2007
    Posts
    211
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Awstats stopped working from 11.28.48

    Stats stopped on May 16th, and the domlog file is zero bytes and dated May 16th. I have restarted Apache a few times since May 16th, so this is not working for me.

    Any other ideas why the domlogs are not updating like they are supposed to???

  7. #7
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Awstats stopped working from 11.28.48

    Is this happening for one domain or all domains on the machine? It would have been better to open up a new thread, since this thread deals with 11.28.

    If all domains aren't working, you might want to check /usr/local/apache/conf/httpd.conf has these lines in it:

    Code:
    <IfModule log_config_module>
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%h %l %u %t \"%r\" %>s %b" common
    
        CustomLog "logs/access_log" common
    
        <IfModule logio_module>
            LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    
        </IfModule>
    
    </IfModule>
    If those lines are missing, re-add them below this portion:

    Code:
    <FilesMatch "^\.ht">
        Order allow,deny
        Deny from all
    
        Satisfy All
    </FilesMatch>
    Then run the distiller, rebuild Apache and restart it:

    Code:
    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak120625
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /usr/local/cpanel/scripts/rebuildhttpdconf
    /etc/init.d/httpd restart
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  8. #8
    Member
    Join Date
    Jun 2007
    Posts
    211
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: Awstats stopped working from 11.28.48

    It's not happening to all of them, just a few. and yes, those lines do exist in my httpd.conf.

    I ran the distiller and rebuilt the httpd.conf file (as shown above)
    and then restarted httpd.

    and that seems to have done it. So I have done everything except the distiller. That seems to be the missing piece here.

    Thanks

Similar Threads

  1. awstats just stopped working!?!
    By wowway1 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 12-11-2004, 01:37 PM
  2. AWStats stopped working after upgrading to CPanel 6.0
    By golloween in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 03-11-2003, 10:02 AM
  3. Awstats stopped working
    By dandanfireman in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 02-07-2003, 04:50 PM
  4. AWStats has stopped
    By Snowman in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-07-2003, 04:26 PM
  5. awstats stopped working
    By mrprez in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 12-30-2002, 10:00 AM

Tags for this Thread