• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Webalizer stopped updating the stats.

F

faisal.m

Guest
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.
 
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:
 
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 !!
 
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.
 
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.
 
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!
 
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.
 
Back
Top