[Mailman-Users] List Member Set Back

2008-07-09 Thread David Andrews
I run a Cobalt RAQ550 server with about 125 Mailman lists on it.  On 
several occasions, one of the lists has had its membership roster set 
back to one from the past.  It turns out I had a defective UPS, and I 
would guess that it happened when there was a power glitch and some 
operation got upset, and the membership list was set back to an old one.


I have two questions:

First, am I right in my guess of the problem,

and second, the list that is put in place has been, in some instances 
a couple years old.


I have a new UPS, so hope this happens less, but if it does, is there 
any way to make the list that is auto restored more recent?


David Andrews

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] List Member Set Back

2008-07-09 Thread David Andrews
Thanks as always for your clear and accurate answer.  You amaze me 
with your work in development, and support, your knowledge, your 
patience etc...


Thanks!

Dave

At 04:13 PM 7/9/2008, Mark Sapiro wrote:

David Andrews wrote:

I run a Cobalt RAQ550 server with about 125 Mailman lists on it.  On
several occasions, one of the lists has had its membership roster set
back to one from the past.  It turns out I had a defective UPS, and I
would guess that it happened when there was a power glitch and some
operation got upset, and the membership list was set back to an old one.

I have two questions:

First, am I right in my guess of the problem,

and second, the list that is put in place has been, in some instances
a couple years old.

I have a new UPS, so hope this happens less, but if it does, is there
any way to make the list that is auto restored more recent?


Look through your Mailman lists/* directories. For any given list,
there should be a lists/listname directory with a few files including
a config.pck and a config.pck.last file. If there are also config.db
and config.db.last files, remove them. These are old files left ofer
from a Mailman 2.0.x to 2.1.x migration and their contents are that
old.

What happens is this. When Mailman instantiates a list, it tries to
load the list data from config.pck. If that fails, it falls back to
config.pck.last, config.db and config.db.last in that order. So if
both config.pck and config.pck.last (the immediately prior generation)
get corrupted in a power outage so they can't be loaded, Mailman may
fall back to the out of date config.db, so remove those old config.db*
files to prevent that.

Then if in the future, both config.pck and config.pck.last should
become unusable, that list will just not work and you will have to
restore config.pck from a (hopefully recent) backup, but at least it
won't silently fall back to years old data.

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



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.4.7/1542 - Release Date: 
7/9/2008 6:50 AM


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9