[Mailman-Users] Issues with mailman starting.

Mark Sapiro msapiro at value.net
Tue Jun 6 02:51:30 CEST 2006


ogre at rpg-vault.net wrote:

>I am currently running mailman in a plesk enviroment. This is the first attempt
>that I have made to use it on the system. However I noticed that it was not
>working. Deeper investigation showed me that mailman was not even loading.
>Checking the error logs I found that following:
>
>Jun 05 16:23:57 2006 mailmanctl(14382): Traceback (most recent call last):
>Jun 05 16:23:57 2006 mailmanctl(14382):   File "./mailmanctl", line 597, in ?
>Jun 05 16:23:57 2006 mailmanctl(14382):      main()
>Jun 05 16:23:57 2006 mailmanctl(14382):   File "./mailmanctl", line 416, in main
>Jun 05 16:23:57 2006 mailmanctl(14382):      check_for_site_list()
>Jun 05 16:23:57 2006 mailmanctl(14382):   File "./mailmanctl", line 318, in
>check_for_site_list
>Jun 05 16:23:57 2006 mailmanctl(14382):      sitelist = MailList(sitelistname,
>lock=0)
>Jun 05 16:23:57 2006 mailmanctl(14382):   File
>"/var/mailman/Mailman/MailList.py", line 128, in __init__
>Jun 05 16:23:57 2006 mailmanctl(14382):      self.Load()
>Jun 05 16:23:57 2006 mailmanctl(14382):   File
>"/var/mailman/Mailman/MailList.py", line 593, in Load
>Jun 05 16:23:57 2006 mailmanctl(14382):      dict, e = self.__load(file)
>Jun 05 16:23:57 2006 mailmanctl(14382):   File
>"/var/mailman/Mailman/MailList.py", line 566, in __load
>Jun 05 16:23:57 2006 mailmanctl(14382):      dict = loadfunc(fp)
>Jun 05 16:23:57 2006 mailmanctl(14382): AttributeError :  'dict' object has no
>attribute 'append'
>
>Does anyone have any suggestions on what could be causing this. I'm afraid I've
>been unable to locate a reason for it.


Well, there is a file lists/mailman/config.pck (assuming the default
name 'mailman' for the site list) or maybe config.db or either of
those with .last appended, or you wouldn't be getting to that point in
the code.

I'm not sure why the attempt to load it throws that particular
exception, but whatever the putative list configuration file is, it is
apparently corrupt.

Assuming the sitelist name is 'mailman', I suggest the following:

bin/rmlist -a mailman
bin/newlist mailman
         (there will be some interactive prompts from this)
bin/config_list -i data/sitelist.cfg mailman

Or you could create and set up the 'mailman' list using the web
interface - mailmanctl doesn't have to be running for that.

Also, it might be a good idea to check what is actually in the
lists/mailman directory before doing the rmlist in case it's the
'wrong' directory.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list