1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Webalizer stopped updating the stats.

Discussion in 'Plesk for Linux - 8.x and Older' started by faisal.m, Sep 6, 2005.

  1. faisal.m

    faisal.m Guest

    0
     
    Hi All,

    Webalizer has stopped updating the stats for a particular domain. Is there any command to update the stats of a particular domain?

    Thank You All.
     
  2. faisal.m

    faisal.m Guest

    0
     
    While doing the following,

    /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>

    I'm getting the following..

    Webalizer V2.01-10 (Linux 2.6.5-1.358) English
    Using logfile STDIN (clf)
    Using DNS cache file /usr/local/psa/var/webalizer.cache
    Creating output in /home/httpd/vhosts/domainname.com/statistics/webstat
    Hostname for reports is 'domainname.com'
    Reading history file... webalizer.hist
    Reading previous run data.. webalizer.current
    Saving current run data... [09/06/2005 08:38:03]
    Generating report for September 2005

    statistics: /usr/local/psa/admin/bin/domainmng execution failed:
     
  3. MaRiOs

    MaRiOs Guest

    0
     
  4. faisal.m

    faisal.m Guest

    0
     
    thnx

    Thank You.

    I have already tried to update the stats using the following command.

    /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=<domain>

    It showed that the stats are updated as I'd posted before. But it doesn't get updated in the statistics page. It's still the old stats, last updated on August 18th !!
     
  5. cmurphy@

    cmurphy@ Guest

    0
     
    Answer

    Log into plesk
    click domains
    click "domain name in question"
    click log manager
    click log rotation
    click "by time (monthly)
    click ok

    now delete the file listed under the log manager which is over 2,000,000 MB in size.

    ==================================
    webalizer cant parse logs over roughly 2 gigs in size and stops reporting due to this issue.

    turning on log rotation keeps log size small and deleting the large log gets rid of the issue.
     
  6. faisal.m

    faisal.m Guest

    0
     
    Thank you cmurphy

    Hi,

    When I checked, I didn't find any log files which are over 2G

    I'll do as you've told and let me check if it works.
     
  7. Tromalis

    Tromalis Guest

    0
     
    I have the same Plesk 7.5 and same problem. My stats have stopped at April 2006 (yes I know, I messed up.. and now) and the the logs in the log manager will not ALLOW me to even check them to delete them, one is at 9.8G. At this point, I wouldn't care about starting fresh just to get the numbers rolling again... PLEASE HELP! Thanks!
     
  8. nathacof@

    nathacof@ Guest

    0
     
    To empty a large log file in Linux is easy.

    From the command prompt:

    >/path/to/logfile

    This will put nothing in the file essentially deleting everything within. If you don't care about your stats and are trying to free up space this can be useful.
     
Loading...