[Mailman-Users] mailman giving a 500 error when trying to open theadministartor web page for a list.
Steven Jones
Steven.Jones at vuw.ac.nz
Wed Feb 1 23:44:00 CET 2006
-----Original Message-----
From: Mark Sapiro [mailto:msapiro at value.net]
Sent: Thursday, 2 February 2006 10:53 a.m.
To: Steven Jones; mailman-users at python.org
Subject: Re: [Mailman-Users] mailman giving a 500 error when trying to
open theadministartor web page for a list.
Steven Jones wrote:
>All the other lists work fine, just this one list seem to timeout,
quite
>possibly due to the shear volume of mail awaiting moderation?
Do you know there is a huge volume of mail waiting moderation for this
list? If there is, it seems a possible cause.
You could look at the data/heldmsg-listname-nnnn.pck files
========
No such files under /var/mailman/data/ Doing a find under /var/mailman/
reveals none....
========
with
bin/dumpdb and delete what you don't want with bin/discard (the clean
way to do it) or you could just make a list of all the
data/heldmsg-listname-nnnn.pck files older than a couple of days and
feed that to bin/discard.
Another thing you could try is just bin/dumpdb on the
lists/listname/request.pck file to be sure it can be read.
========
Looks like it can be read.
[root at vuwunicosmtp004 bin]# ls -l ../lists/mailerdaemon/request.pck
-rw-rw-r-- 1 mailman mailman 20 Feb 2 08:15
../lists/mailerdaemon/request.pck
[root at vuwunicosmtp004 bin]# ./dumpdb -n
../lists/mailerdaemon/request.pck
[----- start pickle file -----]
<----- start object 1 ----->
{'version': (0, 1)}
[----- end pickle file -----]
>While trying to open this page, I can open other list admin pages
>quickly without issue....
========
So your web server isn't choking waiting for this one Cgi to respond.
========
Doesn't look like it, one CPU (of four) seems totally utilised...but
that leaves me 3.
>Where to start looking for why this particular list is faulting please?
In addition to the above, there may be clues in Mailman's error log or
the web server logs.
=========
I get this from the mailman error log,
[root at vuwunicosmtp004 bin]# more /var/log/mailman/error
Feb 01 13:05:33 2006 (16068) Uncaught runner exception: No terminating
boundary and no trailing empty line
Feb 01 13:05:33 2006 (16068) Traceback (most recent call last):
File "/var/mailman/Mailman/Queue/Runner.py", line 99, in _oneloop
msg, msgdata = self._switchboard.dequeue(filebase)
File "/var/mailman/Mailman/Queue/Switchboard.py", line 151, in dequeue
msg = email.message_from_string(msg, Message.Message)
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/__init
__.py", line 52, in message_from_string
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 75, in parsestr
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 64, in parse
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 240, in _parsebody
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 75, in parsestr
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 64, in parse
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 265, in _parsebody
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 64, in parse
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 240, in _parsebody
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 75, in parsestr
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 64, in parse
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 265, in _parsebody
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 64, in parse
File
"/usr/src/build/526417-x86_64/install/var/mailman/pythonlib/email/Parser
.py", line 206, in _parsebody
BoundaryError: No terminating boundary and no trailing empty line
=========
And I get this from the httpd log,
[Thu Feb 02 09:33:34 2006] [error] [client 130.195.20.33] Premature end
of script headers: admindb
[Thu Feb 02 09:34:12 2006] [error] [client 130.195.20.33] Premature end
of script headers: admindb
[Thu Feb 02 09:35:38 2006] [error] [client 130.195.20.33] Premature end
of script headers: admin, referer: http://lists.vuw.ac.nz/mailman/admin
[Thu Feb 02 10:28:13 2006] [error] [client 130.195.20.33] Premature end
of script headers: admin, referer: http://lists.vuw.ac.nz/mailman/admin
[Thu Feb 02 10:36:14 2006] [error] [client 130.195.20.33] Premature end
of script headers: admin, referer: http://lists.vuw.ac.nz/mailman/admin
[Thu Feb 02 10:40:36 2006] [error] [client 130.195.62.121] Directory
index forbidden by rule: /var/www/html/
==========
Is this a bug or a config error on my part?
Regards
Steven
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list