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.

Subdomain Bandwidth

Discussion in 'General Discussion' started by sketchified, Jun 14, 2002.

  1. sketchified

    sketchified Active Member

    Joined:
    Sep 23, 2001
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    We've had alot of customers complain recently about the bandwidth being off. All of the people complaining have subdomains that have used a ton of bandwidth, and this hasn't ever been seen in past months for these accounts. Is it possible that the bandwidth on the subdomains wasn't being calculated before and is now? Was anything recently changed dealing with bandwidth calculations that could cause this? By viewing the subdomain file in /var/cpanel/bandwidth/&subdomain&, June is the only month in there. Why is this if these are not new subdomains? Thanks.
     
  2. itf

    itf Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Connect via SSH to your server and type

    /scripts/fixsubdomainlogs
     
  3. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    [quote:7b126de1c7][i:7b126de1c7]Originally posted by itf[/i:7b126de1c7]

    Connect via SSH to your server and type

    /scripts/fixsubdomainlogs

    [/quote:7b126de1c7]

    Did above:

    Analog

    Unable to find any subdomains with stats pages.


    Webalizer

    Unable to find any subdomains with stats pages.


    Awstats

    Unable to find any subdomains with stats pages.

    Advanced and Iconic on WHM 4.8.0
    Cpanel 4.8.0-56
    RedHat 7.2
     
  4. awsol

    awsol cPanel Test Bitch

    Joined:
    Feb 8, 2002
    Messages:
    591
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Boston MA
    Run /scripts/runweblogs and input the username. This will update their stats.
     
  5. TRAIN YARD SOFTWARE

    TRAIN YARD SOFTWARE Well-Known Member

    Joined:
    Dec 20, 2001
    Messages:
    224
    Likes Received:
    0
    Trophy Points:
    16
    [quote:d1edb4dee7][i:d1edb4dee7]Originally posted by awsol[/i:d1edb4dee7]

    Run /scripts/runweblogs and input the username. This will update their stats.[/quote:d1edb4dee7]

    I did this and still get the same as above......

    root@box [~]# /scripts/runweblogs
    Log checker loaded ok..
    What user's logs did you want to update? username
    ==& Loading Config ....product myname adminuser basename version root engineroot
    engine enginepl cycle docroot access_log stats_log port RS VALIASDIR VFILTERDIR
    extracpus skipawstats
    ==& cpaneld(logger) 4.8 Starting (2 processor system).....
    Processing username...
    Run Logs username,domain.com,1048576000,
    About to fork() [ALL DOMAINS: ]
    Webalizer V2.01-10 (Linux 2.4.17) English
    Using logfile /usr/local/apache/domlogs/domain.com(clf)
    DNS Lookup (10): 60 addresses in 21.49 seconds, 2/sec
    Using DNS cache file /home/username/tmp/webalizer/dns_cache.db
    Creating output in /home/username/tmp/webalizer
    Hostname for reports is 'domain.com'
    Reading history file... webalizer.hist
    Reading previous run data.. webalizer.current
    Saving current run data... [06/16/2002 23:00:05]
    Generating report for June 2002
    Generating summary report
    Saving history information...
    364 records (354 ignored) in 0.14 seconds
    /usr/local/cpanel/3rdparty/bin/analog: analog version 5.22/Unix
    /usr/local/cpanel/3rdparty/bin/analog: Warning M: Cache file
    /home/username/tmp/analog/cache doesn't contain last-seven-day statistics; so
    these may be underestimated
    (For help on all errors and warnings, see docs/errors.html)
    /usr/local/cpanel/3rdparty/bin/analog: Warning L: logfiles
    /home/username/tmp/analog/cache and
    /usr/local/apache/domlogs/domain.com overlap: possible double
    counting
    /usr/local/cpanel/3rdparty/bin/analog: Warning R: Turning off empty Virtual
    Host Report
    /usr/local/cpanel/3rdparty/bin/analog: Warning R: In Domain Report, turning
    off pie chart of only one wedge

    Warning: HostAliases parameter is not defined, awstats choose &domain.com localhost 127.0.0.1&.
    Lines in file: 364
    Found 4 dropped records,
    Found 5 corrupted records,
    Found 349 old records,
    Found 6 new records.
    Webalizer V2.01-10 (Linux 2.4.17) English
    Error: Can't open log file /usr/local/apache/domlogs/ftp.domain.com-f
    tp_log
    Complete

    username and domain replaced with:
    username
    domain.com
     
Loading...

Share This Page