Topic: Error after adding a user.
I have just done a fresh install of IRM for testing on a second server. The first server I didn't install LDAP/iRedMailAdmin.
All went well untill I added a user. Now I get an internal server error when I go to the user page.
error.log
[Thu Nov 05 15:06:19 2009] [notice] caught SIGTERM, shutting down
[Thu Nov 05 15:08:52 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Nov 05 15:08:53 2009] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Nov 05 15:08:54 2009] [notice] Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.2 configured -- resuming normal operations
[Thu Nov 05 15:10:23 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
[Thu Nov 05 15:10:23 2009] [error] __version__ = __import__('pkg_resources') \\
[Thu Nov 05 15:10:26 2009] [error] [client 192.168.0.140] File does not exist: /var/www/favicon.ico
[Thu Nov 05 15:10:29 2009] [error] [client 192.168.0.140] File does not exist: /var/www/favicon.ico
[Thu Nov 05 15:11:01 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
[Thu Nov 05 15:11:01 2009] [error] __version__ = __import__('pkg_resources') \\
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] Traceback (most recent call last):, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 242, in process, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return self.handle(), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 233, in handle, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return self._delegate(fn, self.fvars, args), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 412, in _delegate, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return handle_class(cls), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 387, in handle_class, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return tocall(*args), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/controllers/ldap/base.py", line 44, in proxyfunc, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return func(self, *args, **kw), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/controllers/ldap/user.py", line 79, in GET, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] msg=i.get('msg'),, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/jinja2/environment.py", line 669, in render, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return self.environment.handle_exception(exc_info, True), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] {% block main %}{% endblock main %}, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] TypeError: not all arguments converted during string formatting, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:06 2009] [error] [client 192.168.0.140] , referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:09 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
[Thu Nov 05 15:11:09 2009] [error] __version__ = __import__('pkg_resources') \\
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] Traceback (most recent call last):, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 242, in process, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return self.handle(), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 233, in handle, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return self._delegate(fn, self.fvars, args), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 412, in _delegate, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return handle_class(cls), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/web/application.py", line 387, in handle_class, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return tocall(*args), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/controllers/ldap/base.py", line 44, in proxyfunc, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return func(self, *args, **kw), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/controllers/ldap/user.py", line 79, in GET, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] msg=i.get('msg'),, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/var/lib/python-support/python2.5/jinja2/environment.py", line 669, in render, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return self.environment.handle_exception(exc_info, True), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] {% block main %}{% endblock main %}, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] TypeError: not all arguments converted during string formatting, referer: https://mail0.corpcomp.co.nz/iredadmin/domains
[Thu Nov 05 15:11:14 2009] [error] [client 192.168.0.140] , referer: https://mail0.corpcomp.co.nz/iredadmin/domains
comments
Fred
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.