1

Topic: Awstat Not Working

I have installed iredmail on Centos but it seems that Awstat is not working I am not seeing any data.

https://myserverip/awstats/awstats.pl?config=mail

this gives me everything zero.

2

Re: Awstat Not Working

You can find cron job in root user, they are used to genrate awstats data:

# crontab -l -u root
1   */1   *   *   *   perl /var/www/awstats/awstats.pl -config=r6.iredmail.org -update >/dev/null
1   */1   *   *   *   perl /var/www/awstats/awstats.pl -config=mail -update >/dev/null

3

Re: Awstat Not Working

I checked my cron files and I found the path for awstats.pl was wrong it was

# crontab -l -u root
1   */1   *   *   *   perl /var/www/awstats/awstats/awstats.pl -config=r6.iredmail.org -update >/dev/null
1   */1   *   *   *   perl /var/www/awstats/awstats/awstats.pl -config=mail -update >/dev/null

Thanks