FAQ
I get the following error when users try to subscribe. However all of the admin
functions seem to work fine. BTW, where does mailman store the actual e-mail
addresses? In the config file?

I also tried upgrading to b9 but that really messed things up.:(

Note: I have sanitized some of the below message...

Thanks in advance for any help.

Cheers,
Terrence Martin

**************************************************************
We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a copy of this
page to the webmaster for this site with a description of what happened.
Thanks!

Traceback:


Traceback (innermost last):
File "/var/spool/mailman/scripts/driver", line 102, in run_main
main()
File "/var/spool/mailman/Mailman/Cgi/subscribe.py", line 161, in main
list.AddMember(email, pw, digest, remote)
File "/var/spool/mailman/Mailman/MailList.py", line 785, in AddMember
cookie = Pending().new(name, password, digest)
File "/var/spool/mailman/Mailman/Pending.py", line 74, in new
self.__save(db)
File "/var/spool/mailman/Mailman/Pending.py", line 111, in __save
fp = open(self.db_path, "w")
IOError: (13, 'Permission denied')





Environment variables:

Variable
Value
DOCUMENT_ROOT
/var/spool/mailman/lists
HTTP_ACCEPT_ENCODING
gzip
CONTENT_LENGTH
82
CONTENT_TYPE
application/x-www-form-urlencoded
PATH_TRANSLATED
/var/spool/mailman/lists/staff
REMOTE_ADDR
xx.xx.xx.xx
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
HTTP_ACCEPT_LANGUAGE
en
REMOTE_PORT
25115
SERVER_PORT
80
HTTP_CONNECTION
Keep-Alive
HTTP_USER_AGENT
Mozilla/4.5 [en] (X11; U; Linux 2.0.36 i686)
HTTP_ACCEPT_CHARSET
iso-8859-1,*,utf-8
HTTP_ACCEPT
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
image/png, */*
REQUEST_URI
/mailman/subscribe/staff
PATH
/sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING
SCRIPT_FILENAME
/var/spool/mailman/exec/cgi-bin/subscribe
PATH_INFO
/staff
HTTP_HOST
some.machine.com
REQUEST_METHOD
POST
SERVER_SIGNATURE
SCRIPT_NAME
/mailman/subscribe
SERVER_ADMIN
webmaster at some.machine.ca
SERVER_SOFTWARE
Apache/1.3.3 (Unix) (Red Hat/Linux)
PYTHONPATH
/var/spool/mailman
HTTP_REFERER
http://some.machine.com/mailman/listinfo/staff
SERVER_NAME
some.machine.com


----------------------------------
E-Mail: twm139 at its.to
Date: 24-Mar-99
Time: 12:02:40

This message was sent by XFMail
----------------------------------

Search Discussions

  • Terrence Martin at Mar 25, 1999 at 7:21 am

    Roger Pe?a Escobio wrote:
    did your mailman subdir are writable for mailman group?
    specially the subdir where are data, like archives, lists, logs....
    As far as I can tell I have all of the correct permissions. The mailman
    user can write to pretty much everything. I was wondering if it was a
    strange web user/mailman user issue. However as I said before I seem to
    be able to do everything I need in the admin tool, it is only the
    subscribe screen for users that fails.

    **************************************************************
    We're sorry, we hit a bug!

    If you would like to help us identify the problem, please email a copy of this
    page to the webmaster for this site with a description of what happened.
    Thanks!

    Traceback:


    Traceback (innermost last):
    File "/var/spool/mailman/scripts/driver", line 102, in run_main
    main()
    File "/var/spool/mailman/Mailman/Cgi/subscribe.py", line 161, in main
    list.AddMember(email, pw, digest, remote)
    File "/var/spool/mailman/Mailman/MailList.py", line 785, in AddMember
    cookie = Pending().new(name, password, digest)
    File "/var/spool/mailman/Mailman/Pending.py", line 74, in new
    self.__save(db)
    File "/var/spool/mailman/Mailman/Pending.py", line 111, in __save
    fp = open(self.db_path, "w")
    IOError: (13, 'Permission denied')
    look that it is a write permission!!!! take a look to where self.db_path
    variable are pointing...
    I actually tried to do that but not being completely familiar with
    python I soon lost where Pending.py was trying to do. I gathered that it
    might have some to do with the lock files...

    -rw-rw-rw- 1 mailman mailman 0 Feb 25 09:47 dis.lock
    -rw-rw-rw- 1 mailman mailman 0 Jan 8 16:33 games.lock
    -rw-rw-rw- 1 mailman mailman 0 Jan 11 15:25 internet.lock
    -rw-rw-rw- 1 mailman mailman 0 Feb 19 15:17 mgmt.lock
    -rw-rw-r-- 1 mailman mailman 74 Feb 21 12:42 mmqueue_run.lock
    -rw-rw-r-- 1 mailman mailman 0 Jan 21 17:12
    mmqueue_run.lock.isacal.cal.montage.ca.18921
    -rw-rw-r-- 1 mailman mailman 0 Jan 21 17:42
    mmqueue_run.lock.isacal.cal.montage.ca.18998
    -rw-rw-rw- 1 mailman mailman 0 Feb 22 14:43 oaug.lock
    -rw-rw-rw- 1 mailman mailman 0 Feb 19 15:12 oracle.lock
    -rw-rw-rw- 1 www mailman 72 Mar 24 12:18
    pending_subscriptions.lock
    -rw-rw-rw- 1 mailman mailman 0 Feb 19 13:43 staff.lock
    -rw-rw-rw- 1 mailman mailman 0 Jan 18 16:54 sysadmin.lock
    -rw-rw-rw- 1 mailman mailman 0 Mar 24 11:41 test1.lock

    However as you can see they are all owned and writable by mailman and
    the dir is SGID mailman.

    Cheers,
    Terrence




    Environment variables:

    Variable
    Value
    DOCUMENT_ROOT
    /var/spool/mailman/lists
    HTTP_ACCEPT_ENCODING
    gzip
    CONTENT_LENGTH
    82
    CONTENT_TYPE
    application/x-www-form-urlencoded
    PATH_TRANSLATED
    /var/spool/mailman/lists/staff
    REMOTE_ADDR
    xx.xx.xx.xx
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_PROTOCOL
    HTTP/1.0
    HTTP_ACCEPT_LANGUAGE
    en
    REMOTE_PORT
    25115
    SERVER_PORT
    80
    HTTP_CONNECTION
    Keep-Alive
    HTTP_USER_AGENT
    Mozilla/4.5 [en] (X11; U; Linux 2.0.36 i686)
    HTTP_ACCEPT_CHARSET
    iso-8859-1,*,utf-8
    HTTP_ACCEPT
    image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
    image/png, */*
    REQUEST_URI
    /mailman/subscribe/staff
    PATH
    /sbin:/usr/sbin:/bin:/usr/bin
    QUERY_STRING
    SCRIPT_FILENAME
    /var/spool/mailman/exec/cgi-bin/subscribe
    PATH_INFO
    /staff
    HTTP_HOST
    some.machine.com
    REQUEST_METHOD
    POST
    SERVER_SIGNATURE
    SCRIPT_NAME
    /mailman/subscribe
    SERVER_ADMIN
    webmaster at some.machine.ca
    SERVER_SOFTWARE
    Apache/1.3.3 (Unix) (Red Hat/Linux)
    PYTHONPATH
    /var/spool/mailman
    HTTP_REFERER
    http://some.machine.com/mailman/listinfo/staff
    SERVER_NAME
    some.machine.com


    ----------------------------------
    E-Mail: twm139 at its.to
    Date: 24-Mar-99
    Time: 12:02:40

    This message was sent by XFMail
    ----------------------------------

    ------------------------------------------------------
    Mailman-Users maillist - Mailman-Users at python.org
    http://www.python.org/mailman/listinfo/mailman-users
  • Harald Meland at Jun 2, 1999 at 6:41 pm
    [Trying to catch up on old Mailman-Users mail...]

    [Terrence Martin]
    Traceback (innermost last):
    File "/var/spool/mailman/scripts/driver", line 102, in run_main
    main()
    File "/var/spool/mailman/Mailman/Cgi/subscribe.py", line 161, in main
    list.AddMember(email, pw, digest, remote)
    File "/var/spool/mailman/Mailman/MailList.py", line 785, in AddMember
    cookie = Pending().new(name, password, digest)
    File "/var/spool/mailman/Mailman/Pending.py", line 74, in new
    self.__save(db)
    File "/var/spool/mailman/Mailman/Pending.py", line 111, in __save
    fp = open(self.db_path, "w")
    IOError: (13, 'Permission denied')
    look that it is a write permission!!!! take a look to where self.db_path
    variable are pointing...
    I actually tried to do that but not being completely familiar with
    python I soon lost where Pending.py was trying to do.
    The file Pending.py is trying to create, is (probably) called

    /var/spool/mailman/data/pending_subscriptions.db

    on your system.
    I gathered that it might have some to do with the lock files...
    No.

    --
    Harald

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedMar 24, '99 at 7:19p
activeJun 2, '99 at 6:41p
posts3
users3
websitelist.org

People

Translate

site design / logo © 2023 Grokbase