Plesk web stats not updating
Plesk web stats not updating - mib 1 completo dublado online dating
The statistics program sends the hit data to webalizer via the ‘/dev/stdin’ so webalizer never actually accesses any log file directly.So, basically, I don’t think webalizer has anything to do with the actual problem, but is merely a symptom.
/usr/bin/webalizer This is what will happen when statistics calls it.
Other than the 2 Gig file limit that causes the ’statistics’ program to crash, I don’t know what it could be.
BTW, the reason ’statistics’ crashes is because it attemts to append the ‘access_log’ to the ‘access_log.processed’ file.
So, if your situation is such that the sum of these two files for any one domain exceeds 2 Gig (which could be the case given the numbers you indicated), then it could still be the root of the problem.
If that is the case, then manually rotate the ‘access_log.processed’ file(s) so that statistics will create a new one from the ‘access_log’ file.
Since the hit data in the ‘procesed’ log file(s) has already been processed by the ’statistics’ program, you could in theory simply delete them.
However, I like to keep these files just in case I need to go back and look for any problems.If you do not currently have log rotation turned on, you can use the following command to manually rotate the processed file(s): mv access_log.processed access_log.processed.1 gzip -9 access_log.processed.1 If you have log rotation turned on, you will need to rename your existing logs first (increment each file by one).I also want to mention that the 2 Gig file problem is with the ’statistics’ program and not webalizer.To update webstats on Plesk use this command./usr/bin/webalizer -n domain name -o /home/httpd/vhosts/domain name/webstat/ /home/httpd/vhosts/domain name/logs/access_logalso note that in which is in /etc/this entry should be commented dns_The above command will update stats for only one domain but if you want to update stats for the whole server then use /usr/local/psa/admin/sbin/statistics.———————————————- To update webstats for specific domain use following command. Check that one or more of your log files is larger than 2 Gig, in which case the statistics program will not run (which is probably why it was disabled in the first place). The line SHOULD be: 07 4 * * * /usr/local/psa/admin/sbin/statistics &1 That may not be the only way this was disabled, but it’s a likely way. COM To update stats for all the domains on that server use /usr/local/plesk/webstats If you face any problem or get an error like below: Error: Unable to restore run data (99) Then take the following steps to resolve this problem: 1. but this will fix it than update stats as i shown you before and you should not get any error even this does not works, I mean to say, if the webstat stops itself, then check the following Check the root user’s crontab (crontab -l when logged in as root) and see if statistics is enabled, or even present.