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.

POP/IMAP Bandwidth Reporting Always Zero

Discussion in 'General Discussion' started by anup123, Sep 5, 2006.

  1. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    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. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    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!
     
    #2 Spiral, Sep 5, 2006
    Last edited: Sep 5, 2006
  3. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    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. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
Loading...

Share This Page