Topic: Hotfix for 0.6.0: Incorrect path of awstats.pl on Debian 5.

This post is used to fix incorrect path of awstats.pl in iRedMail-0.6.0. if it doesn't work for you, please post a new topic in iRedMail General Technical Support forum.


There's a crontab error report of incorrect path of awstats.pl like this:

Cron <root@gonzo> perl /usr/lib/cgi-bin/awstats.pl -config=mail -update >/dev/null
Can't open perl script "/usr/lib/cgi-bin/awstats.pl": No such file or directory

We'd like to thank fbartels for his report.

Affected versions

- iRedMail-0.6.0, Debian 5 only.

Steps to fix it
  • Run crontab -e -u root to edit crontab job.

# crontab -e -u root
  • Changing path of awstats.pl to correct one /usr/lib/cgi-bin/awstats/awstats.pl fixes this issue.


Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Stable release is out.