
We recently had an electrical issue and had to shutdown our mailman server. It know is looping this log error. Seems like it mail be a malformed message but I am not sure how to clear it.
Any ideas?
thanks Con Wieland Office of Information Technology University of California at Irvine
Dec 21 07:56:02 2012 (5770) Traceback (most recent call last): File "/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop msg, msgdata = self._switchboard.dequeue(filebase) File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 164, in dequeue msg = email.message_from_string(msg, Message.Message) File "/usr/local/mailman/pythonlib/email/__init__.py", line 51, in message_from_string return Parser(_class, strict=strict).parsestr(s) File "/usr/local/mailman/pythonlib/email/Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/mailman/pythonlib/email/Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/mailman/pythonlib/email/Parser.py", line 240, in _parsebody msgobj = self.parsestr(part) File "/usr/local/mailman/pythonlib/email/Parser.py", line 75, in parsestr return self.parse(StringIO(text), headersonly=headersonly) File "/usr/local/mailman/pythonlib/email/Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/mailman/pythonlib/email/Parser.py", line 265, in _parsebody msg = self.parse(fp) File "/usr/local/mailman/pythonlib/email/Parser.py", line 64, in parse self._parsebody(root, fp, firstbodyline) File "/usr/local/mailman/pythonlib/email/Parser.py", line 206, in _parsebody raise Errors.BoundaryError( BoundaryError: No terminating boundary and no trailing empty line

Con Wieland wrote:
We recently had an electrical issue and had to shutdown our mailman server. It know is looping this log error. Seems like it mail be a malformed message but I am not sure how to clear it.
It is a corrupt queue entry.
Dec 21 07:56:02 2012 (5770) Traceback (most recent call last):
5770 is the PID of the queue runner that is encountering this error. The entry is in the queue of that runner. I.e. if it is IncomingRunner, the queue is qfiles/in.
ps -fwp 5770
will show you the cammand that started the runner including its name.
The queue entry is the first *.pck file in name sequence in the directory.
Since the runner got this far, you should be able to see the actual message via
bin/show_qfiles qfiles/x/y.pck
or
bin/dumpdb qfiles/x/y.pck
where x is the queue and y.pck is the entry.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro wrote:
I forgot to add, and maybe it's obvious anyway, but once you find the offending queue entry, you can just remove it or move it aside.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Con Wieland wrote:
We recently had an electrical issue and had to shutdown our mailman server. It know is looping this log error. Seems like it mail be a malformed message but I am not sure how to clear it.
It is a corrupt queue entry.
Dec 21 07:56:02 2012 (5770) Traceback (most recent call last):
5770 is the PID of the queue runner that is encountering this error. The entry is in the queue of that runner. I.e. if it is IncomingRunner, the queue is qfiles/in.
ps -fwp 5770
will show you the cammand that started the runner including its name.
The queue entry is the first *.pck file in name sequence in the directory.
Since the runner got this far, you should be able to see the actual message via
bin/show_qfiles qfiles/x/y.pck
or
bin/dumpdb qfiles/x/y.pck
where x is the queue and y.pck is the entry.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Mark Sapiro wrote:
I forgot to add, and maybe it's obvious anyway, but once you find the offending queue entry, you can just remove it or move it aside.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Con Wieland
-
Mark Sapiro