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?
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: