[Mailman-Users] problem restarting with stale pid file

Will Yardley william+mm at hq.newdream.net
Thu Mar 6 21:47:32 CET 2003


Mailman 2.1.1 installed from source on FreeBSD 4.6 (with the same
options as the port uses)

roland# /usr/local/mailman/bin/version
Using Mailman version: 2.1.1
roland# diff /usr/local/etc/rc.d/mailman.sh /usr/local/mailman/bin/mailmanctl 
roland# 

[ from /usr/local/mailman/logs/ ]

roland# ../bin/mailmanctl -s
Primary start-up and shutdown script for Mailman's qrunner daemon.
[ snip rest of help output ]

However doing this:

roland# ../bin/mailmanctl stop                
Shutting down Mailman's master qrunner
No child with pid: 69775
[Errno 3] No such process
Stale pid file removed.
roland# ../bin/mailmanctl start
Starting Mailman's master qrunner.

works.

This has happened twice as the result of a system crash (loss of power).
Any ideas on making mailman start after a crash even if there's a stale
pidfile?

-- 
"Since when is skepticism un-American?
Dissent's not treason but they talk like it's the same..."
(Sleater-Kinney - "Combat Rock")





More information about the Mailman-Users mailing list