Topic: ImportError: No module named web
Getting the error from the Subject in my ssl_error_log. Followed install instructions to the letter, although changed location to /opt/dbmailadmin due to local site requirements. All installation requirements met.
- Linux/BSD distribution name and version: CentOS release 5.7 (Final)
- iRedMail version and backend (LDAP/MySQL): DBMailAdmin-MySQL-1.0
- Any related log? Log is helpful for troubleshooting.
From my /var/log/httpd/ssl_error_log:
----------------
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] mod_wsgi (pid=16404): Target WSGI script '/opt/dbmailadmin/dbmailadmin.py' cannot be loaded as Python module.
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] mod_wsgi (pid=16404): Exception occurred processing WSGI script '/opt/dbmailadmin/dbmailadmin.py'.
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] Traceback (most recent call last):
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] File "/opt/dbmailadmin/dbmailadmin.py", line 8, in <module>
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] from libs import iredbase
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] File "/opt/dbmailadmin/libs/iredbase.py", line 7, in <module>
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] import web
[Thu Jan 26 10:33:59 2012] [error] [client x.x.x.x] ImportError: No module named web
----------------
Not a Python programmer, so I'm probably missing something simple? (I hope!)
Thanks in advance for any help.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.