Topic: Internal Server Error while opening iredadmin
Hi,
I am getting Internal Server Error while opening iredadmin. I've set the debug to True in iredadmin settings.ini and here is my apache logs when trying to access /iredadmin
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] mod_wsgi (pid=2692): Target WSGI script '/var/www/iredadmin/iredadmin.py'
cannot be loaded as Python module.
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] mod_wsgi (pid=2692): Exception occurred processing WSGI script
'/var/www/iredadmin/iredadmin.py'.
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] Traceback (most recent call last):
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] File "/var/www/iredadmin/iredadmin.py", line 32, in ?
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] from libs import iredbase, iredutils
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] File "/var/www/iRedAdmin-0.1.1/libs/iredbase.py", line 64, in ?
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] web.config.debug = eval(cfg.general.get('debug', 'False'))
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] File "<string>", line 0, in ?
[Mon Dec 27 04:53:04 2010] [error] [client 123.456.789.100] NameError: name 'Yes' is not defined
I can run iredadmin in standalone process by ./iredadmin.py This way the iredadmin listens on port 8080
But i need to run in usual way with apache..
Please help
Thanks,
Sandeep S
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.