[Mailman-Users] Mailman stopped sending mail today andstoppedarchiving a month ago

Mark Sapiro mark at msapiro.net
Wed Jun 25 02:32:15 CEST 2008


Dan Mashal wrote:

>If by "ArchiveRunner" you mean qrunner, yes it is running. 


Actually I meant ArchRunner, one of the 8 qrunner processes that should
be running, but I can see it's running from the error log.


>Yes, The public directories are mostly empty and we are using
>/mailman/private not pipermail.
>
>I don't really see a qfiles directory. Where would this be?


Since this is Fedora 8, you probably have RedHat's FHS mods so there is
no qfiles/ directory. The queue directories are in /var/spool/mailman.

>Todays error log:
>
>Jun 22 06:27:44 2008 (1825) Uncaught runner exception: [Errno 13]
>Permission denied:
>'/var/lib/mailman/archives/private/man-cie/database/2008-June-date.lock.
>psi.1825.298'
>Jun 22 06:27:44 2008 (1825) 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 216, in
>ArchiveMail
>    h.processUnixMailbox(f)
>  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 583, in
>processUnixMailbox
>    self.add_article(a)
>  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 635, in
>add_article
>    article.parentID = parentID = self.get_parent_info(arch, article)
>  File "/usr/lib/mailman/Mailman/Archiver/pipermail.py", line 667, in
>get_parent_info
>    article.subject)
>  File "/usr/lib/mailman/Mailman/Archiver/HyperDatabase.py", line 311,
>in getOldestArticle
>    self.__openIndices(archive)
>  File "/usr/lib/mailman/Mailman/Archiver/HyperDatabase.py", line 251,
>in __openIndices
>    t = DumbBTree(os.path.join(arcdir, archive + '-' + i))
>  File "/usr/lib/mailman/Mailman/Archiver/HyperDatabase.py", line 61, in
>__init__
>    self.lock()
>  File "/usr/lib/mailman/Mailman/Archiver/HyperDatabase.py", line 77, in
>lock
>    self.lockfile.lock()
>  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 13] Permission denied:
>'/var/lib/mailman/archives/private/man-cie/database/2008-June-date.lock.
>psi.1825.298'

[...]


The above error and all the others like it are the reason your lists
aren't archiving.

The mailman group does not have permission to create lock files in the
various /var/lib/mailman/archives/private/<listname>/database/
directories.

You said SELinux is off, so this must be a straight permissions issue.



>Jun 24 06:56:13 2008 qrunner(1838):
>/usr/lib/mailman/Mailman/MailList.py:907: DeprecationWarning: raising a
>string exception is deprecated
>  raise Errors.MMSubscribeNeedsConfirmation


This warning is not significant. It comes from running pre 2.1.10
Mailman with Python 2.5 or later.  Mailman 2.1.10 and 2.1.11 supress
this warning.



>Jun 24 06:56:42 2008 (1842) Failed to unlink backup file:
>/var/spool/mailman/out/1214311764.2174809+7741dea36f059117afa91f45d102be
>d1b23e539e.bak


>Jun 24 06:56:48 2008 qrunner(2568): Traceback (most recent call last):
>Jun 24 06:56:48 2008 qrunner(2568):   File
>"/usr/lib/mailman/bin/qrunner", line 278, in <module>
>Jun 24 06:56:48 2008 qrunner(2568):      main()
>Jun 24 06:56:48 2008 qrunner(2568):   File
>"/usr/lib/mailman/bin/qrunner", line 238, in main
>Jun 24 06:56:48 2008 qrunner(2568):      qrunner.run()
>Jun 24 06:56:48 2008 qrunner(2568):   File
>"/usr/lib/mailman/Mailman/Queue/Runner.py", line 71, in run
>Jun 24 06:56:48 2008 qrunner(2568):      filecnt = self._oneloop()
>Jun 24 06:56:48 2008 qrunner(2568):   File
>"/usr/lib/mailman/Mailman/Queue/Runner.py", line 100, in _oneloop
>Jun 24 06:56:48 2008 qrunner(2568):      msg, msgdata =
>self._switchboard.dequeue(filebase)
>Jun 24 06:56:48 2008 qrunner(2568):   File
>"/usr/lib/mailman/Mailman/Queue/Switchboard.py", line 150, in dequeue
>Jun 24 06:56:48 2008 qrunner(2568):      fp = open(filename)
>Jun 24 06:56:48 2008 qrunner(2568): IOError :  [Errno 2] No such file or
>directory:
>'/var/spool/mailman/out/1214310787.1975391+bb00fd6e837182b6c5d7688667785
>43442465949.pck' 


The two errors above and all the similar ones indicate that there are
two copies of Outgoing runner. See <http://wiki.list.org/x/_4A9> for
what to do about this.

If there were errors other than those four types, I didn't see them.

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