Topic: Error when accessing iredadmin
Hello!
trying to access https://myserver/iredamdin I get these errors in apache log
mod_wsgi (pid=27582): Target WSGI script '/var/www/iredadmin/iredadmin.py' cannot be loaded as Python module.
mod_wsgi (pid=27582): Exception occurred processing WSGI script '/var/www/iredadmin/iredadmin.py'.
Traceback (most recent call last):
File "/var/www/iredadmin/iredadmin.py", line 32, in ?
from libs import iredbase, iredutils
File "/var/www/iredadmin/libs/iredbase.py", line 79, in ?
sessionDB = web.database(
File "/usr/lib/python2.4/site-packages/web.py-0.34-py2.4.egg/web/utils.py", line 71, in __getattr__
raise AttributeError, k
AttributeError: 'iredadmin'
Furthermore, running /var/www/iredadmin/libs/iredbase.py raises
Traceback (most recent call last):
File "/var/www/iredadmin/libs/iredbase.py", line 60, in ?
from controllers.ldap.urls import urls as backendUrls
ImportError: No module named controllers.ldap.urls
I have python-ldap from ired repo installed.
What is wrong?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.