Topic: 500 error on Debian iRedAdmin page [FIXED]
==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
==== it had been working but when stopped working. Ive searched the forums and tried a few things already. i checked the settings.ini has the correct settings ireadmail:iredmail permissons 0700
I have checked my logs and its always the same error that appears
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] mod_wsgi (pid=29798): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] mod_wsgi (pid=29798): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] Traceback (most recent call last):
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/share/apache2/iredadmin/iredadmin.py", line 10, in <module>
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] from libs import iredbase
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 34, in <module>
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] webmaster = cfg.general.get('webmaster', 'root')
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/lib/pymodules/python2.6/web/utils.py", line 71, in __getattr__
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] raise AttributeError, k
[Wed Apr 18 10:41:43 2012] [error] [client xxx.xxx.xxx.xx] AttributeError: 'general'
so i thought it might have been the web.py script so i reinstalled it again and log is still the same
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] mod_wsgi (pid=30868): Target WSGI script '/usr/share/apache2/iredadmin/iredadmin.py' cannot be loaded as Python module.
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] mod_wsgi (pid=30868): Exception occurred processing WSGI script '/usr/share/apache2/iredadmin/iredadmin.py'.
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] Traceback (most recent call last):
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/share/apache2/iredadmin/iredadmin.py", line 10, in <module>
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] from libs import iredbase
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 34, in <module>
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] webmaster = cfg.general.get('webmaster', 'root')
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] File "/usr/local/lib/python2.6/dist-packages/web.py-0.36-py2.6.egg/web/utils.py", line 76, in __getattr__
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] raise AttributeError, k
[Wed Apr 18 10:56:15 2012] [error] [client xxx.xxx.xxx.xx] AttributeError: 'general'
the only thing that i have mail changed on the server is moving the /var/www to /home/www which shouldnt be an issue as theres a symlink between them both.
==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version: iRedMail-0.7.4 with mysql setup
- Linux/BSD distribution name and version: Debian 6.0
- Any related log? Log is helpful for troubleshooting.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.