[Mailman-Users] moved lists and now they don't work
Mark Sapiro
msapiro at value.net
Tue Jun 19 07:08:40 CEST 2007
carconni wrote:
>
>I had to move lists. We had a hardware failure and they had to move
>to our new mail server. The mail server migration went fine and we
>thought mailman moved okay as well but we were wrong.
>
>Earlier today I tried to create a new list and and got an error so my
>boss said to check permissions. I ran the /usr/share/mailman/bin/
>check_perms -f in every mailman file I could find but Im still
>getting permission errors. I even gave global permissions to all the
>archives but no luck.
It doesn't matter where your current directory is. You just run
/usr/share/mailman/bin/check_perms -f
as root until it reports no errors.
>Right now, lists have stopped - they just aren't working and I just
>can't figure out what the problem is. The more we tried to fix it,
>the worse it got. Unfortunately my company heavily relies on them so
>I figured before I set out to manually configure mail aliases, does
>anyone know a way around this mess?
>
>from var/mailman/logs/error: (the permissions and ownership for the
>client-list is -rw-r--r-- 1 root mailman 479 Jun 18 13:30 /
>private/var/mailman/archives/private/client-list/index.html)
It should be group writable - i.e. -rw-rw-r-- 1 root mailman
>Jun 18 19:24:34 2007 (10816) SHUNTING: 1182219873.5167899
>+ceff885a98ff1c83a23f7e83b4d94678813ee808
>Jun 18 19:25:36 2007 (10819) Uncaught runner exception: [Errno 1]
>Operation not permitted: '/private/var/mailman/archives/public/client-
>list'
>Jun 18 19:25:36 2007 (10819) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line
>133, in _dispose
> mlist.Save()
> File "/usr/share/mailman/Mailman/MailList.py", line 529, in Save
> self.CheckHTMLArchiveDir()
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 235,
>in CheckHTMLArchiveDir
> breaklink(pubdir)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 55,
>in breaklink
> os.unlink(link)
>OSError: [Errno 1] Operation not permitted: '/private/var/mailman/
>archives/public/client-list'
I'm guessing when you backed up and moved from the old machines, you
wound up with files in /private/var/mailman/archives/public/
There should only be symlinks in that directory. Every
/private/var/mailman/archives/public/<listname> and
/private/var/mailman/archives/public/<listname.mbox> is a symlink to
the corresponding /private/var/mailman/archives/private/<listname> and
/private/var/mailman/archives/private/<listname.mbox> directory.
Either fixing that or simply removing everything in the
/private/var/mailman/archives/public/ will allow Mailman to recreate
the proper symlinks.
>Jun 18 19:25:36 2007 (10819) SHUNTING: 1182219935.3121431
>+07ef8a32317dde697d0042ee151b8fd11d41b398
>Jun 18 19:25:36 2007 (10816) Uncaught runner exception: [Errno 13]
>Permission denied: '/private/var/mailman/archives/private/client-list/
>index.html'
>Jun 18 19:25:36 2007 (10816) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/ArchRunner.py", line 73, in
>_dispose
> mlist.ArchiveMail(msg)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 216,
>in ArchiveMail
> h.close()
> File "/usr/share/mailman/Mailman/Archiver/pipermail.py", line 313,
>in close
> self.write_TOC()
> File "/usr/share/mailman/Mailman/Archiver/HyperArch.py", line
>1048, in write_TOC
> toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: '/private/var/mailman/archives/
>private/client-list/index.html'
>
>Jun 18 19:25:36 2007 (10816) SHUNTING: 1182219935.3121431
>+1f5997710b510ce2af03c4b18e68bca2a9a7cf5d
>Jun 18 19:25:53 2007 (10819) Uncaught runner exception: [Errno 1]
>Operation not permitted: '/private/var/mailman/archives/public/client-
>list'
>Jun 18 19:25:53 2007 (10819) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line
>133, in _dispose
> mlist.Save()
> File "/usr/share/mailman/Mailman/MailList.py", line 529, in Save
> self.CheckHTMLArchiveDir()
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 235,
>in CheckHTMLArchiveDir
> breaklink(pubdir)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 55,
>in breaklink
> os.unlink(link)
>OSError: [Errno 1] Operation not permitted: '/private/var/mailman/
>archives/public/client-list'
>
>Jun 18 19:25:53 2007 (10819) SHUNTING: 1182219952.298547
>+a97ef5907aa7d67744b62971add1b089b4336b32
>Jun 18 19:25:53 2007 (10816) Uncaught runner exception: [Errno 13]
>Permission denied: '/private/var/mailman/archives/private/client-list/
>index.html'
>Jun 18 19:25:53 2007 (10816) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/ArchRunner.py", line 73, in
>_dispose
> mlist.ArchiveMail(msg)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 216,
>in ArchiveMail
> h.close()
> File "/usr/share/mailman/Mailman/Archiver/pipermail.py", line 313,
>in close
> self.write_TOC()
> File "/usr/share/mailman/Mailman/Archiver/HyperArch.py", line
>1048, in write_TOC
> toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: '/private/var/mailman/archives/
>private/client-list/index.html'
>
>Jun 18 19:25:53 2007 (10816) SHUNTING: 1182219952.298547
>+542a885011bac44ed8f869a06f7c64ebe07acaf9
>Jun 18 19:27:07 2007 (10819) Uncaught runner exception: [Errno 1]
>Operation not permitted: '/private/var/mailman/archives/public/client-
>list'
>Jun 18 19:27:07 2007 (10819) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/IncomingRunner.py", line
>133, in _dispose
> mlist.Save()
> File "/usr/share/mailman/Mailman/MailList.py", line 529, in Save
> self.CheckHTMLArchiveDir()
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 235,
>in CheckHTMLArchiveDir
> breaklink(pubdir)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 55,
>in breaklink
> os.unlink(link)
>OSError: [Errno 1] Operation not permitted: '/private/var/mailman/
>archives/public/client-list'
>
>Jun 18 19:27:07 2007 (10819) SHUNTING: 1182220026.5520279
>+b4a5f31a903a595b30aad7c8b13e6b37e44b3b25
>Jun 18 19:27:07 2007 (10816) Uncaught runner exception: [Errno 13]
>Permission denied: '/private/var/mailman/archives/private/client-list/
>index.html'
>Jun 18 19:27:07 2007 (10816) Traceback (most recent call last):
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 111, in
>_oneloop
> self._onefile(msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/Runner.py", line 167, in
>_onefile
> keepqueued = self._dispose(mlist, msg, msgdata)
> File "/usr/share/mailman/Mailman/Queue/ArchRunner.py", line 73, in
>_dispose
> mlist.ArchiveMail(msg)
> File "/usr/share/mailman/Mailman/Archiver/Archiver.py", line 216,
>in ArchiveMail
> h.close()
> File "/usr/share/mailman/Mailman/Archiver/pipermail.py", line 313,
>in close
> self.write_TOC()
> File "/usr/share/mailman/Mailman/Archiver/HyperArch.py", line
>1048, in write_TOC
> toc = open(os.path.join(self.basedir, 'index.html'), 'w')
>IOError: [Errno 13] Permission denied: '/private/var/mailman/archives/
>private/client-list/index.html'
>
>Jun 18 19:27:07 2007 (10816) SHUNTING: 1182220026.5520279
>+eddee6c8cd6b87769edeaa60fe9c23f1e3e19640
>
>
>
>------------------------------------------------------
>Mailman-Users mailing list
>Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
>Unsubscribe: http://mail.python.org/mailman/options/mailman-users/msapiro%40value.net
>
>Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
--
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