主题: [已解决] 系统不停给www-data用户发邮件,内容如下,好像是awstats crontab脚本引起
刚开始不知道原因,发现mail server响应很慢,后来吧www-data的邮件alias到www用户,系统响应问题倒是没啥,现在是不停地在发送这样的邮件,不知道该如何解决。所有邮件内容都一致,10秒钟一份邮件
Create/Update database for config "/etc/awstats/awstats.smtp.conf" by AWStats version 6.95 (build 1.943)
From data in log file "perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |"...
sh: cannot open /var/log/mail.log: Permission denied
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Error: Command for pipe 'perl /usr/share/doc/awstats/examples/maillogconvert.pl standard < /var/log/mail.log |' failed
Setup ('/etc/awstats/awstats.smtp.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Create/Update database for config "/etc/awstats/awstats.web.conf" by AWStats version 6.95 (build 1.943)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : 权限不够
Setup ('/etc/awstats/awstats.web.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).
Create/Update database for config "/etc/awstats/awstats.conf" by AWStats version 6.95 (build 1.943)
From data in log file "/var/log/apache2/access.log"...
Error: Couldn't open server log file "/var/log/apache2/access.log" : 权限不够
Setup ('/etc/awstats/awstats.conf' file, web server or permissions) may be wrong.
Check config file, permissions and AWStats documentation (in 'docs' directory).