L. Hagen
Basic Pleskian
Hi,
usually I thought "I have a fresh installed system. This canot happen to me". But I was wrong Whenever I try to access awstat I get a 404. I googled a lot and found some approaches as well here in the forum but for "older Plesk versions".
At first I tried to reinstall the awstat but this failed. Then I checked if the config files etc. are existing - and they do. Finally, I tried to manually re-calculate the statistics and got:
Well, because I've not changed any permissions, pathes or awstat config files, I'm wondering how this can be? I read that there is a "psa repair" command, but because I never have done this before and don't know the side effects, I like to ask here if someone else had this problem in the past and has a working solution, please.
best regards,
Lars
usually I thought "I have a fresh installed system. This canot happen to me". But I was wrong Whenever I try to access awstat I get a 404. I googled a lot and found some approaches as well here in the forum but for "older Plesk versions".
At first I tried to reinstall the awstat but this failed. Then I checked if the config files etc. are existing - and they do. Finally, I tried to manually re-calculate the statistics and got:
Code:
/opt/psa/admin/sbin/statistics --calculate-one --domain-name <hostname>
WARNING during statistics_collector execution: : statistics_collector[5802]: Relinking of virtual host logs `/opt/psa/admin/sbin/relink-vhost-logs --domain-name <hostname> --sys-user-login <admin username>' failed with code 3.
Stdout:
Stderr:'./<hostname>/logs' already exists, but has wrong access rights. Specify --force to override.
ERROR: Cannot relink logs. Target directory '/var/www/vhosts/<hostname>/logs' is in invalid state.
Well, because I've not changed any permissions, pathes or awstat config files, I'm wondering how this can be? I read that there is a "psa repair" command, but because I never have done this before and don't know the side effects, I like to ask here if someone else had this problem in the past and has a working solution, please.
best regards,
Lars
Last edited: