Starting qrunner for FreeBSD

Hi,
I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works with the old technique of running qrunner every minute from cron. The INSTALL instructions give some hints on how to start the qrunner daemon at startup time (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I would appreciate any hints on what the best solution for FreeBSD systems is.
Amardeo.
-- Amardeo Sarma sarma@gwup.com

There is not BSD specific documentation in there. I was thinking about submitting a patch for anyone who wants it...
Basically, (I use OpenBSD), you need to set this stuff in /etc/rc.local and /etc/rc.shutdown instead of /etc/rc.d/init.d. BSDs are BSDish. Linux is SysVish. The layout of some of the file system (including config files) is a bit different. Linux, being the most popular, is the one that typically gets documented and BSDers just have to get to it themselves.
- JMM
On Wed, 25 Jun 2003, Amardeo Sarma wrote:
Hi,
I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works with the old technique of running qrunner every minute from cron. The INSTALL instructions give some hints on how to start the qrunner daemon at startup time (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I would appreciate any hints on what the best solution for FreeBSD systems is.
Amardeo.
-- Amardeo Sarma sarma@gwup.com
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/
This message was sent to: michael@firewing.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/michael%40firewing.org

On 24 Jun 2003 at 21:57, John Michael Mars wrote:
There is not BSD specific documentation in there. I was thinking about submitting a patch for anyone who wants it...
Basically, (I use OpenBSD), you need to set this stuff in /etc/rc.local and /etc/rc.shutdown instead of /etc/rc.d/init.d. BSDs are BSDish. Linux is SysVish. The layout of some of the file system (including config files) is a bit different. Linux, being the most popular, is the one that typically gets documented and BSDers just have to get to it themselves.
Anyone have an idea why on running "bin/mailmanctl start" from the $prefix directory (again FreeBSD) I get the error message:
Site list is missing: mailman
?
Amardeo.
- JMM
On Wed, 25 Jun 2003, Amardeo Sarma wrote:
Hi,
I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works with the old technique of running qrunner every minute from cron. The INSTALL instructions give some hints on how to start the qrunner daemon at startup time (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I would appreciate any hints on what the best solution for FreeBSD systems is.
Amardeo.
-- Amardeo Sarma sarma@gwup.com
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/
This message was sent to: michael@firewing.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/michael%40firewing.org
-- Amardeo Sarma sarma@gwup.com

It's called read the docs. You can't expect people to do EVERYTHING. Read the docs and THEN install or use a port. Help is for people that at least try to help themselves FIRST. That's my opinion.
- JMM
On Wed, 25 Jun 2003, Amardeo Sarma wrote:
On 24 Jun 2003 at 21:57, John Michael Mars wrote:
There is not BSD specific documentation in there. I was thinking about submitting a patch for anyone who wants it...
Basically, (I use OpenBSD), you need to set this stuff in /etc/rc.local and /etc/rc.shutdown instead of /etc/rc.d/init.d. BSDs are BSDish. Linux is SysVish. The layout of some of the file system (including config files) is a bit different. Linux, being the most popular, is the one that typically gets documented and BSDers just have to get to it themselves.
Anyone have an idea why on running "bin/mailmanctl start" from the $prefix directory (again FreeBSD) I get the error message:
Site list is missing: mailman
?
Amardeo.
- JMM
On Wed, 25 Jun 2003, Amardeo Sarma wrote:
Hi,
I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works with the old technique of running qrunner every minute from cron. The INSTALL instructions give some hints on how to start the qrunner daemon at startup time (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I would appreciate any hints on what the best solution for FreeBSD systems is.
Amardeo.
-- Amardeo Sarma sarma@gwup.com
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/
This message was sent to: michael@firewing.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/michael%40firewing.org
-- Amardeo Sarma sarma@gwup.com
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/
This message was sent to: michael@firewing.org Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/michael%40firewing.org

On Wed, Jun 25, 2003 at 06:10:20AM +0200, Amardeo Sarma wrote:
I am a newbie and running Mailman 2.1.1 on FreeBSD 4.7 / VPSv2, which works with the old technique of running qrunner every minute from cron. The INSTALL instructions give some hints on how to start the qrunner daemon at startup time (apparently the preferred mode for 2.1.x), but this seems geared to Linux. I would appreciate any hints on what the best solution for FreeBSD systems is.
Just link /usr/local/mailman/bin/mailmanctl to /usr/local/etc/rc.d/mailman.sh
Something like (adjust path as necessary): ln -s /usr/local/etc/rc.d/mailman.sh /usr/local/mailman/bin/mailmanctl
Do note, however, that if the system crashes, the stale lockfile may not get removed when it comes back up.
You could put a script in /usr/local/etc/rc.d/00somename.sh that does something like (untested):
#!/bin/sh # remove dead links case "$1" in start) test -f /usr/local/mailman/locks/master-qrunner && rm /usr/local/mailman/locks/master-qrunner ;; stop) ;; esac
Running mailmanctl -s *should* fix stale lockfiles, but doesn't seem to work in my experience (see some past posts to the list as well).
-- "Since when is skepticism un-American? Dissent's not treason but they talk like it's the same..." (Sleater-Kinney - "Combat Rock")
participants (3)
-
Amardeo Sarma
-
John Michael Mars
-
william+mm@hq.newdream.net