• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

awstat does not work

maumar

New Pleskian
this is plesk 11 debian 6 fully updated
awstats does not produce any statistics for each domain for which we have configured.
Further, we are not able to trace th eissue as we can't find awastats logs
Can you provide us some way to enable awstat logs?
many thnx
 
Try recalculating domain Stats with the command ...

/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=yourdomain.com
 
Hello abdi
you are always welcome :) in ancient greek, a guy like you was a "Soter/Soteros" :)
so, following ur suggestion i was able to fix the issue

Code:
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com



WARNING during statistics_collector execution: : statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-http -dir=/var/www/vhosts/manomarine.com/statistics/webstat/2012-07 -month=7 -year=2012  >/dev/null 2>&1

System error 17: File exists
statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-http -dir=/var/www/vhosts/manomarine.com/statistics/webstat/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-https -dir=/var/www/vhosts/manomarine.com/statistics/webstat-ssl/2012-07 -month=7 -year=2012  >/dev/null 2>&1

System error 17: File exists
statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-https -dir=/var/www/vhosts/manomarine.com/statistics/webstat-ssl/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-anon_ftp -dir=/var/www/vhosts/manomarine.com/statistics/anon_ftpstat/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -config=manomarine.com-ftp -dir=/var/www/vhosts/manomarine.com/statistics/ftpstat/current  >/dev/null 2>&1

System error 2: No such file or directory
error: error accessing /var/lib/tomcat6/logs: No such file or directory
error: tomcat:1 glob failed for /var/lib/tomcat6/logs/*.log

now i try to locate it:
Code:
locate awstats_buildstaticpages.pl
/usr/share/awstats/tools/awstats_buildstaticpages.pl

and using /usr/share/awstats/tools/awstats_buildstaticpages.pl i got some results

so i could say that:

the script uses a non-existent /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl
to fix it it's enough:

Code:
ln -s  /usr/share/awstats/tools/awstats_buildstaticpages.pl /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl

thsn
Code:
/usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=example.com

WARNING during statistics_collector execution: : error: error accessing /var/lib/tomcat6/logs: No such file or directory
error: tomcat:1 glob failed for /var/lib/tomcat6/logs/*.log
 
I get the follow when I run the command.
Code:
[super@mydomain ~]# /usr/local/psa/admin/sbin/statistics --calculate-one --domain-name=my-example.com

WARNING during statistics_collector execution: : statistics_collector: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-http -dir=/var/www/vhosts/my-example.com/statistics/webstat/2012-07 -month=7 -year=2012  >/dev/null 2>&1

System error 17: File exists
statistics_collector: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-http -dir=/var/www/vhosts/my-example.com/statistics/webstat/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-https -dir=/var/www/vhosts/my-example.com/statistics/webstat-ssl/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-anon_ftp -dir=/var/www/vhosts/my-example.com/statistics/anon_ftpstat/current  >/dev/null 2>&1

System error 2: No such file or directory
statistics_collector: Unable to execute /usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-ftp -dir=/var/www/vhosts/my-example.com/statistics/ftpstat/current  >/dev/null 2>&1

System error 2: No such file or directory
error: error accessing /usr/share/tomcat5/logs: No such file or directory
error: tomcat:1 glob failed for /usr/share/tomcat5/logs/*.log

When I do the locate, I get the following. Which makes the location above..
Code:
[super@mydomain ~]# locate awstats_buildstaticpages.pl
/usr/share/awstats/awstats_buildstaticpages.pl

So then I did the follow line, and that makes the location above as well..
Code:
[super@mydomain ~]# locate awstats.pl
/var/www/cgi-bin/awstats/awstats.pl

Any ideas on to fix this?
 
what u get when try to execute the command

/usr/share/awstats/awstats_buildstaticpages.pl -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=my-example.com-http -dir=/var/www/vhosts/my-example.com/statistics/webstat/current
 
Back
Top