Hello list. I have a problem after migration. I move all list to a new centos server with mailman-2.1.12-17.el6.x86_64. Lists seems to works fine, but I in error file I see some IOErrors like:
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/mylist/index.html
check_perms -f dont find problems:
Warning: Private archive directory is other-executable (o+x). This could allow other users on your system to read private archives. If you're on a shared multiuser system, you should consult the installation manual on how to fix this. No problems found
Is something I can do to solve this?
Thank you, Nikos
nikos wrote:
Lists seems to works fine, but I in error file I see some IOErrors like:
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/mylist/index.html
Please post the entire Mailman error log entry including the traceback and environment and Python info if applicable.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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'
On 09/02/2012 6:42 μμ, Mark Sapiro wrote:
nikos wrote:
Lists seems to works fine, but I in error file I see some IOErrors like:
IOError: [Errno 13] Permission denied: '/var/lib/mailman/archives/private/mylist/index.html
Please post the entire Mailman error log entry including the traceback and environment and Python info if applicable.
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@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro -
nikos