[Mailman-Users] mailmain starting twice

Mark Sapiro mark at msapiro.net
Mon Feb 18 23:47:56 CET 2008


Zbigniew Szalbot wrote:

>2008/2/18, Mark Sapiro <mark at msapiro.net>:
>>
>> What I am curious about is what's in Mailman's error log relating to
>> the first OutgoingRunner (pid 565) dying on its own. I would like to
>> see the error and traceback from this.
>
>I did edit mailman startup script as it contained the -s flag (I have
>removed it now). Not sure if it was there by default or if I inserted
>it at some point.


It was probably always there. Even the script we distribute
(misc/mailman.in) has it. Sometimes you want it and sometimes you
don't. After a system restart, you really do want it to handle the
situation where the system crashed with Mailman running. I only
suggested you remove it in an attempt to help debug this multiple
start issue.


>Now for the error log:
>
<snip>
>Feb 18 18:28:08 2008 qrunner(565): Traceback (most recent call last):
>Feb 18 18:28:08 2008 qrunner(565):   File
>"/usr/local/mailman/bin/qrunner", line 278, in ?
>Feb 18 18:28:08 2008 qrunner(565):      main()
>Feb 18 18:28:08 2008 qrunner(565):   File
>"/usr/local/mailman/bin/qrunner", line 238, in main
>Feb 18 18:28:08 2008 qrunner(565):      qrunner.run()
>Feb 18 18:28:08 2008 qrunner(565):   File
>"/usr/local/mailman/Mailman/Queue/Runner.py", line 71, in run
>Feb 18 18:28:08 2008 qrunner(565):      filecnt = self._oneloop()
>Feb 18 18:28:08 2008 qrunner(565):   File
>"/usr/local/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
>Feb 18 18:28:08 2008 qrunner(565):      msg, msgdata =
>self._switchboard.dequeue(filebase)
>Feb 18 18:28:08 2008 qrunner(565):   File
>"/usr/local/mailman/Mailman/Queue/Switchboard.py", line 150, in
>dequeue
>Feb 18 18:28:08 2008 qrunner(565):      fp = open(filename)
>Feb 18 18:28:08 2008 qrunner(565): IOError :  [Errno 2] No such file
>or directory: '/usr/local/mailman/qfiles/out/1203355686.956471+f4998fab7c49e7696e310da67e6e976129e32e0b.pck'
<snip>


This is what I wanted to see. Thank you. This is exactly the error
referred to in the FAQ
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.068.htp>.
I just wanted to be sure it wasn't something else.

-- 
Mark Sapiro <mark at msapiro.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