[Mailman-Users] NEED HELP: Mailman is not archiving

Mark Sapiro mark at msapiro.net
Wed Apr 16 15:10:57 CEST 2014


On 04/15/2014 01:23 PM, Shavkat_BEK wrote:
> 
> I recently found out that the mailman is not archiving most of the mailing
> lists. Here is some info that might give you some idea of what is going on.
...
> 2. /var/log/mailman/error:
> 
> Apr 15 08:08:53 2014 (15279) SHUNTING:
> 1396932558.512722+32b8dc6f945cc9837829a7803dba6d48978dc65f
> Apr 15 08:19:12 2014 (15279) Archive file access failure:
>         /var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox
> [Errno 2] No such file or directory:
> '/var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox'
> Apr 15 08:19:12 2014 (15279) Uncaught runner exception: [Errno 2] No such
> file or directory:
> '/var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox'
> Apr 15 08:19:12 2014 (15279) 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 200, in
> ArchiveMail
>     self.__archive_to_mbox(msg)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 169, in
> __archive_to_mbox
>     mbox = self.__archive_file(afn)
>   File "/usr/lib/mailman/Mailman/Archiver/Archiver.py", line 157, in
> __archive_file
>     return Mailbox.Mailbox(open(afn, 'a+'))
> IOError: [Errno 2] No such file or directory:
> '/var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox'


The file /var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox
does not exist on your server.

Do the HTML archives in /var/lib/mailman/archives/private/maillist1/ exist?

Does the directory /var/lib/mailman/archives/private/maillist1.mbox
exist? (probably not - I think if it did, Mailman would create a new
/var/lib/mailman/archives/private/maillist1.mbox/maillist1.mbox file).

Figure out what happened to the missing files and restore them. Then you
can run Mailman's 'bin/unshunt' to add the missing messages to the
archive, but first look at Mailman's shunt queue (bin/show_qfiles will
help) to make sure everything there is wanted.

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