FAQ
I've enabled archives on a mailing list with the following:
archive = yes
archive_private = public
archive_volume_frequency = Monthly

And the /pipermail/ URL points to /usr/local/mailman/archives/public
(httpd.conf stuff):

ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/"
Alias /pipermail/ /usr/local/mailman/archives/public/

<Directory "/usr/local/mailman/cgi-bin/">
AllowOverride All
Options Indexes
Order allow,deny
Allow from all
</Directory>

<Directory /usr/local/mailman/archives/public>
Options FollowSymLinks
</Directory>

However, in /usr/local/mailman/archives/public there's no directories
and in the browser I get a URL not found error. I've posted a couple
messages to the list and they're being delivered to members so how/when
are the archives created?

Darren Young
Systems & Security Architect
Computing Services
University of Chicago
Booth School of Business
5807 South Woodlawn Avenue
Chicago, IL 60637
Voice 773.702.0331 | Fax 773.702.0233

Search Discussions

  • Mark Sapiro at Jan 20, 2010 at 7:56 pm

    Young, Darren wrote:
    I've enabled archives on a mailing list with the following:
    archive = yes
    archive_private = public
    archive_volume_frequency = Monthly [...]
    However, in /usr/local/mailman/archives/public there's no directories
    and in the browser I get a URL not found error. I've posted a couple
    messages to the list and they're being delivered to members so how/when
    are the archives created?

    There are no archives in /usr/local/mailman/archives/public. The
    archives are in /usr/local/mailman/archives/private whether or not
    they are public. For a public archive, there is also a symlink from
    /usr/local/mailman/archives/public/list to
    /usr/local/mailman/archives/private/list.

    The initial 'empty' archive (just the
    /usr/local/mailman/archives/private/list/index.html file and the
    /usr/local/mailman/archives/private/list.mbox/ directory) is created
    when the list is created whether or not archiving is enabled.

    There is probably some error in archiving resulting in log entries and
    shunted messages destined for the archive. What's in Mailman's error
    log?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 20, 2010 at 8:01 pm
    The only thing in mailman/archive/private/perl-ad-manager-users is the
    index.html. Not much in the logs:

    [root at bushlms01 logs]# grep perl-ad *
    post:Jan 20 12:42:44 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX78,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD766 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:55:51 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX92,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD790 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 13:48:12 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeY38,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD840 at GSBHEX2V.gsb.uchica
    go.edu>, success
    smtp:Jan 20 12:26:23 2010 (2095)
    <mailman.0.1264011983.15826.perl-ad-manager-users at lists.chicagobooth.edu
    smtp for 1 recips, completed in 0.056 seconds
    smtp:Jan 20 12:29:16 2010 (2095)
    <mailman.0.1264012155.15904.perl-ad-manager-users at lists.chicagobooth.edu
    smtp for 1 recips, completed in 0.086 seconds
    smtp:Jan 20 12:29:33 2010 (2095)
    <mailman.0.1264012172.15909.perl-ad-manager-users at lists.chicagobooth.edu
    smtp for 1 recips, completed in 0.064 seconds
    smtp:Jan 20 12:29:49 2010 (2095)
    <mailman.0.1264012188.15915.perl-ad-manager-users at lists.chicagobooth.edu
    smtp for 1 recips, completed in 0.063 seconds
    smtp:Jan 20 13:04:16 2010 (2095)
    <mailman.0.1264014254.21806.perl-ad-manager-users at lists.chicagobooth.edu
    smtp for 1 recips, completed in 0.711 seconds
    smtp:Jan 20 13:05:17 2010 (2095)
    <mailman.0.1264014315.2092.perl-ad-manager-users at lists.chicagobooth.edu>
    smtp for 1 recips, completed in 0.070 seconds
    subscribe:Jan 20 12:27:37 2010 (15857) perl-ad-manager-users: new
    "darren.young at chicagobooth.edu" <>, admin mass sub
    subscribe:Jan 20 12:29:15 2010 (15904) perl-ad-manager-users: deleted
    darren.young at chicagobooth.edu; member mgt page
    subscribe:Jan 20 12:29:32 2010 (15909) perl-ad-manager-users: pending
    Darren Young <darren.young at chicagobooth.edu> 128.135.211.176
    subscribe:Jan 20 12:29:48 2010 (15915) perl-ad-manager-users: new
    "darren.young at chicagobooth.edu" <Darren Young>, via web confirmation
    subscribe:Jan 20 13:04:14 2010 (21806) perl-ad-manager-users: pending
    Dan <dcutler at intelimedix.com> 198.31.192.252
    subscribe:Jan 20 13:05:15 2010 (2092) perl-ad-manager-users: new
    "dcutler at intelimedix.com" <Dan>, via email confirmation
    subscribe:Jan 20 13:47:30 2010 (28202) perl-ad-manager-users: new
    "perl-ad-manager-users+garchive-16579 at googlegroups.com" <>, admin mass
    sub

    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, January 20, 2010 1:57 PM
    To: Young, Darren; mailman-users at python.org
    Subject: Re: [Mailman-Users] Archives

    Young, Darren wrote:
    I've enabled archives on a mailing list with the following:
    archive = yes
    archive_private = public
    archive_volume_frequency = Monthly [...]
    However, in /usr/local/mailman/archives/public there's no directories
    and in the browser I get a URL not found error. I've posted a couple
    messages to the list and they're being delivered to members so how/when
    are the archives created?

    There are no archives in /usr/local/mailman/archives/public. The
    archives are in /usr/local/mailman/archives/private whether or not
    they are public. For a public archive, there is also a symlink from
    /usr/local/mailman/archives/public/list to
    /usr/local/mailman/archives/private/list.

    The initial 'empty' archive (just the
    /usr/local/mailman/archives/private/list/index.html file and the
    /usr/local/mailman/archives/private/list.mbox/ directory) is created
    when the list is created whether or not archiving is enabled.

    There is probably some error in archiving resulting in log entries and
    shunted messages destined for the archive. What's in Mailman's error
    log?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 20, 2010 at 9:13 pm

    Young, Darren wrote:
    The only thing in mailman/archive/private/perl-ad-manager-users is the
    index.html. Not much in the logs:

    [root at bushlms01 logs]# grep perl-ad *

    This string won't appear in the error log entries.

    What's in Mailman's error log with timestamps close to these post log
    entries?
    post:Jan 20 12:42:44 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX78,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD766 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:55:51 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX92,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD790 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 13:48:12 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeY38,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD840 at GSBHEX2V.gsb.uchica
    go.edu>, success
    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 20, 2010 at 9:18 pm
    Not much, close in all of them:

    [root at bushlms01 logs]# grep 'Jan 20 12:4' *

    bounce:Jan 20 12:41:33 2009 (1416) <BounceRunner at 144084748>
    processing 1 queued bounces
    error:Jan 20 12:47:42 2009 (9809) admin.py access for non-existent list:
    daily-job-postings
    error:Jan 20 12:47:50 2009 (9813) admin.py access for non-existent list:
    daily-job-postings
    post:Jan 20 12:40:00 2009 (1420) post to copycenter from
    andrea.mcclam at chicagogsb.edu, sizeT53,
    message-id=<6D5BE1496F34214587ED457EB6B3C70502F2C129 at GSBHEX1V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:40:12 2009 (1420) post to registration_err from
    prodshop at mingming.uchicago.edu, sizeA93,
    message-id=<20090120184002.GA29196 at mingming.uchicago.edu>, success
    post:Jan 20 12:40:14 2009 (1420) post to pif_err from
    prodshop at mingming.uchicago.edu, size707,
    message-id=<20090120184002.GA29198 at mingming.uchicago.edu>, success
    post:Jan 20 12:40:17 2009 (1420) post to address_err from
    prodshop at mingming.uchicago.edu, size457,
    message-id=<20090120184001.GA29256 at mingming.uchicago.edu>, success
    post:Jan 20 12:40:26 2009 (1420) post to registration_err from
    prodshop at mingming.uchicago.edu, size4498,
    message-id=<20090120184002.GA29406 at mingming.uchicago.edu>, success
    post:Jan 20 12:40:40 2009 (1420) post to copycenter from
    andrea.mcclam at chicagogsb.edu, size3295,
    message-id=<6D5BE1496F34214587ED457EB6B3C70502F2C12C at GSBHEX1V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:42:44 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX78,
    message-id=<07A371D457B501478C1DB3C3DE8372D7055DD766 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:48:38 2010 (2095) post to sinconf from
    ezine at learningcenters.com, size039,
    message-id=<e9a63bbcc2f2d8a822b5d5b2001810f5 at learningcenters.com>,
    success
    smtp:Jan 20 12:40:00 2009 (1420)
    <6D5BE1496F34214587ED457EB6B3C70502F2C129 at GSBHEX1V.gsb.uchicago.edu>
    smtp for 5 recips, completed in 0.039 seconds
    smtp:Jan 20 12:40:12 2009 (1420)
    <20090120184002.GA29196 at mingming.uchicago.edu> smtp for 12 recips,
    completed in 0.353 seconds
    smtp:Jan 20 12:40:14 2009 (1420)
    <20090120184002.GA29198 at mingming.uchicago.edu> smtp for 14 recips,
    completed in 0.053 seconds
    smtp:Jan 20 12:40:17 2009 (1420)
    <20090120184001.GA29256 at mingming.uchicago.edu> smtp for 13 recips,
    completed in 0.054 seconds
    smtp:Jan 20 12:40:26 2009 (1420)
    <20090120184002.GA29406 at mingming.uchicago.edu> smtp for 12 recips,
    completed in 0.044 seconds
    smtp:Jan 20 12:40:40 2009 (1420)
    <6D5BE1496F34214587ED457EB6B3C70502F2C12C at GSBHEX1V.gsb.uchicago.edu>
    smtp for 5 recips, completed in 0.060 seconds
    smtp:Jan 20 12:46:10 2009 (1420)
    <mailman.0.1232477169.9378.new-searchfirm-listings at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.039 seconds
    smtp:Jan 20 12:48:54 2009 (1420)
    <mailman.7387.1232477332.1418.fystu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.415 seconds
    smtp:Jan 20 12:48:54 2009 (1420)
    <mailman.7388.1232477332.1418.fystu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.036 seconds
    smtp:Jan 20 12:48:55 2009 (1420)
    <mailman.7389.1232477334.1418.ptstu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.038 seconds
    smtp:Jan 20 12:48:55 2009 (1420)
    <mailman.7390.1232477334.1418.ptstu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.038 seconds
    smtp:Jan 20 12:48:59 2009 (1420)
    <mailman.7391.1232477337.1418.phdstu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.032 seconds
    smtp:Jan 20 12:48:59 2009 (1420)
    <mailman.7392.1232477337.1418.phdstu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.041 seconds
    smtp:Jan 20 12:49:00 2009 (1420)
    <mailman.7388.1232477332.1418.fystu-grp-events at lists.chicagogsb.edu>
    smtp for 8 recips, completed in 0.040 seconds
    smtp:Jan 20 12:49:00 2009 (1420)
    <mailman.7390.1232477334.1418.ptstu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.042 seconds
    smtp:Jan 20 12:49:00 2009 (1420)
    <mailman.7392.1232477337.1418.phdstu-grp-events at lists.chicagogsb.edu>
    smtp for 2 recips, completed in 0.038 seconds
    smtp:Jan 20 12:49:01 2009 (1420)
    <mailman.7393.1232477339.1418.systu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.029 seconds
    smtp:Jan 20 12:49:01 2009 (1420)
    <mailman.7394.1232477339.1418.systu-grp-events at lists.chicagogsb.edu>
    smtp for 1 recips, completed in 0.035 seconds
    smtp:Jan 20 12:49:03 2009 (1420)
    <mailman.7394.1232477339.1418.systu-grp-events at lists.chicagogsb.edu>
    smtp for 8 recips, completed in 0.048 seconds
    smtp:Jan 20 12:42:44 2010 (2095)
    <07A371D457B501478C1DB3C3DE8372D7055DD766 at GSBHEX2V.gsb.uchicago.edu>
    smtp for 1 recips, completed in 0.112 seconds
    smtp:Jan 20 12:48:38 2010 (2095)
    <e9a63bbcc2f2d8a822b5d5b2001810f5 at learningcenters.com> smtp for 2
    recips, completed in 0.116 seconds
    subscribe:Jan 20 12:46:09 2009 (9378) new-searchfirm-listings: pending
    ybu at chicagogsb.edu 171.159.194.10
    vette:Jan 20 12:47:03 2009 (9390) new-searchfirm-listings: held
    subscription request from ybu at chicagogsb.edu
    vette:Jan 20 12:48:52 2009 (1418) Fystu-grp-events post from
    steven.markovich at chicagogsb.edu held,
    message-id=<F43A507BAE6195429A4033B630CCE977DC2F69 at GSBHEX1V.gsb.uchicago
    .edu>: Post by non-member to a members-only list
    vette:Jan 20 12:48:54 2009 (1418) Ptstu-grp-events post from
    steven.markovich at chicagogsb.edu held,
    message-id=<F43A507BAE6195429A4033B630CCE977DC2F69 at GSBHEX1V.gsb.uchicago
    .edu>: Post by non-member to a members-only list
    vette:Jan 20 12:48:57 2009 (1418) Phdstu-grp-events post from
    steven.markovich at chicagogsb.edu held,
    message-id=<F43A507BAE6195429A4033B630CCE977DC2F69 at GSBHEX1V.gsb.uchicago
    .edu>: Post by non-member to a members-only list
    vette:Jan 20 12:48:59 2009 (1418) Systu-grp-events post from
    steven.markovich at chicagogsb.edu held,
    message-id=<F43A507BAE6195429A4033B630CCE977DC2F69 at GSBHEX1V.gsb.uchicago
    .edu>: Post by non-member to a members-only list

    The only one that sticks out but was earlier:

    Jan 20 12:47:42 2009 (9809) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:47:50 2009 (9813) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:34:52 2010 qrunner(7726): Traceback (most recent call last):
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 270, in ?
    Jan 20 12:34:52 2010 qrunner(7726): main()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 230, in main
    Jan 20 12:34:52 2010 qrunner(7726): qrunner.run()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/Runner.py", line 87, in run
    Jan 20 12:34:52 2010 qrunner(7726): self._cleanup()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 220, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): BounceMixin._cleanup(self)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 132, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): self._register_bounces()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 120, in
    _register_bounces
    Jan 20 12:34:52 2010 qrunner(7726): mlist.registerBounce(addr, msg,
    dayÚy)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Bouncer.py", line 131, in registerBounce
    Jan 20 12:34:52 2010 qrunner(7726): time.strftime('%d-%b-%Y', day +
    (0,)*6))
    Jan 20 12:34:52 2010 qrunner(7726): ValueError : day of year out of
    range
    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, January 20, 2010 3:14 PM
    To: Young, Darren; mailman-users at python.org
    Subject: RE: [Mailman-Users] Archives

    Young, Darren wrote:
    The only thing in mailman/archive/private/perl-ad-manager-users is
    the
    index.html. Not much in the logs:

    [root at bushlms01 logs]# grep perl-ad *

    This string won't appear in the error log entries.

    What's in Mailman's error log with timestamps close to these post log
    entries?
    post:Jan 20 12:42:44 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX78,
    message-
    id=<07A371D457B501478C1DB3C3DE8372D7055DD766 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 12:55:51 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeX92,
    message-
    id=<07A371D457B501478C1DB3C3DE8372D7055DD790 at GSBHEX2V.gsb.uchica
    go.edu>, success
    post:Jan 20 13:48:12 2010 (2095) post to perl-ad-manager-users from
    darren.young at chicagobooth.edu, sizeY38,
    message-
    id=<07A371D457B501478C1DB3C3DE8372D7055DD840 at GSBHEX2V.gsb.uchica
    go.edu>, success
    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 20, 2010 at 10:45 pm

    Young, Darren wrote:

    Not much, close in all of them:

    As I said in another recent reply - "If I had a nickel for every time I
    didn't realize the obvious ..." :)

    Is ArchRunner running? What's in /usr/local/mailman/qfiles/archive?

    The only one that sticks out but was earlier:

    Jan 20 12:47:42 2009 (9809) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:47:50 2009 (9813) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:34:52 2010 qrunner(7726): Traceback (most recent call last):
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 270, in ?
    Jan 20 12:34:52 2010 qrunner(7726): main()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 230, in main
    Jan 20 12:34:52 2010 qrunner(7726): qrunner.run()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/Runner.py", line 87, in run
    Jan 20 12:34:52 2010 qrunner(7726): self._cleanup()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 220, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): BounceMixin._cleanup(self)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 132, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): self._register_bounces()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 120, in
    _register_bounces
    Jan 20 12:34:52 2010 qrunner(7726): mlist.registerBounce(addr, msg,
    day=day)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Bouncer.py", line 131, in registerBounce
    Jan 20 12:34:52 2010 qrunner(7726): time.strftime('%d-%b-%Y', day +
    (0,)*6))
    Jan 20 12:34:52 2010 qrunner(7726): ValueError : day of year out of
    range
    This is an incompatibility between Mailman 2.1.5 and older and Python
    2.4.x and newer. If you can't upgrade Mailman, the attached
    Bouncer.py.patch will fix it.

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

    -------------- next part --------------
    An embedded and charset-unspecified text was scrubbed...
    Name: Bouncer.py.patch
    URL: <http://mail.python.org/pipermail/mailman-users/attachments/20100120/184778a8/attachment.asc>
  • Young, Darren at Jan 21, 2010 at 11:59 am
    Yea, ArchRunner is running:

    [root at bushlms01 archive]# ps -eaf | grep -i arch
    mailman 2090 2077 0 Jan20 ? 00:00:00 /usr/bin/python
    /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s

    /usr/local/mailman/qfiles/archive is empty:

    [root at bushlms01 archive]# pwd
    /usr/local/mailman/qfiles/archive

    [root at bushlms01 archive]# ls -l
    total 0

    I'll put in to have Mailman brought up to 2.1.x during a maintenance
    window. 2.1.13 appears to be the latest in the 2.1.x series, would that
    be the one to go with now?

    Any other thoughts? Python version issues with archiving?
    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Wednesday, January 20, 2010 4:46 PM
    To: mailman-users at python.org; Young, Darren
    Subject: Re: [Mailman-Users] Archives

    Young, Darren wrote:
    Not much, close in all of them:

    As I said in another recent reply - "If I had a nickel for every time I
    didn't realize the obvious ..." :)

    Is ArchRunner running? What's in /usr/local/mailman/qfiles/archive?

    The only one that sticks out but was earlier:

    Jan 20 12:47:42 2009 (9809) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:47:50 2009 (9813) admin.py access for non-existent list:
    daily-job-postings
    Jan 20 12:34:52 2010 qrunner(7726): Traceback (most recent call last):
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 270, in ?
    Jan 20 12:34:52 2010 qrunner(7726): main()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/bin/qrunner", line 230, in main
    Jan 20 12:34:52 2010 qrunner(7726): qrunner.run()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/Runner.py", line 87, in run
    Jan 20 12:34:52 2010 qrunner(7726): self._cleanup()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 220, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): BounceMixin._cleanup(self)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 132, in
    _cleanup
    Jan 20 12:34:52 2010 qrunner(7726): self._register_bounces()
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Queue/BounceRunner.py", line 120, in
    _register_bounces
    Jan 20 12:34:52 2010 qrunner(7726): mlist.registerBounce(addr, msg,
    day=day)
    Jan 20 12:34:52 2010 qrunner(7726): File
    "/usr/local/mailman/Mailman/Bouncer.py", line 131, in registerBounce
    Jan 20 12:34:52 2010 qrunner(7726): time.strftime('%d-%b-%Y', day +
    (0,)*6))
    Jan 20 12:34:52 2010 qrunner(7726): ValueError : day of year out of
    range
    This is an incompatibility between Mailman 2.1.5 and older and Python
    2.4.x and newer. If you can't upgrade Mailman, the attached
    Bouncer.py.patch will fix it.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Mark Sapiro at Jan 21, 2010 at 3:10 pm

    Young, Darren wrote:
    Yea, ArchRunner is running:

    [root at bushlms01 archive]# ps -eaf | grep -i arch
    mailman 2090 2077 0 Jan20 ? 00:00:00 /usr/bin/python
    /usr/local/mailman/bin/qrunner --runner=ArchRunner:0:1 -s

    OK

    /usr/local/mailman/qfiles/archive is empty:

    [root at bushlms01 archive]# pwd
    /usr/local/mailman/qfiles/archive

    [root at bushlms01 archive]# ls -l
    total 0

    What is the timestamp if you do "ls -ld" here?

    I'll put in to have Mailman brought up to 2.1.x during a maintenance
    window. 2.1.13 appears to be the latest in the 2.1.x series, would that
    be the one to go with now?

    Yes. 2.1.13 is the version to go with. It requires at least Python
    2.4.x. There are some potential issues. If your current Mailman
    version is 2.1.5 (or later), the migration is no problem at all, but
    there is a potential compatibility issue with some Python 2.4.x
    versions and possibly Python 2.5, but not 2.5.x. See the March 2009
    update in the FAQ at <http://wiki.list.org/x/pYA9>. If your current
    Mailman is older than 2.1.5, see the UPGRADING document in the 2.1.13
    tarball or at
    <http://bazaar.launchpad.net/%7Emailman-coders/mailman/2.1/annotate/head%3A/UPGRADING>

    Any other thoughts? Python version issues with archiving?

    I don't think any of this has anything to do with your archiving
    problem. To summarize,
    - for the list Archiving Options -> archive is set to Yes (have you
    verified this?)
    - a post or posts were sent to the list and delivered to the list
    members with archive set to Yes
    - ArchRunner is running
    - there's nothing in qfiles/archive
    - there are no relevant errors in logs/error

    I can't understand how all of the above can be true.

    Are there other lists in this installation with archives? If so, does
    archiving work for them?

    One other thought. Is it possible that your test posts contain an
    X-No-Archive: header or an "X-Archive: No" header?

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 21, 2010 at 3:14 pm
    What is the timestamp if you do "ls -ld" here?
    [root at bushlms01 archive]# pwd
    /usr/local/mailman/qfiles/archive
    [root at bushlms01 archive]# ls -ld
    drwxrws--- 2 mailman mailman 4096 Jan 20 16:04 .
    I don't think any of this has anything to do with your archiving
    problem. To summarize,
    - for the list Archiving Options -> archive is set to Yes (have you
    verified this?)
    Yes, it's there
    - a post or posts were sent to the list and delivered to the list
    members with archive set to Yes Yep.
    - ArchRunner is running Yep.
    - there's nothing in qfiles/archive Nope.
    - there are no relevant errors in logs/error Nope.
    I can't understand how all of the above can be true.
    Me neither.
    Are there other lists in this installation with archives? If so, does
    archiving work for them?
    No, we've never had archiving at all on any, just starting to try it now
    One other thought. Is it possible that your test posts contain an
    X-No-Archive: header or an "X-Archive: No" header?
    I don't believe so but I'll check the headers to be sure.
  • Mark Sapiro at Jan 21, 2010 at 4:04 pm

    Young, Darren wrote:

    What is the timestamp if you do "ls -ld" here?
    [root at bushlms01 archive]# pwd
    /usr/local/mailman/qfiles/archive
    [root at bushlms01 archive]# ls -ld
    drwxrws--- 2 mailman mailman 4096 Jan 20 16:04 .

    So your messages are reaching the archive queue (because it is being
    updated through Jan 20 16:04) and ArchRunner is processing the
    messages (because the queue is empty)

    What does

    ls -lAR /usr/local/mailman/archives/

    show?


    [...]
    One other thought. Is it possible that your test posts contain an
    X-No-Archive: header or an "X-Archive: No" header?
    I don't believe so but I'll check the headers to be sure.

    Since it appears posts are reaching the archive queue, this wouldn't be
    the issue.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 22, 2010 at 4:31 pm
    There's a lot in there so I attached it. Not sure if this list allows
    attachments but I'll try here anyways.
    -----Original Message-----
    From: Mark Sapiro [mailto:mark at msapiro.net]
    Sent: Thursday, January 21, 2010 10:04 AM
    To: Young, Darren; mailman-users at python.org
    Subject: RE: [Mailman-Users] Archives

    Young, Darren wrote:
    What is the timestamp if you do "ls -ld" here?
    [root at bushlms01 archive]# pwd
    /usr/local/mailman/qfiles/archive
    [root at bushlms01 archive]# ls -ld
    drwxrws--- 2 mailman mailman 4096 Jan 20 16:04 .

    So your messages are reaching the archive queue (because it is being
    updated through Jan 20 16:04) and ArchRunner is processing the
    messages (because the queue is empty)

    What does

    ls -lAR /usr/local/mailman/archives/

    show?


    [...]
    One other thought. Is it possible that your test posts contain an
    X-No-Archive: header or an "X-Archive: No" header?
    I don't believe so but I'll check the headers to be sure.

    Since it appears posts are reaching the archive queue, this wouldn't be
    the issue.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
    -------------- next part --------------
    Excerpted by M Sapiro

    /usr/local/mailman/archives/:
    total 36
    drwxrws--x 813 mailman mailman 32768 Jan 21 16:01 private
    drwxrwsr-x 2 mailman mailman 4096 Jan 20 12:55 public

    /usr/local/mailman/archives/private:
    total 3256
    drwxrwsr-x 2 root mailman 4096 Jan 7 15:11 3000001_win2010
    drwxrwsr-x 2 root mailman 4096 Nov 24 10:01 3000001_win2010.mbox
    [...]
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-users
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-users.mbox
    [...]

    /usr/local/mailman/archives/private/3000001_win2010:
    total 0

    /usr/local/mailman/archives/private/3000001_win2010.mbox:
    total 0

    [...]

    /usr/local/mailman/archives/private/career-wknd:
    total 4
    -rw-rw-r-- 1 root mailman 500 Jan 20 12:25 index.html

    /usr/local/mailman/archives/private/career-wknd.mbox:
    total 0

    [...]

    /usr/local/mailman/archives/private/mailman:
    total 8
    drwxrwsr-x 2 mailman mailman 4096 Jan 7 15:11 2009-June
    drwxrws--- 2 mailman mailman 4096 Jan 7 15:11 database

    /usr/local/mailman/archives/private/mailman/2009-June:
    total 0

    /usr/local/mailman/archives/private/mailman/database:
    total 0

    /usr/local/mailman/archives/private/mailman.mbox:
    total 0

    [...]

    /usr/local/mailman/archives/private/perl-ad-manager-users:
    total 4
    -rw-rw-r-- 1 root mailman 531 Jan 20 12:26 index.html

    /usr/local/mailman/archives/private/perl-ad-manager-users.mbox:
    total 0

    [...]

    /usr/local/mailman/archives/public:
    total 0
  • Mark Sapiro at Jan 22, 2010 at 5:23 pm

    Young, Darren wrote:
    There's a lot in there so I attached it. Not sure if this list allows
    attachments but I'll try here anyways.

    The text/plain attachment was allowed, but the message was too big. I
    trimmed the attachment leaving only a few relevant parts. See my
    comments inline and at the end.


    /usr/local/mailman/archives/:
    total 36
    drwxrws--x 813 mailman mailman 32768 Jan 21 16:01 private
    drwxrwsr-x 2 mailman mailman 4096 Jan 20 12:55 public

    /usr/local/mailman/archives/private:
    total 3256
    drwxrwsr-x 2 root mailman 4096 Jan 7 15:11 3000001_win2010
    drwxrwsr-x 2 root mailman 4096 Nov 24 10:01 3000001_win2010.mbox

    There were many lists as above.

    [...]
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-users
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-users.mbox

    And I think this is the list of interest.

    [...]

    /usr/local/mailman/archives/private/3000001_win2010:
    total 0

    /usr/local/mailman/archives/private/3000001_win2010.mbox:
    total 0

    Most lists are like this with no files.

    [...]

    /usr/local/mailman/archives/private/career-wknd:
    total 4
    -rw-rw-r-- 1 root mailman 500 Jan 20 12:25 index.html

    /usr/local/mailman/archives/private/career-wknd.mbox:
    total 0

    But a few like the above have the default index.html

    [...]

    /usr/local/mailman/archives/private/mailman:
    total 8
    drwxrwsr-x 2 mailman mailman 4096 Jan 7 15:11 2009-June
    drwxrws--- 2 mailman mailman 4096 Jan 7 15:11 database

    /usr/local/mailman/archives/private/mailman/2009-June:
    total 0

    /usr/local/mailman/archives/private/mailman/database:
    total 0

    /usr/local/mailman/archives/private/mailman.mbox:
    total 0

    And here, it liiks like at one time the mailman list actually had an
    archived message, but it's gone.

    [...]

    /usr/local/mailman/archives/private/perl-ad-manager-users:
    total 4
    -rw-rw-r-- 1 root mailman 531 Jan 20 12:26 index.html

    /usr/local/mailman/archives/private/perl-ad-manager-users.mbox:
    total 0
    And our list has the default index.html

    [...]

    /usr/local/mailman/archives/public:
    total 0

    And there are no symlinks in archives/public.


    Here's what I see - most lists do not have even the default 'empty'
    index.html. For those few that do, the list's all seem to have been
    created on or after Jan 20. Thus, I think issue # 1 is there is some
    process that runs periodically (manually or via cron) that removes all
    files or all files older than x from the archives/private/ directory.

    Issue #2 is once again an obvious thing to have checked, but I think
    archiving must be disabled in mm_cfg.py with

    ARCHIVE_TO_MBOX = -1

    This is the only thing that explains the lack of symlink(s) in
    archives/public for lists with public archives.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 22, 2010 at 5:35 pm

    The text/plain attachment was allowed, but the message was too big. I
    trimmed the attachment leaving only a few relevant parts. See my
    comments inline and at the end.
    I had a feeling it would be one or the other.
    [...]
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-users
    drwxrwsr-x 2 root mailman 4096 Jan 20 12:26 perl-ad-manager-
    users.mbox


    And I think this is the list of interest.
    Yes, that's the one.
    Here's what I see - most lists do not have even the default 'empty'
    index.html. For those few that do, the list's all seem to have been
    created on or after Jan 20. Thus, I think issue # 1 is there is some
    process that runs periodically (manually or via cron) that removes all
    files or all files older than x from the archives/private/ directory.
    We have an automated (daily) process that generates class mailing lists,
    I'm guessing on 1/20 a batch of them came through.
    Issue #2 is once again an obvious thing to have checked, but I think
    archiving must be disabled in mm_cfg.py with

    ARCHIVE_TO_MBOX = -1
    Nothing set in mm_cfg.py for that but it is set to -1 in Defaults.py. I
    just set it to 0, didn't even think about looking in there for it,
    sorry, should grepped -i 'archive' in the tree.

    Think I'm going to give up on this for them moment and use a Google
    Group to archive the list. Thanks for all the help.
  • Mark Sapiro at Jan 22, 2010 at 5:48 pm

    Young, Darren wrote:

    Issue #2 is once again an obvious thing to have checked, but I think
    archiving must be disabled in mm_cfg.py with

    ARCHIVE_TO_MBOX = -1
    Nothing set in mm_cfg.py for that but it is set to -1 in Defaults.py. I
    just set it to 0, didn't even think about looking in there for it,
    sorry, should grepped -i 'archive' in the tree.

    The Defaults.py setting is 2. If you want something different, it
    should be in mm_cfg.py.

    You need to restart Mailman after making these changes for them to be
    effective.

    --
    Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
    San Francisco Bay Area, California better use your sense - B. Dylan
  • Young, Darren at Jan 22, 2010 at 5:49 pm
    Issue #2 is once again an obvious thing to have checked, but I
    think
    archiving must be disabled in mm_cfg.py with

    ARCHIVE_TO_MBOX = -1
    Nothing set in mm_cfg.py for that but it is set to -1 in Defaults.py. I
    just set it to 0, didn't even think about looking in there for it,
    sorry, should grepped -i 'archive' in the tree.

    The Defaults.py setting is 2. If you want something different, it
    should be in mm_cfg.py.

    You need to restart Mailman after making these changes for them to be
    effective.
    Thanks, did that.
  • Adam McGreggor at Jan 20, 2010 at 10:51 pm

    On Wed, Jan 20, 2010 at 01:38:49PM -0600, Young, Darren wrote:
    I've enabled archives on a mailing list with the following:
    archive = yes
    archive_private = public
    However, in /usr/local/mailman/archives/public there's no directories
    and in the browser I get a URL not found error. I've posted a couple
    messages to the list and they're being delivered to members so how/when
    are the archives created?
    Just picking up on something, did you enable archiving before a
    post has been sent; i.e., has archiving been set before >1 message
    has been sent to the list?

    --
    ``I wouldn't call Civil Service delays `tactics', Minister,'' he replied
    smoothly. ``That would be to mistake lethargy for strategy.''
    (Humphrey Appleby, from `Yes, Minister', Jonathan Lynn and Anthony Jay)
  • Young, Darren at Jan 21, 2010 at 12:00 pm

    Just picking up on something, did you enable archiving before a
    post has been sent; i.e., has archiving been set before >1 message
    has been sent to the list?
    Yep, it was enabled first.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedJan 20, '10 at 7:38p
activeJan 22, '10 at 5:49p
posts17
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase