[Mailman-Users] mailmanctl fails to start runners

Mark Sapiro mark at msapiro.net
Wed Oct 21 17:21:03 CEST 2009

Ian Kaufman wrote:
>I am having trouble getting my mailman instance to run. It was working for
>but I had to move some files around and add a new disk to the system, and
>it refuses to start. The error I see is:
>Starting mailman: Traceback (most recent call last):
>  File "/usr/lib/mailman/bin/mailmanctl", line 607, in ?
>    main()
>  File "/usr/lib/mailman/bin/mailmanctl", line 449, in main
>    lock = acquire_lock(force)
>  File "/usr/lib/mailman/bin/mailmanctl", line 263, in acquire_lock
>    lock = acquire_lock_1(force)
>  File "/usr/lib/mailman/bin/mailmanctl", line 248, in acquire_lock_1
>    lock.lock(0.1)
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock
>    self.__write()
>  File "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write
>    fp = open(self.__tmpfname, 'w')
>IOError: [Errno 13] Permission denied:
>Exception exceptions.OSError: <exceptions.OSError instance at 0xb7b01eec> in
>Exception exceptions.OSError: <exceptions.OSError instance at 0xb7b01ecc>
>in                                    [FAILED]
>It appears that mailmanctl tries to create the lockfile, but does not, as
>there is nothing
>in /var/lock/mailman. I have run check_perms and there were no errors.

Mailman (or the user running mailmanctl) doesn't have permission to
create files in it's locks directory. This could be /var/lock/mailman
if this is a RedHat package. See the definition of LOCK_DIR in

Are you running mailmanctl as root?

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list