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

2016-10-18 Thread Mark Sapiro
On 10/18/2016 07:39 AM, Matthias Schmidt via Mailman-Users wrote:
> 
> the -s option should fix that problem ;-)


If it can determine that the lock is stale.


> but if mailman is started as local then -s doesn’t remove a stray pid file.


What do you mean by "if mailman is started as local"?

What is the output from 'mailmanctl -s start'?

-- 
Mark Sapiro The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan



signature.asc
Description: OpenPGP digital signature
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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

2016-10-18 Thread Matthias Schmidt via Mailman-Users

> Am 18.10.2016 um 22:50 schrieb mailman-admin :
> 
> Am 18.10.2016 um 10:57 schrieb Matthias Schmidt via Mailman-Users:
>> Hello,
>> I’m trying to start mailman on startup with ElCapitan.
>> 
>> I tried a plist in LaunchDaemons - that was working in the past with the 
>> command:
>> /usr/local/mailman/bin/mailmanctl -s start
>> 
>> this produces now the error:
>> Service only ran for 2 seconds. Pushing respawn out by 8 seconds
>> 
>> the error log says:
>> The master qrunner lock could not be acquired because it appears as if 
>> another
>> master qrunner is already running
>> 
>> So it starts, creates a lock as localhost … and then it tries to start again.
>> 
>> than I created a startup script as described here:
>> https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html#//apple_ref/doc/uid/1172i-SW9-CJBBHDII
>> 
>> and it does … nothing
>> 
>> the only thing which works currently is starting it manually with sudo
>> and this is kind of inconvenient
>> 
>> I installed mailman manually without using macports or something like that.
>> 
>> I hope someone on the list can share some insight here.
>> 
> 
> Do you shutdown mailman cleanly?

mailman was not running before startup and for the test I made sure that there 
are no pid files present

> If not, you leave a pid file behind, which will prevent mailman from
> starting.


the -s option should fix that problem ;-)
but if mailman is started as local then -s doesn’t remove a stray pid file.

cheers
Matthias




signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

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

2016-10-18 Thread mailman-admin
Am 18.10.2016 um 10:57 schrieb Matthias Schmidt via Mailman-Users:
> Hello,
> I’m trying to start mailman on startup with ElCapitan.
> 
> I tried a plist in LaunchDaemons - that was working in the past with the 
> command:
> /usr/local/mailman/bin/mailmanctl -s start
> 
> this produces now the error:
> Service only ran for 2 seconds. Pushing respawn out by 8 seconds
> 
> the error log says:
> The master qrunner lock could not be acquired because it appears as if another
> master qrunner is already running
> 
> So it starts, creates a lock as localhost … and then it tries to start again.
> 
> than I created a startup script as described here:
> https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html#//apple_ref/doc/uid/1172i-SW9-CJBBHDII
> 
> and it does … nothing
> 
> the only thing which works currently is starting it manually with sudo
> and this is kind of inconvenient
> 
> I installed mailman manually without using macports or something like that.
> 
> I hope someone on the list can share some insight here.
> 

Do you shutdown mailman cleanly?
If not, you leave a pid file behind, which will prevent mailman from
starting.


Kind regards,
Christian Mack


--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org


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

2016-10-18 Thread Matthias Schmidt via Mailman-Users
Hello,
I’m trying to start mailman on startup with ElCapitan.

I tried a plist in LaunchDaemons - that was working in the past with the 
command:
/usr/local/mailman/bin/mailmanctl -s start

this produces now the error:
Service only ran for 2 seconds. Pushing respawn out by 8 seconds

the error log says:
The master qrunner lock could not be acquired because it appears as if another
master qrunner is already running

So it starts, creates a lock as localhost … and then it tries to start again.

than I created a startup script as described here:
https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html#//apple_ref/doc/uid/1172i-SW9-CJBBHDII

and it does … nothing

the only thing which works currently is starting it manually with sudo
and this is kind of inconvenient

I installed mailman manually without using macports or something like that.

I hope someone on the list can share some insight here.

thanks
Matthias


signature.asc
Description: Message signed with OpenPGP using GPGMail
--
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org