主题: 请问:关于create_mail_user_OpenLDAP.py创建用户
系统:UBUNTU 9.04
MAIL:0.51
用create_mail_user_OpenLDAP.py创建用户,并在LDAP里导入成功,但是在iredadmin后右管理不了用户,域里可以看到用户数量,但一点数量就会500错误。
在iredadmin里创建的用户可以正常查看。不知是什么原因。
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » 请问:关于create_mail_user_OpenLDAP.py创建用户
系统:UBUNTU 9.04
MAIL:0.51
用create_mail_user_OpenLDAP.py创建用户,并在LDAP里导入成功,但是在iredadmin后右管理不了用户,域里可以看到用户数量,但一点数量就会500错误。
在iredadmin里创建的用户可以正常查看。不知是什么原因。
在apache的log里有什么错误信息?贴上来看看
root@iredmail:/var/log/apache2# tail error.log
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] {% block main %}{% endblock main %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] TypeError: not all arguments converted during string formatting, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] , referer: https://transluck.com/iredadmin/domains
root@iredmail:/var/log/apache2# tail error.log
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 29, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] {% from "msgHandlers.html" import userMsgHandler with context %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/layout.html", line 82, in top-level template code, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] {% block main %}{% endblock main %}, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/..//templates/default/ldap/users.html", line 104, in block "main", referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] <td>{% if entries.get('mailQuota', ['0'])[0] == '0' %}{{ _('Unlimited') }}{% else %}{{ entries.get('mailQuota', ['0'])[0] |filesizeformat }} {% endif %}</td>, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] File "/usr/share/apache2/iredadmin/libs/iredutils.py", line 52, in filesizeformat, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] return "%d Bytes" % (bytes, bytes != 1 and 's' or ''), referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] TypeError: not all arguments converted during string formatting, referer: https://transluck.com/iredadmin/domains
[Thu Nov 26 22:43:16 2009] [error] [client 58.39.3.9] , referer: https://transluck.com/iredadmin/domains
Bug 一个。
请根据这里的修正方法进行修正:
http://www.iredmail.org/hotfix.html
iRedMail 开源邮件服务解决方案 » iRedMail 技术支持 » 请问:关于create_mail_user_OpenLDAP.py创建用户
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.006 秒, 共执行查询 64 条