Topic: Problem with awstat
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
============ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS Linux 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====
Hello, I installed iredmail on two differnet vservers and everything works perfectly besides awstats.
I cannot access https://mydomainname.org/awstats/awstats.pl on any server. The file is password protected with .htaccess. Yes, I am using the password from “iRedMail.tips” and yes, the other
password from this file work for example the mysqlpassword works very well.
On my second server, I get at every hour and a minute a email with the following subject
/usr/bin/perl /usr/share/awstats/wwwroot/cgi-bin/awstats.pl -config=smtp -update >/dev/null
and content
sh: /var/log/maillog: No such file or directory
And the message is correct. There is no file or directory with the name maillog.
Doing a quick search shows me
# find -iname awstats
./usr/share/awstats
./etc/cron.hourly/awstats
./etc/awstats
./var/lib/awstats
./temp/iRedMail-0.9.4/conf/awstats
So there is awstat installed, but something wrong with the installation: Can you give me an
advice?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.