Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default POP/IMAP Bandwidth Reporting Always Zero

    Hello,

    I enabled AWSTATS. Till August 2006, the bandwidth reporting for POP/IMAP was perfectly OK. However, September 06 onwards, POP/IMAP bandwidth is always reported "ZERO" ie not reported at all and this is traceable from the fact that there are accounts which have been consuming 500-1000MB/Day on a/c of this but suddenly it's reported ZERO.

    10.8.2-RELEASE 119

    Any clue?

    TIA
    Anup

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Default

    We have the same problem since Sept 2nd and after some review,
    I found out that problem is that Apache is no longer generating quotes
    around the fields in any log files but even though I know the cause of
    the problem, I'm still not sure how to get AwStats working again:

    Instead of:
    127.0.0.1 - - [01/Sep/2006:14:35:01 -0400] "GET /file.txt HTTP/1.0" 200 11200 "-" "-"

    It's now like:
    127.0.0.1 - - [01/Sep/2006:14:35:01 -0400] GET /whm-server-status HTTP/1.0 200 11200 - -

    The change in the log format occurred following a Cpanel update earlier this week
    and the problem seems to be associated with that.

    We have multiple servers where this problem has emerged this week

    ------

    EDIT: I may have possibly found the solution --- just ran a compare of httpd.conf from an unchanged server
    against one of the servers having the AwStats and Logformat problem and found the following:

    Server that still works:
    Code:
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    Server that is broken:
    Code:
    LogFormat "%h %l %u %t %r %>s %b %{Referer}i %{User-Agent}i" combined
    Apparently the most recent cpanel update changed the LogFormat for some really bizarre reason!

    Changing the LogFormat in httpd.conf back to normal, restarting Apache, and removing the existing log
    files from /etc/httpd/domlogs did the trick and AwStats is once again working!
    Last edited by Spiral; 09-05-2006 at 07:44 PM.

  3. #3
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    Hello,

    AWSTATS is working fine.
    My problem is that POP?IMAP under bandwidth is always reporting zero (ie it's not reporting at all). This had occurred long back when migration to Maildir was done but got resolved on it's own after three months. It has resurfaced again. There's a bugzilla entry regarding POP/IMAP Bandwidth zero since last year.....


    Thnx
    Anup

  4. #4
    Member
    Join Date
    Mar 2004
    Location
    This Planet
    Posts
    984

    Default

    It's close to one year and related to this issue there's a bugzilla :

    Opened: 2005-10-20 06:21

    http://bugzilla.cpanel.net/show_bug.cgi?id=3388

    TIA
    Anup

Similar Threads & Tags
Similar threads

  1. cPanel bandwidth reporting HELP
    By mm1250 in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-17-2008, 10:54 AM
  2. View bandwidth usage. Reporting less than 1MB used for month.
    By timdelange in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-22-2006, 03:53 AM
  3. convert2maildir did its job, courier-imap (imap & pop) are causing problems
    By hariskhan in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-05-2006, 08:13 AM
  4. mail fwds vs accounts in bandwidth reporting
    By verdon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-29-2004, 09:58 AM
  5. Subdomain Bandwidth Reporting 0's
    By Marty in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-17-2004, 10:32 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube