[Mailman-Users] errors

christian stalberg cstalberg at web-analysts.net
Sat Feb 18 00:09:38 CET 2012

Ok I created the locks directory but now I am getting this error:

Feb 17 17:16:01 2012 post(19147): Traceback (most recent call last):
post(19147):   File "/usr/lib/mailman/scripts/post", line 69, in <module>
post(19147):      main()
post(19147):   File "/usr/lib/mailman/scripts/post", line 64, in main
post(19147):      tolist=1, _plaintext=1)
post(19147):   File "/usr/lib/mailman/Mailman/Queue/Switchboard.py", line
136, in enqueue
post(19147):      fp = open(tmpfile, 'w')
post(19147): IOError :  [Errno 13] Permission denied:

-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net] 
Sent: Friday, February 17, 2012 4:47 PM
To: christian stalberg; mailman-users at python.org
Subject: Re: [Mailman-Users] errors

christian stalberg wrote:

>Moved list to another server. What is the problem here?
># bin/withlist -l -r fix_url listname -v -u domainname.com Importing 
>Running fix_url.fix_url()...
>Loading list stoptortureflights (locked) Traceback (most recent call 
>  File "bin/withlist", line 302, in <module>
>    main()
>  File "bin/withlist", line 280, in main
>    r = do_list(listname, args, func)
>  File "bin/withlist", line 198, in do_list
>    m = MailList.MailList(listname, lock=LOCK)
>  File "/usr/lib/mailman/Mailman/MailList.py", line 128, in __init__
>    self.Lock()
>  File "/usr/lib/mailman/Mailman/MailList.py", line 161, in Lock
>    self.__lock.lock(timeout)
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock
>    self.__write()
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write
>    fp = open(self.__tmpfname, 'w')
>IOError: [Errno 2] No such file or directory:

It appears that this Mailman expects it's locks directory is
/var/lock/mailman/ and that directory doesn't exist.

Mark Sapiro <mark at msapiro.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