I'm trying to figure out why people can't subscribe to the askref list.
It may be a more general problem with other lists, but I've only heard
that it's a problem with this one.

Since the error was first reported, Red Hat's up2date helpfully
installed an rpm version of mailman-2.1.5 on top of our existing 2.1.9
installation, but since then I have removed the rpm, run 'make install'
from our already-configured source, and run check_perms -f until it
reported no errors.

Here's what I get in /var/lib/mailman/logs/error when I try to subscribe
myself to the list:

Sep 12 12:34:31 2007 admin(16095):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(16095): [----- Mailman Version: 2.1.9 -----]
admin(16095): [----- Traceback ------]
admin(16095): Traceback (most recent call last):
admin(16095): File "/usr/lib/mailman/scripts/driver", line 101, in
run_main
admin(16095): main()
admin(16095): File "/usr/lib/mailman/Mailman/Cgi/subscribe.py", line
97, in main
admin(16095): mlist.Save()
admin(16095): File "/usr/lib/mailman/Mailman/MailList.py", line 565,
in Save
admin(16095): self.CheckHTMLArchiveDir()
admin(16095): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py",
line 236, in CheckHTMLArchiveDir
admin(16095): breaklink(pubdir)
admin(16095): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py",
line 56, in breaklink
admin(16095): os.unlink(link)
admin(16095): OSError: [Errno 21] Is a directory:
'/var/lib/mailman/archives/public/askref'
admin(16095): [----- Python Information -----]
admin(16095): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
admin(16095): sys.executable = /usr/bin/python
admin(16095): sys.prefix = /usr
admin(16095): sys.exec_prefix = /usr
admin(16095): sys.path = /usr
admin(16095): sys.platform = linux2
admin(16095): [----- Environment Variables -----]
admin(16095): HTTP_COOKIE:
__utmz(244473.1183482814.137.10.utmccn=(referral)|utmcsr=wordpress.com
utmcct=/signup/|utmcmd=referral;
__utma(244473.1334177691.1149792248.1188997686.1189613645.149;
__utmb(244473; __utmc(244473
admin(16095): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat)
admin(16095): SCRIPT_NAME: /mailman/subscribe
admin(16095): SERVER_SIGNATURE: <address>Apache/2.0.52 (Red Hat)
Server at lists.tblc.org Port 80</address>
admin(16095):
admin(16095): REQUEST_METHOD: POST
admin(16095): HTTP_KEEP_ALIVE: 300
admin(16095): SERVER_PROTOCOL: HTTP/1.1
admin(16095): QUERY_STRING:
admin(16095): CONTENT_LENGTH: 92
admin(16095): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
admin(16095): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
admin(16095): HTTP_CONNECTION: keep-alive
admin(16095): HTTP_REFERER:
http://lists.tblc.org/mailman/listinfo/askref
admin(16095): SERVER_NAME: lists.tblc.org
admin(16095): REMOTE_ADDR: 64.128.136.196
admin(16095): PATH_TRANSLATED: /usr/lib/mailman/cgi-bin/askref
admin(16095): SERVER_PORT: 80
admin(16095): SERVER_ADDR: 64.128.136.9
admin(16095): DOCUMENT_ROOT: /usr/lib/mailman/cgi-bin/
admin(16095): PYTHONPATH: /usr/lib/mailman
admin(16095): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/subscribe
admin(16095): SERVER_ADMIN: webmaster at tblc.org
admin(16095): HTTP_HOST: lists.tblc.org
admin(16095): HTTP_CACHE_CONTROL: max-age=0
admin(16095): REQUEST_URI: /mailman/subscribe/askref
admin(16095): HTTP_ACCEPT:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
admin(16095): GATEWAY_INTERFACE: CGI/1.1
admin(16095): REMOTE_PORT: 3649
admin(16095): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
admin(16095): CONTENT_TYPE: application/x-www-form-urlencoded
admin(16095): HTTP_ACCEPT_ENCODING: gzip,deflate
admin(16095): PATH_INFO: /askref


What should I be looking for here?

Regards,
Ben Ostrowsky

Search Discussions

  • Ben Ostrowsky at Sep 12, 2007 at 5:05 pm
    Oddly, this seems to happen when I try to get to this list's admin
    interface, too:

    Sep 12 13:03:21 2007 admin(16872):
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    admin(16872): [----- Mailman Version: 2.1.9 -----]
    admin(16872): [----- Traceback ------]
    admin(16872): Traceback (most recent call last):
    admin(16872): File "/usr/lib/mailman/scripts/driver", line 101, in
    run_main
    admin(16872): main()
    admin(16872): File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 199,
    in main
    admin(16872): mlist.Save()
    admin(16872): File "/usr/lib/mailman/Mailman/MailList.py", line 565,
    in Save
    admin(16872): self.CheckHTMLArchiveDir()
    admin(16872): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py",
    line 236, in CheckHTMLArchiveDir
    admin(16872): breaklink(pubdir)
    admin(16872): File "/usr/lib/mailman/Mailman/Archiver/Archiver.py",
    line 56, in breaklink
    admin(16872): os.unlink(link)
    admin(16872): OSError: [Errno 21] Is a directory:
    '/var/lib/mailman/archives/public/askref'
    admin(16872): [----- Python Information -----]
    admin(16872): sys.version = 2.3.4 (#1, Jan 9 2007, 16:40:18)
    [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)]
    admin(16872): sys.executable = /usr/bin/python
    admin(16872): sys.prefix = /usr
    admin(16872): sys.exec_prefix = /usr
    admin(16872): sys.path = /usr
    admin(16872): sys.platform = linux2
    admin(16872): [----- Environment Variables -----]
    admin(16872): HTTP_COOKIE:
    __utmz(244473.1183482814.137.10.utmccn=(referral)|utmcsr=wordpress.com
    utmcct=/signup/|utmcmd=referral;
    __utma(244473.1334177691.1149792248.1188997686.1189613645.149;
    __utmc(244473
    admin(16872): SERVER_SOFTWARE: Apache/2.0.52 (Red Hat)
    admin(16872): SCRIPT_NAME: /mailman/admin
    admin(16872): SERVER_SIGNATURE: <address>Apache/2.0.52 (Red Hat)
    Server at lists.tblc.org Port 80</address>
    admin(16872):
    admin(16872): REQUEST_METHOD: POST
    admin(16872): HTTP_KEEP_ALIVE: 300
    admin(16872): SERVER_PROTOCOL: HTTP/1.1
    admin(16872): QUERY_STRING:
    admin(16872): CONTENT_LENGTH: 36
    admin(16872): HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    admin(16872): HTTP_USER_AGENT: Mozilla/5.0 (Windows; U; Windows NT
    5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
    admin(16872): HTTP_CONNECTION: keep-alive
    admin(16872): HTTP_REFERER: http://lists.tblc.org/mailman/admin/askref

    admin(16872): SERVER_NAME: lists.tblc.org
    admin(16872): REMOTE_ADDR: 64.128.136.196
    admin(16872): PATH_TRANSLATED: /usr/lib/mailman/cgi-bin/askref
    admin(16872): SERVER_PORT: 80
    admin(16872): SERVER_ADDR: 64.128.136.9
    admin(16872): DOCUMENT_ROOT: /usr/lib/mailman/cgi-bin/
    admin(16872): PYTHONPATH: /usr/lib/mailman
    admin(16872): SCRIPT_FILENAME: /usr/lib/mailman/cgi-bin/admin
    admin(16872): SERVER_ADMIN: webmaster at tblc.org
    admin(16872): HTTP_HOST: lists.tblc.org
    admin(16872): HTTP_CACHE_CONTROL: max-age=0
    admin(16872): REQUEST_URI: /mailman/admin/askref
    admin(16872): HTTP_ACCEPT:
    text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
    n;q=0.8,image/png,*/*;q=0.5
    admin(16872): GATEWAY_INTERFACE: CGI/1.1
    admin(16872): REMOTE_PORT: 4017
    admin(16872): HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
    admin(16872): CONTENT_TYPE: application/x-www-form-urlencoded
    admin(16872): HTTP_ACCEPT_ENCODING: gzip,deflate
    admin(16872): PATH_INFO: /askref

    And yet I have no problems getting into the admin interface on several
    other lists I've tried.

    Ben
  • Brad Knowles at Sep 12, 2007 at 6:24 pm

    On 9/12/07, Ben Ostrowsky wrote:

    Since the error was first reported, Red Hat's up2date helpfully
    installed an rpm version of mailman-2.1.5 on top of our existing 2.1.9
    installation, but since then I have removed the rpm, run 'make install'
    from our already-configured source, and run check_perms -f until it
    reported no errors.
    One thing to check is that they didn't install an older version of
    Python and the various Python libraries, as part of the older
    installation of Mailman. You need more recent versions of Python and
    the libraries for later versions of Mailman.
    admin(16095): OSError: [Errno 21] Is a directory:
    '/var/lib/mailman/archives/public/askref'
    None of these should be directories. They should be symlinks over to
    corresponding directories in the .../mailman/archives/private/...
    directory hierarchy.

    --
    Brad Knowles <brad at shub-internet.org>
    LinkedIn Profile: <http://tinyurl.com/y8kpxu>
  • Mark Sapiro at Sep 14, 2007 at 3:11 pm

    Brad Knowles wrote:
    On 9/12/07, Ben Ostrowsky wrote:

    admin(16095): OSError: [Errno 21] Is a directory:
    '/var/lib/mailman/archives/public/askref'
    None of these should be directories. They should be symlinks over to
    corresponding directories in the .../mailman/archives/private/...
    directory hierarchy.

    This is the whole problem. The list config has been changed from a
    public to a private archive. This in turn causes Mailman to try to
    remove the '/var/lib/mailman/archives/public/askref' symlink any time
    the list is 'saved', but in your case some prior (non-Mailman)
    copying/moving process has replaced the symlink with copies of the
    then existing files and directories in
    '/var/lib/mailman/archives/private/askref'

    The solution is to simply remove the directory
    '/var/lib/mailman/archives/public/askref' and also
    '/var/lib/mailman/archives/public/askref.mbox' if it exists. If the
    archive is ever made public again, Mailman will create the proper
    symlinks.

    --
    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
postedSep 12, '07 at 4:41p
activeSep 14, '07 at 3:11p
posts4
users3
websitelist.org

People

Translate

site design / logo © 2022 Grokbase