1 (edited by CrashChicken 2016-03-17 04:01:54)

Topic: Root sending emails with error messages

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Debian 8 64-bit
- 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:
====

So this is the emails that I get every 10 minutes:
Subject: Cron <www-data@geflex> [ -x /usr/share/awstats/tools/update.sh ] && /usr/share/awstats/tools/update.sh

Error while processing /etc/awstats/awstats.web.conf
Create/Update database for config "/etc/awstats/awstats.web.conf" by AWStats version 7.2 (build 1.992)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied
Setup ('/etc/awstats/awstats.web.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Error while processing /etc/awstats/awstats.conf
Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 7.2 (build 1.992)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : Permission denied
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
------------------------------------------------------------------------------------------------

And I can't login to https://mydomain.com/awstats/awstats.pl with postmaster@mydomain.com username and password.

So whats wrong here and how can I fix this?

I thank you in advance for your help

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Root sending emails with error messages

This issue was reported before, but i don't have a solution yet. sorry. sad

3

Re: Root sending emails with error messages

Is it maybe because I have virtualhosts for other domains in apache