Differences between revisions 3 and 4
Revision 3 as of 2008-06-24 19:27:45
Size: 2053
Editor: msapiro
Comment: Escaped [ and ]
Revision 4 as of 2008-07-31 14:00:56
Size: 117
Editor: dunxd
Comment: Page renamed to DOC/4.68 Why do I get -Errno 2- No such file or directory- referring to a qfiles .pck file in my error log.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/5603492
== 4.68. Why do I get <<Verbatim([)>>Errno 2<<Verbatim(])>> No such file or directory: referring to a qfiles .pck file in my error log. ==
From a recent post to mailman-users:

I keep receiving this error and cannot determine why. Can someone help me?

Traceback (most recent call last):

{{{
  File "/usr/local/mailman/bin/qrunner", line 270, in ?
    main()
  File "/usr/local/mailman/bin/qrunner", line 230, in main
    qrunner.run()
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 70, in run
    filecnt = self._oneloop()
  File "/usr/local/mailman/Mailman/Queue/Runner.py", line 99, in _oneloop
    msg, msgdata = self._switchboard.dequeue(filebase)
  File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 143, in dequeue
    fp = open(filename)
 IOError: [Errno 2] No such file or directory: '/usr/local/mailman/qfiles/bounces/1142960439.447984+fc08b5ba5bce8de3f6f63c1227ee942197f02e0d.pck'
}}}

The most likely cause of this is more than one qrunner processing the same slice of the same queue. This usually results from someone or some script doing

{{{
 bin/mailmanctl -s start
}}}

when Mailman is already running.

You need to stop all Mailman processes and then start Mailman once only.

First, as root, do

{{{
 bin/mailmanctl stop
}}}

Then do

{{{
 ps -fAww |grep python
}}}

or however you spell that for your system to see what Mailman processes are still running. If you see a mailmanctl process, send it SIGTERM with

{{{
 kill -TERM <pid>
}}}

where <pid> is its pid from the ps output. Do this until there are no more mailmanctl processes. At this point, if there are any qrunner processes left, do the same for them until there are no Mailman processes running at all. Then do

{{{
 bin/mailmanctl start
}}}

''Last changed on Tue Mar 21 20:12:05 2006 by'' Mark Sapiro
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
#REDIRECT DOC/4.68 Why do I get -Errno 2- No such file or directory- referring to a qfiles .pck file in my error log.

MailmanWiki: DOC/Why do I get -Errno 2- No such file or directory- referring to a qfiles .pck file in my error log. (last edited 2008-07-31 14:00:56 by dunxd)