Topic: Cant add new domain
Hello.
First my config:
Debian 5.0.3 (lenny)
kernel 2.6.28.7
iRedMail-0.5.1
iRedAdmin 0.1.1
The problem:
When i try add new domain from panel (Domains -> Create new mail domain) i get the following error:
"internal server error"
Apache logs:
[Mon Dec 21 07:59:57 2009] [error] /var/lib/python-support/python2.5/jinja2/__init__.py:31: UserWarning: Module _mysql was already imported from /var/lib/python-support/python2.5/_mysql.so, but /var/lib/python-support/python2.5 is being added to sys.path
[Mon Dec 21 07:59:57 2009] [error] __version__ = __import__('pkg_resources') \\
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] Traceback (most recent call last):, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/application.py", line 242, in process, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return self.handle(), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/application.py", line 233, in handle, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return self._delegate(fn, self.fvars, args), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/application.py", line 412, in _delegate, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return handle_class(cls), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/application.py", line 387, in handle_class, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return tocall(*args), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/usr/share/apache2/iredadmin/controllers/ldap/base.py", line 53, in proxyfunc, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return func(self, *args, **kw), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/usr/share/apache2/iredadmin/controllers/ldap/base.py", line 44, in proxyfunc, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return func(self, *args, **kw), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/usr/share/apache2/iredadmin/controllers/ldap/domain.py", line 140, in POST, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] i = web.input(), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/webapi.py", line 265, in input, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return storify(out, *requireds, **defaults), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/utils.py", line 145, in storify, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] value = getvalue(value), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/utils.py", line 132, in getvalue, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return unicodify(x.value), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/utils.py", line 127, in unicodify, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] if _unicode and isinstance(s, str): return safeunicode(s), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/var/lib/python-support/python2.5/web/utils.py", line 235, in safeunicode, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return obj.decode(encoding), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] return codecs.utf_8_decode(input, errors, True), referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-5: invalid data, referer: https://mail.mydomain.com/iredadmin/create/domain
[Mon Dec 21 07:59:57 2009] [error] [client 87.234.23.111] , referer: https://mail.mydomain.com/iredadmin/create/domain
I added a new domain some days ago and i didnt get any problem. I dont remember any upgrade by my way.
Have you got any idea ?
Thanks and regards.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.