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.

Bandwidth Logging Problem

Discussion in 'General Discussion' started by Higgins, Feb 13, 2003.

  1. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    I have a slight Problem with Bandwidth Logging for all Domains. After installing CPanel i was wondering why there are the used Bandwidth for all Domains is after 2Days still 0 bytes used. Checked httpd.conf and there was no entry for the bytes_log module. Also these module was never compiled by the installer. So i compiled mod_bytes_log and mod_bwlimited an copied ti /libexec/apache. I have run the initbyteslog command from the Script Directory and the Logging Lines where inserted for all Domains in httpd.conf. Restarted Apache and the domain_bytes_log Files in the ../domlog Dir where created also the transfered bytes inserted in the Files. After one more Day the Bandwidth for the Domains are still 0 . /var/cpanel/bandwidth/ Directory is still Empty there where no files Created. So did i missed something to get this to work ?
     
  2. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    can nobody help me out here? It is realy urgent.
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    Ensure these two lines exist in httpd.conf

    LoadModule bytes_log_module libexec/mod_log_bytes.so

    AddModule mod_log_config.c
     
  4. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    Yes the Modules are already in the httpd.conf
     
Loading...

Share This Page