• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Awstats

henkbart

New Pleskian
I had hopes that after the update to versio 8.2.0 AWSTATS finaly was functioning, but sorry. Only got the Placeholder messages, and after waing several days, noting changes.

Does anyone know an answer???

Thanks,

Henk
 
what is your os ?

try to run
/opt/psa/admin/sbin/statistics

is there any error ?
 
look in to your cron.daily there should be something like 50plesk-daily this file is calling the statistics script, take the path and start it then look to failures
 
start the statistics and these errors occured :

sh: /srv/www/cgi-bin/awstats/awstats.pl: No such file or directory
Error: Can't find AWStats program ('/srv/www/cgi-bin/awstats/awstats.pl').
Use -awstatsprog option to solve this.
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-http -dir=/srv/www/vhosts/treindienstleider.nl/statistics/webstat/
System error 32: Broken pipe
sh: /srv/www/cgi-bin/awstats/awstats.pl: No such file or directory
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-https -dir=/srv/www/vhosts/treindienstleider.nl/statistics/webstat-ssl/
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-http -dir=/srv/www/vhosts/treindienstleider.nl/statistics/webstat/
System error 32: Broken pipe
Error: Can't find AWStats program ('/srv/www/cgi-bin/awstats/awstats.pl').
Use -awstatsprog option to solve this.
System error 17: File exists
sh: /srv/www/cgi-bin/awstats/awstats.pl: No such file or directory
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-https -dir=/srv/www/vhosts/treindienstleider.nl/statistics/webstat-ssl/
System error 17: File exists
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-anon_ftp -dir=/srv/www/vhosts/treindienstleider.nl/statistics/anon_ftpstat/
System error 2: No such file or directory
sh: /srv/www/cgi-bin/awstats/awstats.pl: No such file or directory
Error: Can't find AWStats program ('/srv/www/cgi-bin/awstats/awstats.pl').
Use -awstatsprog option to solve this.
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-anon_ftp -dir=/srv/www/vhosts/treindienstleider.nl/statistics/anon_ftpstat/
System error 2: No such file or directory
Error: Can't find AWStats program ('/srv/www/cgi-bin/awstats/awstats.pl').
Use -awstatsprog option to solve this.
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-ftp -dir=/srv/www/vhosts/treindienstleider.nl/statistics/ftpstat/
System error 17: File exists
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=treindienstleider.nl-ftp -dir=/srv/www/vhosts/treindienstleider.nl/statistics/ftpstat/
System error 17: File exists

Seems to me awstats isn't where it suppose to be.....

how can i correct this??

Thanks
 
i finaly figured it out.
In the srv/www/cgi-bin/ ther should be an awstats dir with is there, but also the parts that should be in the awstats dir are in the CGI-BIN dir.

So i moved everything to the awstats dir and everything works fine now.

Thanks for the help.
 
Back
Top