[Mailman-Users] problem with qrunner

Mark Sapiro msapiro at value.net
Fri Jan 20 18:24:02 CET 2006


Christopher Adams wrote:

>I noticed that messages weren't being delivered. So, I checked the 
>mailman error logs and noticed something about a master qrunner lock. I 
>found something in the /locks directory names master qrunner and deleted 
>it. Then I restarted mailman and got this:
>
>./mailmanctl restart
>Restarting Mailman's master qrunner
>PID unreadable in: /lists/data/master-qrunner.pid
>[Errno 2] No such file or directory: '/lists/data/master-qrunner.pid'
>Is qrunner even running?
>
>Any ideas about how to get it restarted?

Using ps, find the pid of the master qrunner process (the one with a
command line like "/usr/bin/python /var/mailman/bin/mailmanctl -s -q
start") and send it a SIGTERM. After it and all the qrunners stop,
make sure there are no master-qrunner* files left in data/ and locks/,
and do

bin/mailmanctl start

In the future, don't delete these files. The locks/ files are to
prevent starting a second mailmanctl when one is already running and
are normally always present as is data/master-qrunner.pid when
mailmanctl is running.

-- 
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