• 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

Resolved No Webstat with SSL

Wikibear

Regular Pleskian
Hello together,

Via Plesk and Webstat i get following error:

Not Found
The requested document was not found on this server.

My System:

Hostname

noreply.luftfahrtclubbraunschweig.de
IP-Adresse 82.223.29.136
Betriebssystem ‪Ubuntu 16.04.2 LTS‬
Produkt Plesk Onyx
Version 17.5.3 Update #4, zuletzt aktualisiert: 1. Mai 2017 17:53:35

What i try and do:

First thing is that the link via plesk gui goes to webstat instead of webstat-ssl.

I change the url to webstat-ssl and apache follows with this error:

AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/system/luftfahrtclubbraunschweig.de/statistics/logs

I tried to generate a new webstat and get this error:

/usr/local/psa/admin/sbin/web_statistic_executor --calculate-dom ain luftfahrtclubbraunschweig.de
Starting...
Executing logs preparation...

-----[ luftfahrtclubbraunschweig.de
Webstat: awstats
Executing awstats...
Skip log/var/www/vhosts/system/luftfahrtclubbraunschweig.de/logs/access_log.webs tat because it is empty or does not exist
Processing the log /var/www/vhosts/system/luftfahrtclubbraunschweig.de/logs/acce ss_ssl_log.webstat

/usr/lib/cgi-bin/awstats.pl -update -configdir=/opt/psa/etc/awstats -config=luft fahrtclubbraunschweig.de-https -LogFile=/var/www/vhosts/system/luftfahrtclubbrau nschweig.de/logs/access_ssl_log.webstat
Stat_ttl for the domain is 3.
sh: 1: /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl: not found
popen_exec: command failed code: 127 , error: none

System error 2: No such file or directory
popen_exec: command failed code: 127 , error: none

System error 2: No such file or directory
Error: Unable to execute /usr/share/doc/awstats/examples/awstats_buildstaticpage s.pl -awstatsprog=/usr/lib/cgi-bin/awstats.pl -configdir=/opt/psa/etc/awstats -c onfig=luftfahrtclubbraunschweig.de-https -dir=/var/www/vhosts/system/luftfahrtcl ubbraunschweig.de/statistics//webstat-ssl/current
Skip log `proxy_access_log' because it has parent `access_log'
Skip log `proxy_access_ssl_log' because it has parent `access_ssl_log'
Skip log/var/www/vhosts/system/luftfahrtclubbraunschweig.de/logs/xferlog.webstat because it is empty or does not exist
Skip log/var/www/vhosts/system/luftfahrtclubbraunschweig.de/logs/xferlog_regular .webstat because it is empty or does not exist
Finished.

Try to repair via: plesk repair all

Same error.

Then i try this:

/usr/local/psa/admin/sbin/statistics

Then i see that in dropdownlist last month are visible but get this apache error:

AH00037: Symbolic link not allowed or link target not accessible: /var/www/vhosts/system/luftfahrtclubbraunschweig.de/statistics/logs
 
After long searching for this fault i found a solution!

After:

cp /usr/share/awstats/tools/awstats_buildstaticpages.pl /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl

Therafter:

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics


The first step was done. Then i missing OS and more in Stats. Fix this:

nano /opt/psa/etc/awstats/awstats.domain.ltd-https.conf

Change LogFormat=4 to LogFormat=1
 
After long searching for this fault i found a solution!

After:

cp /usr/share/awstats/tools/awstats_buildstaticpages.pl /usr/share/doc/awstats/examples/awstats_buildstaticpages.pl

Therafter:

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/DailyMaintainance/script.php -f ExecuteWebStatistics


The first step was done. Then i missing OS and more in Stats. Fix this:

nano /opt/psa/etc/awstats/awstats.domain.ltd-https.conf

Change LogFormat=4 to LogFormat=1

Thank you so much! 4 Years i have searching for this... Now AWStats is running on my https-only site...
 
Back
Top