[Mailman-Users] Start qrunner on ElCapitan (MacOS X Server)

Matthias Schmidt beta at admilon.net
Sun Oct 23 01:44:54 EDT 2016


Mark,

thanks.

> Am 19.10.2016 um 23:55 schrieb Mark Sapiro <mark at msapiro.net>:
> 
> On 10/19/2016 02:51 AM, Matthias Schmidt wrote:
>> 
>> Now I get in the system log:
>> com.apple.xpc.launchd[1] (org.mailman): Service only ran for 1 seconds. Pushing respawn out by 9 seconds.
>> 
>> and after that I get:
>> The master qrunner lock could not be acquired because it appears as if another
>> master qrunner is already running.
>> in mailman’s error log
> 
> 
> Because the original master IS still running. The PID in the lockfile
> exists. The problem is 'mailmanctl start' forks a watcher process. The
> original mailmanctl exits so launchd thinks it only ran for 1 second,
> but it’s child and all the qrunners are still running.
> 
> 
>> after unloading the plist and running mailmanctl -s start again, I get the same error as output.
>> When I delete these 2 lock files and run mailmanctl start as sudo all is fine.
> 
> 
> All is not fine. You have 2 Mailman instances running. See
> <https://wiki.list.org/x/4030715>.
> 
> I don't know how to set up plist's for launchd. There may be some sort
> of daemon option to account for processes that fork a daemon and then exit.


that was the right hint, adding sleep 1 to my script did the trick :-)

thank you :-)

Matthias

> 
> See <https://wiki.list.org/x/4030523> and posts linked therefrom, in
> particular
> <http://www.mail-archive.com/mailman-users@python.org/msg56923.html>.
> This is for 10.6, and I don't know if 10.11 is different in this respect
> or not. I think there is more recent discussion in this list's archives
> which you may find by searching at
> <http://www.mail-archive.com/mailman-users@python.org/>.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20161023/28eb77a7/attachment.sig>


More information about the Mailman-Users mailing list