[Mailman-Users] mailman cron throwing persistent lock error(IOError: [Errno 2] No such file or directory...)

Bob R bob.reap at gmail.com
Wed Mar 27 15:09:25 CET 2013


On Tue, Mar 26, 2013 at 12:04 PM, Mark Sapiro <mark at msapiro.net> wrote:

> Bob R wrote:
> >  File "/var/lib/mailman/Mailman/LockFile.py", line 422, in __write
> >    fp = open(self.__tmpfname, 'w')
> >IOError: [Errno 2] No such file or directory:
> >'/var/lib/mailman/locks/somelist.lock.myhost.24422.0'
>
> The error says that some directory in the path
> '/var/lib/mailman/locks/somelist.lock.myhost.24422.0' doesn't exist.
> Unless either 'somelist' or 'myhost' contains a '/' which shouldn't be
> possible, that means one of the directories in the path
> '/var/lib/mailman/locks/' which again seems unlikely given that other
> lists work.
>
> What is the contents of the '/var/lib/mailman/locks/' directory? If
> Mailman is quiet, it should be only master-qrunner and
> master-qrunner.HOST.PID.
>
> That seems to be all that is there:

$ ll /var/lib/mailman/locks/
total 8
drwxrwsr-x 2 root list  80 Mar 26 12:22 ./
drwxrwxrwt 5 root root 100 Mar 26 07:33 ../
-rw-rw-r-- 2 list list  61 Mar 27  2013 master-qrunner
-rw-rw-r-- 2 list list  61 Mar 27  2013 master-qrunner.mydomain.com.3488


More information about the Mailman-Users mailing list