Topic: Cron Errors
==== Required information ====
- iRedMail version: 1.8.2 Pro
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04
- Related log if you're reporting an issue:
====
suddenly I have been getting a lot of emails regarding cron errors. They just started out of the blue and I think its to do with permissions but not totally sure. Nothing has changed or been altered. It just started hapening. Here is what i get in 2 seperate Emails.
/usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: 26: /usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: import: not found
/usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: 27: /usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: import: not found
from: can't read /var/mail/ConfigParser
/usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: 29: /usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: import: not found
/usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: 31: /usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: os.environ[LC_ALL]: not found
/usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: 33: /usr/share/apache2/iRedAdmin-Pro-MySQL-1.7.0/tools/cleanup_amavisd_db.py: Syntax error: "(" unexpected
And then
bash: /var/backup/backup_mysql.sh: No such file or directory
The above file is clearly there as i can access it with root shell but it wont when not invoking root.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.