1 (edited by giu989 2016-05-14 05:09:54)

Topic: Error while processing /etc/awstats/awstats.smtp.conf

==== Required information ====
- iRedMail version 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu 14
- Store mail accounts in which backend MySQL
- Web server Apache

====

Hi all,

I must apologise in advance, but I am very new to setting up email, so thanks for your patience!!

Anyway, I just set up an email server and I got this email:

Error while processing /etc/awstats/awstats.smtp.conf
Create/Update database for config "/etc/awstats/awstats.smtp.conf" by AWStats version 7.2 (build 1.992)
From data in log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |"...
Error: Couldn't open server log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |" : Cannot allocate memory
Setup ('/etc/awstats/awstats.smtp.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).

Should I be worried? Anything I can do to fix this?

Thanks!! smile

----

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

2

Re: Error while processing /etc/awstats/awstats.smtp.conf

giu989 wrote:

Error: Couldn't open server log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |" : Cannot allocate memory

Is the log file size too big? /var/log/mail.log

3

Re: Error while processing /etc/awstats/awstats.smtp.conf

ZhangHuangbin wrote:
giu989 wrote:

Error: Couldn't open server log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |" : Cannot allocate memory

Is the log file size too big? /var/log/mail.log

No for some reason the log file didn't even exist. Anyway the server was brand new so I just reinstalled using Nginx instead  and it all worked out.

Thanks for the help!