• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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