• 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 config dir empty

cbox

Plesk Certified Professional
Plesk Certified Professional
When runing /usr/local/psa/admin/sbin/statistics i get some errors from awstats.

Code:
cbox5:~ # /usr/local/psa/admin/sbin/statistics
Error: Couldn't open config file "awstats.xxxxxxx.dk-http.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": No such file or directory

- Did you use correct config parameter ?
Example: If your config file is awstats.mysite.conf, use -config=mysite
- Did you create your config file 'awstats.xxxxxx.dk-http.conf' ?
If not, you can run "awstats_configure.pl"
from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory).
Error: Couldn't open config file "awstats.xxxxx.dk-http.conf" nor "awstats.conf" after searching in path "/usr/local/psa/etc/awstats": No such file or directory.
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=babyhjemmeside.dk-http -dir=/srv/www/vhosts/xxxxx.dk/statistics/webstat/

System error 17: File exists
statistics: Unable to execute /usr/share/doc/packages/awstats/tools/awstats_buildstaticpages.pl -awstatsprog=/srv/www/cgi-bin/awstats.pl -configdir=/usr/local/psa/etc/awstats -config=babyhjemmeside.dk-http -dir=/srv/www/vhosts/xxxxx.dk/statistics/webstat/

I checked /usr/local/psa/etc/awstats and indeed there are no files in this dir. I also tried to search for the files but they are not located on the system. What should i do from this point?
 
Back
Top