
I get this error every once in awhile. The server is FreeBSD 3.2 Does anyone know of any file locking issues using mailman with FreeBSD.
----- The following addresses had permanent fatal errors ----- "|/usr/local/mailman/mail/wrapper post sys_admin" (expanded from: sys_admin)
----- Transcript of session follows -----
Traceback (innermost last):
File "/usr/local/mailman/scripts/post", line 45, in ?
mlist = MailList.MailList(sys.argv[1])
File "/usr/local/mailman/Mailman/MailList.py", line 62, in __init__
self.Load()
File "/usr/local/mailman/Mailman/MailList.py", line 804, in Load
self.Lock()
File "/usr/local/mailman/Mailman/MailList.py", line 1373, in Lock
self.__lock.lock()
File "/usr/local/mailman/Mailman/LockFile.py", line 203, in lock
self.__kickstart(force=1)
File "/usr/local/mailman/Mailman/LockFile.py", line 117, in
__kickstart
os.unlink(self.__lockfile)
OSError: [Errno 2] No such file or directory:
'/usr/local/mailman/locks/sys_admin.lock'
554 "|/usr/local/mailman/mail/wrapper post sys_admin"... unknown mailer
error 1
Thanks in advance for any assistance. /jeremy
-- People are far more interesting and successful when they are less concerned about being normal, and more concerned on being natural.
-Michael Nolan

No help here..just another instance.
Somewhere during my upgrade from 1.0rc1 to 1.1 I botched a few things so I killed the directory and untarred my old install and I'm gotting the lock errors now too. Also, from admin.cgi I click on one of my lists and it says the list is non-existant and displays a debug page.
-----Original Message----- From: mailman-users-admin@python.org [mailto:mailman-users-admin@python.org]On Behalf Of Jeremy Hillman Sent: Thursday, February 24, 2000 11:55 AM To: mailman-users@python.org Subject: [Mailman-Users] Lock Problom.
I get this error every once in awhile. The server is FreeBSD 3.2 Does anyone know of any file locking issues using mailman with FreeBSD.
----- The following addresses had permanent fatal errors ----- "|/usr/local/mailman/mail/wrapper post sys_admin" (expanded from: sys_admin)
----- Transcript of session follows ----- Traceback (innermost last): File "/usr/local/mailman/scripts/post", line 45, in ? mlist = MailList.MailList(sys.argv[1]) File "/usr/local/mailman/Mailman/MailList.py", line 62, in __init__ self.Load() File "/usr/local/mailman/Mailman/MailList.py", line 804, in Load self.Lock() File "/usr/local/mailman/Mailman/MailList.py", line 1373, in Lock self.__lock.lock() File "/usr/local/mailman/Mailman/LockFile.py", line 203, in lock self.__kickstart(force=1) File "/usr/local/mailman/Mailman/LockFile.py", line 117, in __kickstart os.unlink(self.__lockfile) OSError: [Errno 2] No such file or directory:

Silly question. Looks like Mailman is trying to remove a file it thinks is there but is not. What happens if you "touch /home/mailman/locks/<listname>.lock" where <listname> is the name of your list then retry the command that generated the error?
The lock file you create is most certainly invalid but since Mailman is trying to 'unlink' aka remove it anyway... *shrug*
-- Scott
On Thu, Feb 24, 2000 at 02:44:41PM -0800, Eric Gus wrote:
No help here..just another instance.
Somewhere during my upgrade from 1.0rc1 to 1.1 I botched a few things so I killed the directory and untarred my old install and I'm gotting the lock errors now too. Also, from admin.cgi I click on one of my lists and it says the list is non-existant and displays a debug page.
-----Original Message----- From: mailman-users-admin@python.org [mailto:mailman-users-admin@python.org]On Behalf Of Jeremy Hillman Sent: Thursday, February 24, 2000 11:55 AM To: mailman-users@python.org Subject: [Mailman-Users] Lock Problom.
I get this error every once in awhile. The server is FreeBSD 3.2 Does anyone know of any file locking issues using mailman with FreeBSD.
----- The following addresses had permanent fatal errors ----- "|/usr/local/mailman/mail/wrapper post sys_admin" (expanded from: sys_admin)
----- Transcript of session follows ----- Traceback (innermost last): File "/usr/local/mailman/scripts/post", line 45, in ? mlist = MailList.MailList(sys.argv[1]) File "/usr/local/mailman/Mailman/MailList.py", line 62, in __init__ self.Load() File "/usr/local/mailman/Mailman/MailList.py", line 804, in Load self.Lock() File "/usr/local/mailman/Mailman/MailList.py", line 1373, in Lock self.__lock.lock() File "/usr/local/mailman/Mailman/LockFile.py", line 203, in lock self.__kickstart(force=1) File "/usr/local/mailman/Mailman/LockFile.py", line 117, in __kickstart os.unlink(self.__lockfile) OSError: [Errno 2] No such file or directory:
Mailman-Users maillist - Mailman-Users@python.org http://www.python.org/mailman/listinfo/mailman-users
-- Regards, Scott Russell (scottrus@raleigh.ibm.com) Linux Technology Center, System Admin Red Hat Certified Engineer T/L 255-0416 / External 919-517-0416 Pager 800-946-4645 pin 6106543
participants (3)
-
Eric Gus
-
Jeremy Hillman
-
Scott Russell