FAQ
I was doing some edits of the archive template files on my installation of
Mailman 2.1.5

Long story short, I ran into some write permission problems when trying to
upload my edited versions and in a fit of bone-headedness, I screwed up a
bunch of permissions by over zealously using the -R option of chmod...

This broke everything. I couldn't access the admin pages, the archives or
post to my lists. I panicked.

Then I tried to do a rebuild/reinstall from source. No luck there, and then
I remembered the check_perms script and used that to fix the damage I did.
After a restart of the mailman daemon using mailmanctl, I could now post to
the list and get to the admin pages.

So far so good. It's not a complete disaster anymore, just a minor one.

But now the archive simply will not work. Nothing gets added to the archive
mbox file when I post to the list nor can I access the archive web pages
(and yes, I double-checked the list archive settings and made sure the
archive files are all still there). I am using the built-in archiver, it
seems to not be able to find the archive files because all I get when I try
to view the archive is a page that says "Private archive file not found".

I've looked at everything I can think of at this point and can't find a
solution. What am I missing? Is there an obscure setting somewhere or a
database file or something out there that needs to be told what lists are
on the server?

Help will be much appreciated.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Search Discussions

  • Mark Sapiro at Feb 25, 2006 at 1:22 am

    Dragon wrote:
    But now the archive simply will not work. Nothing gets added to the archive
    mbox file when I post to the list nor can I access the archive web pages
    (and yes, I double-checked the list archive settings and made sure the
    archive files are all still there). I am using the built-in archiver, it
    seems to not be able to find the archive files because all I get when I try
    to view the archive is a page that says "Private archive file not found".

    I've looked at everything I can think of at this point and can't find a
    solution. What am I missing? Is there an obscure setting somewhere or a
    database file or something out there that needs to be told what lists are
    on the server?
    No. The lists are the subdirectories of the lists/ directory - no other
    special stuff.

    Check Mailman's error log. If there are problems with archiving posts,
    there should be shunted messages and tracebacks in the log with more
    detailed information.

    Also check your web server access and error logs for more detail.

    Here's an example what permissions in your archives structure should
    look like

    [msapiro at msapiro ...f/test-mailman]$ ll -a archives
    total 0
    drwxrwsr-x+ 4 Owner None 0 Dec 19 21:41 .
    drwxrwsr-x+ 20 Owner None 0 Feb 24 10:43 ..
    drwxrws--x+ 10 Owner None 0 Feb 22 17:57 private
    drwxrwsr-x+ 2 Owner None 0 Jan 19 20:27 public
    [msapiro at msapiro ...f/test-mailman]$ ll archives/private/
    total 0
    drwxrwsr-x+ 8 Owner None 0 Feb 22 17:57 list1
    drwxrwsr-x+ 2 Owner None 0 Jan 31 19:36 list1.mbox
    [msapiro at msapiro ...f/test-mailman]$ ll archives/private/list1
    total 45
    drwxrwsr-x+ 2 Owner None 0 Feb 22 17:57 2005-December
    -rw-rw-r-- 1 Owner None 1007 Feb 22 17:57 2005-December.txt
    drwxrwsr-x+ 2 Owner None 0 Feb 22 17:57 2005-July
    -rw-rw-r-- 1 Owner None 380 Feb 22 17:57 2005-July.txt
    drwxrwsr-x+ 2 Owner None 0 Feb 22 17:57 2006-February
    -rw-rw-r-- 1 Owner None 9723 Feb 22 17:57 2006-February.txt
    drwxrwsr-x+ 2 Owner None 0 Feb 22 17:57 2006-January
    -rw-rw-r-- 1 Owner None 19067 Feb 22 17:57 2006-January.txt
    drwxrwsr-x+ 6 Owner None 0 Feb 22 17:57 attachments
    drwxrws---+ 2 Owner None 0 Feb 22 17:57 database
    -rw-rw-r-- 1 Owner None 2369 Feb 22 17:57 index.html
    -rw-rw---- 1 Owner None 920 Feb 22 17:57 pipermail.pck
    [msapiro at msapiro ...f/test-mailman]$ ll archives/private/list1.mbox/
    total 328
    -rw-rw-r-- 1 Owner None 334064 Feb 22 17:56 list1.mbox
    [msapiro at msapiro ...f/test-mailman]$

    Note that 'Owner' on your system is probably 'root' or the 'mailman'
    user or a combination depending on how mailman was installed. 'None'
    above is the 'mailman group and MUST be that group on you system.

    --
    Mark Sapiro <msapiro at value.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedFeb 24, '06 at 11:46p
activeFeb 25, '06 at 1:22a
posts2
users2
websitelist.org

2 users in discussion

Dragon: 1 post Mark Sapiro: 1 post

People

Translate

site design / logo © 2022 Grokbase