Topic: python /opt/www/iredadmin/tools/cleanup_amavisd_db.py 錯誤訊息
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: CentOS7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? LDAP-3.6
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi 版主:
昨天更新為 : iRedAdmin-Pro-LDAP-3.6
今早出現此錯誤訊息:
Cron <root@mail> python /opt/www/iredadmin/tools/cleanup_amavisd_db.py >/dev/null
Traceback (most recent call last):
File "/opt/www/iredadmin/tools/cleanup_amavisd_db.py", line 55, in <module>
db_settings = iredutils.get_settings_from_db(params=['amavisd_remove_quarantined_in_days', 'amavisd_remove_maillog_in_days'])
File "/opt/www/iredadmin/tools/../libs/iredutils.py", line 995, in get_settings_from_db
conn = web.admindb
AttributeError: 'module' object has no attribute 'admindb'
PS: last login 功能正常
Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.