
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@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@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \

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@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@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@python.org http://www.python.org/mailman/listinfo/mailman-users
--
Todd Pfaff \ Email: pfaff@mcmaster.ca
Computing and Information Services \ Voice: (905) 525-9140 x22920
ABB 132 \ FAX: (905) 528-3773
McMaster University
Hamilton, Ontario, Canada L8S 4M1 \

"PH" == Pete Holsberg pjh@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
participants (3)
-
Barry A. Warsaw
-
Pete Holsberg
-
Todd Pfaff