エラー
Bug in Mailman version 2.1.9 †会員を追加しようとするとbugとか言って追加できない。/var/log/mailman/errorのログは以下のとおり admin(6858): [----- Mailman Version: 2.1.9 -----] admin(6858): [----- Traceback ------] admin(6858): Traceback (most recent call last): admin(6858): File "/var/lib/mailman/scripts/driver", line 110, in run_main main() admin(6858): File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 174, in main change_options(mlist, category, subcat, cgidata, doc) admin(6858): File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 1342, in change_options whence='admin mass sub') admin(6858): File "/usr/lib/mailman/Mailman/MailList.py", line 975, in Approv edAddMember? digest, text) admin(6858): File "/usr/lib/mailman/Mailman/Deliverer.py", line 78, in SendSubscribeAck text, pluser) admin(6858): File "/usr/lib/mailman/Mailman/Message.py", line 226, in __init__self.set_payload(text, charset) admin(6858): File "/usr/lib/mailman/pythonlib/email/Message.py", line 246, in set_payload self.set_charset(charset) admin(6858): File "/usr/lib/mailman/pythonlib/email/Message.py", line 282, in set_charset self._payload = charset.body_encode(self._payload) admin(6858): File "/usr/lib/mailman/pythonlib/email/Charset.py", line 399, in body_encodes = self.convert(s) admin(6858): File "/usr/lib/mailman/pythonlib/email/Charset.py", line 282, in convert return unicode(s, self.input_codec).encode(self.output_codec) admin(6858): UnicodeEncodeError: 'iso2022_jp' codec can't encode character u'\u ff65' in position 70: illegal multibyte sequence admin(6858): [----- Python Information -----] admin(6858): sys.version = 2.4.4 (#2, Apr 15 2008, 23:43:20) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] admin(6858): sys.executable = /usr/bin/python admin(6858): sys.prefix = /usr admin(6858): sys.exec_prefix = /usr admin(6858): sys.path = /usr admin(6858): sys.platform = linux2 admin(6858): [----- Environment Variables -----] admin(6858): HTTP_COOKIE: hogeML+admin=XXXXXXXXXX6; __utma=XXXX.XXXX.XXX.XXX.XXXXXX7.1; __utmz=XXXXX.XXXX 60387.1.1.utmccn=(organic)|utmcsr=google|utmctr=elife|utmcmd=organic admin(6858): SERVER_SOFTWARE: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 mod_s sl/2.2.3 OpenSSL/0.9.8c admin(6858): SCRIPT_NAME: /cgi-bin/mailman/admin admin(6858): SERVER_SIGNATURE: <address>Apache/2.2.3 (Debian) PHP/5.2.0-8+et ch11 mod_ssl/2.2.3 OpenSSL/0.9.8c Server at chaco.elife.co.jp Port 80</address> admin(6858): REQUEST_METHOD: POST admin(6858): HTTP_KEEP_ALIVE: 300 admin(6858): SERVER_PROTOCOL: HTTP/1.1 admin(6858): QUERY_STRING: admin(6858): CONTENT_LENGTH: 904 admin(6858): HTTP_ACCEPT_CHARSET: Shift_JIS,utf-8;q=0.7,*;q=0.7 admin(6858): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; r v:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 admin(6858): HTTP_CONNECTION: keep-alive admin(6858): HTTP_REFERER: http://ML.example.com/cgi-bin/mailman/admin /hogeML/members/add admin(6858): SERVER_NAME: ML.example.com admin(6858): REMOTE_ADDR: 192.168.3.199 admin(6858): PATH_TRANSLATED: /var/www/hogeML/members/add admin(6858): SERVER_PORT: 80 admin(6858): SERVER_ADDR: XXX.XXX.XXX.XXX admin(6858): DOCUMENT_ROOT: /var/www/ admin(6858): PYTHONPATH: /var/lib/mailman admin(6858): SCRIPT_FILENAME: /usr/lib/cgi-bin/mailman/admin admin(6858): SERVER_ADMIN: webmaster@localhost admin(6858): HTTP_HOST: ML.example.com admin(6858): REQUEST_URI: /cgi-bin/mailman/admin/hogeML/members/add admin(6858): HTTP_ACCEPT: text/html,application/xhtml+xml,application /xml;q=0.9,*/*;q=0.8 admin(6858): GATEWAY_INTERFACE: CGI/1.1 admin(6858): REMOTE_PORT: 62684 admin(6858): HTTP_ACCEPT_LANGUAGE: ja,en-us;q=0.7,en;q=0.3 admin(6858): CONTENT_TYPE: multipart/form-data; boundary=---------------------------10383149458909 admin(6858): HTTP_ACCEPT_ENCODING: gzip,deflate admin(6858): PATH_INFO: /hogeML/members/add send_digests() failed: 'euc_jp' codec can't decode bytes in position 1124-1125: illegal multibyte sequence †at /var/lib/mailman/lists/enkai/digest.mbox emacsで指定のファイルの行を見てみると X-MSMail-Priority: Nomal これが問題だったらしい。内容も変なのだよね。ちょっとこれから検索 以下の内容と同じ。こちらで対応出来るかどうか検討中 UnicodeDecodeError?: 'euc_jp' codec can't decode bytes in position 77-78: illegal multiby †こちらで解決しようです。URL [済]遅延問題 †まずこの遅延問題はDebian Sarge時代のパッケージを使っている。サーバーは以下の通り。
遅延している際の確認方法
exim側 mailman側 Feb 07 17:14:06 2007 (28166) post to ml-account from user@example.jp, size=2885, message-id=<1EC74A8329827Euser@example.jp>, success 〜Versionの問題〜 †
〜DNSの問題〜 †
〜MTAの問題〜 †
〜ML自体の問題〜 †
[済] IOError: [Errno 36] File name too long: †/var/log/mailman/errorに以下のようなエラーが。 IOError: [Errno 36] File name too long: '/var/lib/mailman/archives/private/ml-test/attachments/20071009/ 156c5cf9/長い名前。。。。' これはこのファイルを取り除く事で解決。日本語の処理がうまくいかなかった模様 [済]qrunner caught SIGTERM †Feb 21 17:54:06 2007 (11266) BounceRunner qrunner caught SIGTERM. Stopping. Feb 21 17:54:06 2007 (11266) BounceRunner qrunner exiting. この問題についてはmailmaをアップグレードしたら直った 参考URL
[済]Premature end of script headers †ときどき下記のようにmailmanのadminページにログインをしようとすると、エラーが出る(管理画面ログイン入口までは表示される。また他のML管理ページにはアクセス出来たりする) https://comuro.org/cgi-bin/mailman/admin/talk Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@comuro.org 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. これらしい。 出来ることはまず、
[済]admin.py access for non-existent list:●● †/var/log/mailman/errorに admin.py access for non-existent list:●● というのが残っていた。これはリスト状況を見る限り、存在しないリストにアクセスしようとしたようだ。 [済][Apache Log]File does not exist: /var/www/images, referer: https://comuro.org/cgi-bin/mailman/admin/hogehoge †[Sun May 20 09:04:56 2007] [error] [client 210.171.169.131] File does not exist: /var/www/images, referer: https://comuro.org/cgi-bin/mailman/admin/hogehoge [済][Apache Log]Premature end of script headers: admin, referer: https://comuro.org/cgi-bin/mailman/admin/hogehoge †[Sun May 20 09:10:03 2007] [error] [client 210.171.169.131] Premature end of script headers: admin, referer: https://comuro.org/cgi-bin/mailman/admin/hogehoge [済] UnicodeDecodeError?: 'ascii' codec can't decode byte 0xa1 in position 1:ordinal not in range(128) †May 19 00:24:04 2007 (16525) Uncaught runner exception: 'ascii' codec can't decode byte 0xa1 in position 1: ordinal not in range(128) May 19 00:24:04 2007 (16525) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 167, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose mlist.ArchiveMail(msg) File "/var/lib/mailman/Mailman/Archiver/Archiver.py", line 216, in ArchiveMail h.close() File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 311, in close self.update_dirty_archives() File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 527, in update_dirty_archives self.update_archive(i) File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1075, in update_archive self.__super_update_archive(archive) File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 431, in update_archive self._update_simple_index(hdr, archive, arcdir) File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 452, in _update_simple_index self.write_index_entry(article) File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1006, in write_index_entry author = re.sub('@', _(' at '), author) File "/usr/lib/python2.3/sre.py", line 143, in sub return _compile(pattern, 0).sub(repl, string, count) UnicodeDecodeError: 'ascii' codec can't decode byte 0xa1 in position 1: ordinal not in range(128) May 19 00:24:04 2007 (16525) SHUNTING: 1174413243.8146529+265e67013412e27bf592d6f36682bd45558458a4 http://mm.tkikuchi.net/pipermail/mmjp-users/2003-July/000434.html これらしい
|