FAQ
mailman 1.1
python 1.5.2
solaris 2.6

can anyone tell me what this traceback from the newlist command means?
newlist used to work fine on this mailman installation. not sure when it
stopped working or why.

myhost% newlist testlist pfaff at edge.cis.mcmaster.ca password
Traceback (innermost last):
File "/usr/local/mailman/bin/newlist", line 146, in ?
raise SystemExit(main(sys.argv))
File "/usr/local/mailman/bin/newlist", line 93, in main
newlist.Create(list_name, owner_mail, pw)
File "/usr/local/mailman/Mailman/MailList.py", line 728, in Create
self.Lock()
File "/usr/local/mailman/Mailman/MailList.py", line 1372, in Lock
self.__lock.lock()
File "/usr/local/mailman/Mailman/LockFile.py", line 245, in lock
os.unlink(self.__tmpfname)
OSError: [Errno 2] No such file or directory:
'/usr/local/mailman/locks/<site>.lock.myhost.11867'

--
Todd Pfaff \ Email: pfaff at mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University \
Hamilton, Ontario, Canada L8S 4M1 \

Search Discussions

  • Todd Pfaff at Nov 30, 1999 at 11:30 pm
    nevermind, i figured it out. for some reason, i had to manually remove
    the ~mailman/locks/<site>* files.
    On Mon, 29 Nov 1999, Todd Pfaff wrote:

    mailman 1.1
    python 1.5.2
    solaris 2.6

    can anyone tell me what this traceback from the newlist command means?
    newlist used to work fine on this mailman installation. not sure when it
    stopped working or why.

    myhost% newlist testlist pfaff at edge.cis.mcmaster.ca password
    Traceback (innermost last):
    File "/usr/local/mailman/bin/newlist", line 146, in ?
    raise SystemExit(main(sys.argv))
    File "/usr/local/mailman/bin/newlist", line 93, in main
    newlist.Create(list_name, owner_mail, pw)
    File "/usr/local/mailman/Mailman/MailList.py", line 728, in Create
    self.Lock()
    File "/usr/local/mailman/Mailman/MailList.py", line 1372, in Lock
    self.__lock.lock()
    File "/usr/local/mailman/Mailman/LockFile.py", line 245, in lock
    os.unlink(self.__tmpfname)
    OSError: [Errno 2] No such file or directory:
    '/usr/local/mailman/locks/<site>.lock.myhost.11867'

    --
    Todd Pfaff \ Email: pfaff at mcmaster.ca
    Computing and Information Services \ Voice: (905) 525-9140 x22920
    ABB 132 \ FAX: (905) 528-3773
    McMaster University \
    Hamilton, Ontario, Canada L8S 4M1 \


    ------------------------------------------------------
    Mailman-Users maillist - Mailman-Users at python.org
    http://www.python.org/mailman/listinfo/mailman-users
    --
    Todd Pfaff \ Email: pfaff at mcmaster.ca
    Computing and Information Services \ Voice: (905) 525-9140 x22920
    ABB 132 \ FAX: (905) 528-3773
    McMaster University \
    Hamilton, Ontario, Canada L8S 4M1 \
  • Pete Holsberg at Dec 1, 1999 at 1:24 am

    On Tue, 30 Nov 1999, Todd Pfaff wrote:

    nevermind, i figured it out. for some reason, i had to manually remove
    the ~mailman/locks/<site>* files.
    What are the files in locks for ? Who should own them?

    Thx,
    Pete
  • Barry A. Warsaw at Dec 2, 1999 at 5:32 am
    "PH" == Pete Holsberg <pjh at mccc.edu> writes:
    PH> What are the files in locks for ? Who should own them?

    Mailman uses lock files to (help) insure data integrity. E.g. only
    one process can have a lock on a list object at a time, so the
    config.db file won't get corrupted.

    Doesn't matter who owns them as long as GID mailman can create,
    delete, and write them.

    -Barry

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedNov 29, '99 at 5:22p
activeDec 2, '99 at 5:32a
posts4
users3
websitelist.org

People

Translate

site design / logo © 2021 Grokbase