[Mailman-Users] error after migration

Mark Sapiro mark at msapiro.net
Sat Feb 11 03:48:31 CET 2012


nikos wrote:
>
>This is one:
>
>Feb 08 16:03:11 2012 (15955) Traceback (most recent call last):
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop
>     self._onefile(msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile
>     keepqueued = self._dispose(mlist, msg, msgdata)
>   File "/usr/lib/mailman/Mailman/Queue/ArchRunner.py", line 73, in _dispose
>     mlist.ArchiveMail(msg)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 217, in 
>ArchiveMail
>     h.close()
>   File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 327, in close
>     self.write_TOC()
>   File "/usr/lib/mailman/Mailman/Archiver/HyperArch.py", line 1105, in 
>write_TOC
>     toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: 
>'/var/lib/mailman/archives/private/mylist/index.html'


My best guess is there is some directory in the full path
/var/lib/mailman/archives/private/mylist/ that does not have search
permission for Mailman's group or the mylist/ ditectory does not have
write permission for Mailman's group or the index.html file exists and
doesn't have write permission for Mailman's group or this is a SELinux
or other security manager issue.

Did you migrate the archives by copying the archives/private/mylist
tree? If so, you may be able to fix this by following the recommended
procedure which is to only copy the
archives/private/mylist.mbox/mylist.mbox files and build the pipermail
archive with 'bin/arch --wipe mylist'

-- 
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