• 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

10.3.1 | awstats | high usage

fearz

Regular Pleskian
Hi,

I'm getting daily high usage caused by cron.daily awstats

Inside that file I have the following:

#!/bin/sh

/usr/share/awstats/awstats_updateall.pl now -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/etc/awstats >/dev/null 2>&1

exit 0

When I try to run that file manually, i get this:

root@:/etc/awstats# /usr/share/awstats/awstats_updateall.pl now -awstatsprog=/var/www/cgi-bin/awstats/awstats.pl -configdir=/etc/awstats
Running '"/var/www/cgi-bin/awstats/awstats.pl" -update -config=default -configdir="/etc/awstats"' to update config default
Error: SiteDomain parameter not defined in your config/domain file. You must edit it for using this version of AWStats.
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

In my /etc/awstats/awstats.conf:

SiteDomain=""

All my websites stats are up to do that...any ideas?
 
Last edited:
Back
Top