Re: [Mailman-Users] Mac OS X Leopard upgrade experience
On Mon, 29 Oct 2007, Larry Stone wrote: > 5) Startup is intermittently(?) failing due to what seems to be a Leopard, > not mailman, issue. I'm not at all sure what that "Stray process" message > means and have not turned up anything useful in a web search. > > Oct 29 07:36:46 Leoptest mailman[56]: Starting Mailman's master qrunner. > Oct 29 07:36:46 Leoptest com.apple.launchd[1] (mailman[56]): Stray process > with PGID equal to this dead job: PID 83 PPID 1 Python > > Nothing appears in the mailman logs but unless I'm mistaken, the "Starting > Mailman's ..." message comes from mailmanctl so mailmanctl is launching > but then dying with that "Stray process" error. > > The Leopard provided version of Python 2.5.1 and I have mailman 2.1.9. Update: this was perhaps a result of a mistake I made it creating the clone. I failed to notice that the clone volume had OS X's "Ignore ownership on this volume" attribute set meaning I ended up as the owner of every file on it. I re-cloned last night and went through the entire process again and once finished, have rebooted twice without encountering this "stray process" message. -- Larry Stone [EMAIL PROTECTED] -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Re: [Mailman-Users] Mac OS X Leopard upgrade experience
Hi, I run Mailman on Linux servers, so I can't actually speak from experiemce, but I'm a longtime Mac user on the desktop and have followed the launchd migration. --On 29. Oktober 2007 11:20:21 -0500 Larry Stone <[EMAIL PROTECTED]> wrote: > 4) System shutdown does not seem to shutdown mailman cleanly anymore > requiring a 'mailmanctl -s start' to get mailman going. I've changed my > launchd startup file to add the -s. That obviously adds some risk but at > least for my environment, it's minimal. I wonder if the shutdown couldn't be made clean. I don't know if there's a hook for launchd clients or if Apple uses a certain signal to terminate processes on shutdown, but I think it *must* be possible to handle this. > 5) Startup is intermittently(?) failing due to what seems to be a Leopard, > not mailman, issue. I'm not at all sure what that "Stray process" message > means and have not turned up anything useful in a web search. > > Oct 29 07:36:46 Leoptest mailman[56]: Starting Mailman's master qrunner. > Oct 29 07:36:46 Leoptest com.apple.launchd[1] (mailman[56]): Stray process > with PGID equal to this dead job: PID 83 PPID 1 Python > > Nothing appears in the mailman logs but unless I'm mistaken, the "Starting > Mailman's ..." message comes from mailmanctl so mailmanctl is launching > but then dying with that "Stray process" error. I haven't heard about that but it seems to me as though launchd notices that the new process is in the same process group as a previous one that's died. I suppose that's why it considers the new one a "stray process". A workaround might be to force a new process group during startup, e.g. setsid(2) or setpgid(2) ... -- .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:. Zentrum für angewandte Informatik - Universitätsweiter Service RRZK .:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:. .:.:.:.Skype: shagedorn.:.:.:. -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
[Mailman-Users] Mac OS X Leopard upgrade experience
Wasting no time, I experiemented over the weekend with upgrading a clone of my test server (Power PC) from Mac OS X Tiger (10.4.x) to Leopard (10.5). It was not as smooth as could be and a number of configuration changes were needed and I still have a startup problem. However, once I work around the startup issue (#5 below), it all seems to be working. 1) Apple has changed all the application specific user IDs from ZZZ to _ZZZ (e.g. mailman becomes _mailman). This requires changes to Postfix (not a Mailman topic per se) and requires Mailman to be reconfigured and remade. 2) Xinetd is gone. If mailman or anything else was still being started via xinetd, it needs to be changed to start with launchd (launchd was introduced with Tiger). 3) Apache is now Apache2. The configuration file is /etc/apache2/httpd.conf rather than /etc/httpd/httpd.conf. Customizations in /etc/httpd/httpd/conf are not migrated. In addition, tighter directory security in Apache2 requires additional customizations to allow access to the Mailman directories (sorry, I don't have them handy to include in this note) 4) System shutdown does not seem to shutdown mailman cleanly anymore requiring a 'mailmanctl -s start' to get mailman going. I've changed my launchd startup file to add the -s. That obviously adds some risk but at least for my environment, it's minimal. 5) Startup is intermittently(?) failing due to what seems to be a Leopard, not mailman, issue. I'm not at all sure what that "Stray process" message means and have not turned up anything useful in a web search. Oct 29 07:36:46 Leoptest mailman[56]: Starting Mailman's master qrunner. Oct 29 07:36:46 Leoptest com.apple.launchd[1] (mailman[56]): Stray process with PGID equal to this dead job: PID 83 PPID 1 Python Nothing appears in the mailman logs but unless I'm mistaken, the "Starting Mailman's ..." message comes from mailmanctl so mailmanctl is launching but then dying with that "Stray process" error. The Leopard provided version of Python 2.5.1 and I have mailman 2.1.9. -- Larry Stone [EMAIL PROTECTED] -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp