[Mailman-Users] In a pickle

Jon Carnes jonc at nc.rr.com
Mon Dec 8 17:51:02 CET 2003


Do you have a config.pck.last for that list?  Try renaming your current
config.pck and copy over the config.pck.last and see if that works.

If so, then you have a corrupt config.pck file and "check_db" should
have been able to fix this.

Jon Carnes

On Mon, 2003-12-08 at 03:33, Simon White wrote:
> Hello
> 
> I've seen a few messages with this error in the searchable archive, but
> no responses. I've tried to list as much info as I can below. The setup
> was working fine until a couple of days ago when an automatic script for
> subscribe/unsubscribe suddenly seemed to break things. However the
> server had some new RAM put in it recently and may have been rebooted
> without a proper shutdown. It's in a colocated hosting facility and the
> techs there don't seem too bright sometimes...
> 
> /usr/local/mailman/bin# ./version
> Using Mailman version: 2.1.2 --> should I upgrade? I feel I should fix
> the problem first.
> 
> /usr/local/mailman/bin# ./list_lists
> Traceback (most recent call last):
>   File "./list_lists", line 122, in ?
>     main()
>   File "./list_lists", line 94, in main
>     mlist = MailList.MailList(n, lock=0)
>   File "/usr/local/mailman/Mailman/MailList.py", line 124, in __init__
>     self.Load()
>   File "/usr/local/mailman/Mailman/MailList.py", line 583, in Load
>     dict, e = self.__load(file)
>   File "/usr/local/mailman/Mailman/MailList.py", line 556, in __load
>     dict = loadfunc(fp)
> cPickle.UnpicklingError: invalid load key, ''.
> (add_members, check_db, remove_members all give similar errors)
> 
> Kernel/OS Linux 2.4.18-bf2.4 (Debian)
> 
> Mailman installed from source.
> 
> This was working fine earlier. Couple of observations
> 
> /usr/local/mailman/locks# ls -l
> total 8
> -rw-rw-r--    2 mailman  mailman        58 Dec  8  2003 master-qrunner
> -rw-rw-r--    2 mailman  mailman        58 Dec  8  2003 master-qrunner.hostname.275
> (I deleted a couple of listname.hostname.nnn lock files to see if it
> would help, it didn't)
> 
> /usr/local/mailman/lists/listname# ls -l
> -rw-rw----    1 mailman  mailman   1843200 Dec  6 09:08 config.pck.last
> -rw-rw----    1 mailman  mailman   1670681 Sep 10 16:02 config.pck.safety
> -rw-rw-r--    1 mailman  mailman        29 Dec  5 08:00 request.db
> (I recreated the config.pck by copying config.pck.last; didn't make any
> difference).
> 
> /usr/local/mailman/data# ls -l
> total 76
> -rw-rw----    1 mailman  mailman      3501 Jun 23 16:47 aliases
> -rw-r--r--    1 mailman  mailman     12288 Jun 24 15:44 aliases.db
> -rw-r--r--    1 mailman  mailman        10 May  9  2003 last_mailman_version
> -rw-rw----    1 mailman  mailman         4 Dec  6 10:53 master-qrunner.pid
> -rw-rw----    1 mailman  mailman     35467 Dec  5 23:57 pending.pck
> -rw-r--r--    1 root     mailman     14110 Jun 26 11:27 sitelist.cfg
> 
> Thanks for any help,





More information about the Mailman-Users mailing list