[EMAIL PROTECTED] wrote: >I am wanting to rebuild an archive but when I issue the following >command either as mailman or root: > >bin/arch --wipe mylist >/usr/local/mailman/archives/private/mylist.mbox/mylist.mbox > >I get the following error: > >Traceback (most recent call last): > File "./arch", line 200, in ? > main() > File "./arch", line 177, in main > shutil.rmtree(mlist.archive_dir()) > File "/usr/lib/python2.4/shutil.py", line 155, in rmtree > onerror(os.listdir, path, sys.exc_info()) > File "/usr/lib/python2.4/shutil.py", line 153, in rmtree > names = os.listdir(path) >OSError: [Errno 2] No such file or directory: >'/usr/local/mailman/archives/private/mylist' > >I believe this one archive has not been working for a very long time. >The permissions are: >drwxrwsr-x 2 mailman mailman 4096 Nov 19 12:11 . >drwxrws--x 200 mailman mailman 12288 Nov 19 12:14 .. >-rw-rw-r-- 1 mailman mailman 502357 Sep 1 04:00 mylist
/usr/local/mailman/archives/private/mylist should be a directory, not a file. First make sure that /usr/local/mailman/archives/private/mylist.mbox/mylist.mbox looks like it actually contains all the archived messages. Then look at /usr/local/mailman/archives/private/mylist and see what it is. If you think you might want to keep it, mv /usr/local/mailman/archives/private/mylist somewhere/else otherwise, just rm /usr/local/mailman/archives/private/mylist Then do bin/arch mylist without the --wipe option. You also don't need to specify /usr/local/mailman/archives/private/mylist.mbox/mylist.mbox as the input as that is the defauly for 'mylist'. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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