
I just moved my mailman install to another machine it has the same machine name and the lists are working but the archiving is not. the archives/private folder is empty, and each email that is sent produces an error in the log.
Nov 26 12:07:33 2009 (2374) Archive file access failure:
/usr/local/mailman/archives/private/mto-scheduled.mbox/mto-scheduled.mbox [Errno 2] No such file or directory: '/usr/local/mailman/archives/private/mto-scheduled.mbox/mto-scheduled.mbox' Nov 26 12:07:33 2009 (2374) Uncaught runner exception: [Errno 2] No such file or directory: '/usr/local/mailman/archives/private/mto-scheduled.mbox/mto-scheduled.mbox'
How can I fix this? I've tried turning off the archives and back on but nothing works. I'm not worried about the old archive files I just want it to start archiving from this point forward.
Regards,

Jason L wrote:
Evidently, you didn't move anything from archives/private/ on the old server, and you moved the lists/LISTNAME/config.pck files. This is the problem. Creating a new list also creates the directories archives/private/LISTNAME/ and archives/private/LISTNAME.mbox/ and the file archives/private/LISTNAME/index.html with the empty archive template.
The fact that you have no /usr/local/mailman/archives/private/mto-scheduled.mbox/ directory is responsible for the above error. create it with mode 2775 and Mailman's group. That will get past the above error. Im not sure if the missing archives/private/LISTNAME/ directory will cause a problem or not, but to be on the safe side, you can create it too.
Or you can just move the archives/private/LISTNAME.mbox/LISTNAME.mbox files from the old server and run bin/arch LISTNAME to build the pipermail archive.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Jason L wrote:
Evidently, you didn't move anything from archives/private/ on the old server, and you moved the lists/LISTNAME/config.pck files. This is the problem. Creating a new list also creates the directories archives/private/LISTNAME/ and archives/private/LISTNAME.mbox/ and the file archives/private/LISTNAME/index.html with the empty archive template.
The fact that you have no /usr/local/mailman/archives/private/mto-scheduled.mbox/ directory is responsible for the above error. create it with mode 2775 and Mailman's group. That will get past the above error. Im not sure if the missing archives/private/LISTNAME/ directory will cause a problem or not, but to be on the safe side, you can create it too.
Or you can just move the archives/private/LISTNAME.mbox/LISTNAME.mbox files from the old server and run bin/arch LISTNAME to build the pipermail archive.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Jason L
-
Mark Sapiro