• 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 - Plesk doesn't generate the awstats.domain.conf

M

murdockdj

Guest
Hi,

My awstats doesn't generate the configuration files for awstats, i've activated the options for each domain, and the cron task, try's to generate statistics for all domains, but doesn't have conf files.

I tried to generate each configuration, with awstats_configure.pl, but I need the automation script for plesk.

Someone knows how plesk create these files ?

Thanks.
 
My server is generating these files:

/opt/psa/etc/awstats/awstats.domain.tld-http.conf
/opt/psa/etc/awstats/awstats.domain.tld-https.conf
/opt/psa/etc/awstats/awstats.domain.tld-ftp.conf
/opt/psa/etc/awstats/awstats.domain.tld-anon_ftp.conf

But for some reason it always uses the default configuration file when generating the statistics. So all my domains show the same stats :(
 
Same as DilDoG. Conf are generated but stats are the same for all domains... Did you find a solution to correct this ??
 
I copy all conf files generated from plesk to /etc/awstats.

and manual launch of process, and all is good for each domains.
 
Doesn't work for me. When I run statistics it returns this:

Build allrobots page: "/usr/lib/cgi-bin/awstats.pl" -config=domain.tld-ftp -staticlinks -configdir=/opt/psa/etc/awstats -output=allrobots
Build lastrobots page: "/usr/lib/cgi-bin/awstats.pl" -config=domain.tld-ftp -staticlinks -configdir=/opt/psa/etc/awstats -output=lastrobots
Build session page: "/usr/lib/cgi-bin/awstats.pl" -config=domain.tld-ftp -staticlinks -configdir=/opt/psa/etc/awstats -output=session

etc.

Zo the configdir is right. I think the problem occures with a alias to the right directory
 
Back
Top