Hi Mark,

Thanks a lot, worked.

Clóvis

Mark Sapiro escreveu:
Clovis Tristao wrote:
I would like to know how to solve the problem below?

Apr 17 14:31:36 2009 (18013) Uncaught runner exception: [Errno 1] Operation not permitted: '/var/lib/mailman/archives/private/cipg-l/index.html'
Apr 17 14:31:36 2009 (18013) Traceback (most recent call last):
 File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 112, in _oneloop
   self._onefile(msg, msgdata)
 File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 170, 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 1094, in write_TOC
   toc = open(os.path.join(self.basedir, 'index.html'), 'w')
IOError: [Errno 1] Operation not permitted: '/var/lib/mailman/archives/private/cipg-l/index.html'

Another detail, the directory is in shunt with 3000 files, the files can delete this directory?


The above error occurs because Mailman doesn't have permission to write
/var/lib/mailman/archives/private/cipg-l/index.html.

You need to run bin/check_perms -f as root to fix permissions, and even
that may not fix them all. If it looks like permissions are OK
(everything should be group 'mailman' and group writable and
directories should be SETGID), it may be a SELinux or other security
manager issue.

This error only affects archiving. Presumably the shunted messages are
the ones missing from the archive because of this error. Even though
this error occurs and prevents updating the html archive, the messages
are probably in the
/var/lib/mailman/archives/private/cipg-l.mbox/cipg-l.mbox file, so the
easiest solution may be to first fix the permissions issue and then
with mailman stopped, run

  bin/arch --wipe cipg-l

as the 'mailman' user to rebuild the html archive. Then you could
remove the files from the shunt queue.



--
Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola
Administrador de Redes - Secao de Informatica (SINFO)
E-mail: clo...@feagri.unicamp.br http://www.feagri.unicamp.br
Fone(0xx19) 35211031-35211038 ou FAX(55xx19) 35211005/35211010

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to