1

Topic: 500 Internal Server Error

I get the following:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.14 (Ubuntu) Server at mail1.jalle.local Port 443

The installation is on a freshly installed and updated Ubuntu 10.04.1 with iRedMail 0.6.1.

/var/log/apache2/error.log shows the following:

[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139] mod_wsgi (pid=1440): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139] mod_wsgi (pid=1440): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139] Traceback (most recent call last):
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]   File "/usr/share/apache2/iredadmin/iredadmin.py", line 28, in <module>
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]     from libs import iredbase
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]   File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 83, in <module>
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]     if cfg.policyd.get('enabled', 'False').lower() == 'true':
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]   File "/usr/lib/pymodules/python2.6/web/utils.py", line 68, in __getattr__
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139]     raise AttributeError, k
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139] AttributeError: 'policyd'
[Fri Dec 17 16:25:53 2010] [error] [client 10.25.1.139] File does not exist: /var/www/favicon.ico

the error seems to be related to /usr/share/apache2/iredadmin/iredadmin.py, but im not sure why?

Any ideas?

Richard.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.