Plesk is not updating the AWstats for a domain on a Linux Server and if you are trying to calculate for a domain you are getting the following error:

root@~]# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.tld

WARNING during statistics_collector execution: : error: error accessing /usr/share/tomcat5/logs: No such file or directory
error: tomcat:2 glob failed for /usr/share/tomcat5/logs/*.log

To resolve this problem, there are 2 methods:

1- Install Tomcat

or
2- create a directory in your /root folder:
>>> cd /root
>>> mkdir logrotate_backup

3- And then run the following command:
>>> mv /usr/local/psa/etc/logrotate.d/tomcat /root/logrotate_backup/

4- After this calculate the stats manually again, using the following command:
>>> /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=domain.com

Back to Linux

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-1) was last changed on 24-May-2017 15:30 by Hyve Support
G’day (anonymous guest) My Prefs
  • View Page Source
  • This clear IPSec security association,
    clear ipsec sa peer X.X.X.X
    

All Pages

Page views: 4369

Private Tomcat

Linux

MySQL

Email

SQL Server

ASP

JSP

C#

Web Mail

Windows Plesk

Linux Plesk

PHP

Gaming

ASP.NET

Persits ASPUpload

Wiki Help

Referring Pages:
...nobody

JSPWiki v2.8.1