• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Statistics calculate error

EnriqueR

Regular Pleskian
A few days ago the statistics generator stopped working.

I tried to run /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com. It get the following message and not generates statistics:
WARNING during statistics_collector execution: : statistics[25456]: Executing logs preparation...

¿What is happening?
 
I do not know in which section the logs are saved when the file /usr/local/psa/admin/sbin/statistics is runing
 
I have re-run /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com command and now has stopped work for me websites: 404 Not Found in every subscription. All other services (FTP, email, etc) work correctly. ¿Can you help me, please?

I have restarted HTTP and NXING services with no success. I have restarted server but continue without working.
 
Hello Enrique,
Please PM me your server details I help check it out for you!
 
I recently discussed about that error. This normally means your plesk upgrade didn't complete successfully! You will need to run the autoinstaller to complete the upgrade.

You can run the autoinstaller with:
Code:
/usr/local/psa/admin/sbin/autoinstaller
 
qserviciosinternet.es
Parallels Plesk v12.0.18_build1200140606.15 os_CentOS 6
12.0.18 #33
I actually meant sending me a PM with your server logins. The info you have provided can not help in the troubleshooting.
 
Enrique,

Do kindly let us know if replacing that file helped solve the problem at hand ...I see many threads coming up with the same error.

Thanks!
 
No, replacing the file not solve the problem. When I use the installer, surprisingly the file has replaced the original and now still gives me the same error.

I think the main problem that not work HTML pages really not is the corrupt file. Because before to stop HTML, gave me error file.
The problem come when I run: /usr/local/psa/admin/sbin/statistics –calculate-one –domain-name=domain.com. Something has done this command has broken HTML viewer all subscription.
I run service httpd status and return runing. It is very rare.
 
Last edited:
After solving my problem with the 'statistics' command, I have executed and seems to work properly. The only problem is that I thought that this command regenerate the configuration files staying in '/usr/local/psa/etc/awstats/'. I had to delete this files because I read in a post that this was the only way for the system to regenerate the configuration.

How can I rebuild these files?
awstats.domain.com-anon_ftp.conf
awstats.domain.com-ftp.conf
awstats.domain.com-http.conf
awstats.domain.com-https.conf
 
That is most likely because there are no un-processed log files for the previous periods.
 
Yes. There are log files. I have the logrotate to rotate in one year. The logrotate separate in gz files.
 
Back
Top