Topic: iRedAdmin + Apache got 500 Error
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 OPENLDAP edition.
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
[Fri May 04 10:46:41.458539 2018] [wsgi:error] [pid 10740:tid 139827855410944] mod_wsgi (pid=10740): Target WSGI script '/opt/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Fri May 04 10:46:41.458597 2018] [wsgi:error] [pid 10740:tid 139827855410944] mod_wsgi (pid=10740): Exception occurred processing WSGI script '/opt/www/iredadmin/iredadmin.py'.
[Fri May 04 10:46:41.458722 2018] [wsgi:error] [pid 10740:tid 139827855410944] Traceback (most recent call last):
[Fri May 04 10:46:41.458760 2018] [wsgi:error] [pid 10740:tid 139827855410944] File "/opt/www/iredadmin/iredadmin.py", line 9, in <module>
[Fri May 04 10:46:41.458771 2018] [wsgi:error] [pid 10740:tid 139827855410944] from libs import iredbase
[Fri May 04 10:46:41.458796 2018] [wsgi:error] [pid 10740:tid 139827855410944] File "/opt/www/iredadmin/libs/iredbase.py", line 202
[Fri May 04 10:46:41.458817 2018] [wsgi:error] [pid 10740:tid 139827855410944] except Exception, e:
[Fri May 04 10:46:41.458853 2018] [wsgi:error] [pid 10740:tid 139827855410944] ^
[Fri May 04 10:46:41.458874 2018] [wsgi:error] [pid 10740:tid 139827855410944] SyntaxError: invalid syntax
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.