[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mailman errors (lockfile problems?)



Hello all,

I just installed mailman and started playing around with it.  I have
added a list, doctored up it's configuration (dump with -o, edit, update
with -i), and added a user.  I have 2 problems:

The user (me) gets the welcome mail, but nothing I have sent after that.
It's been about 45 minutes, and I would have though that that was long
enough.  I see no errors in exim's logs - it pipes off to mailman just
fine.

The second problem is that I can't get the web administration interface
to work.  Whenever I attempt it, I get the "We're sorry, we hit a bug!"
page, and the logs show:
Oct 14 15:00:50 2002 admin(30613):
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(30613): [----- Mailman Version: 2.0.11 -----]
admin(30613): [----- Traceback ------]
admin(30613): Traceback (most recent call last):
admin(30613):   File "/var/lib/mailman/scripts/driver", line 98, in
run_main
admin(30613):     main()
admin(30613):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 145,
in main
admin(30613):     mlist.Lock()
admin(30613):   File "/usr/lib/mailman/Mailman/MailList.py", line 1340,
in Lock
admin(30613):     self.__lock.lock(timeout)
admin(30613):   File "/usr/lib/mailman/Mailman/LockFile.py", line 219,
in lock
admin(30613):     self.__write()
admin(30613):   File "/usr/lib/mailman/Mailman/LockFile.py", line 350,
in __write
admin(30613):     fp = open(self.__tmpfname, 'w')
admin(30613): IOError: [Errno 13] Permission denied:
'/var/lib/mailman/locks/philly-medics.lock.mail.lobefin.net.30613'

I also have this error message:
Oct 14 15:01:02 2002 qrunner(30616): Traceback (most recent call last):
Oct 14 15:01:02 2002 qrunner(30616):   File
"/usr/lib/mailman/cron/qrunner", line 276, in ?
Oct 14 15:01:02 2002 qrunner(30616):      lock.lock(timeout=0.5)
Oct 14 15:01:02 2002 qrunner(30616):   File
"/usr/lib/mailman/Mailman/LockFile.py", line 219, in lock
Oct 14 15:01:02 2002 qrunner(30616):      self.__write()
Oct 14 15:01:02 2002 qrunner(30616):   File
"/usr/lib/mailman/Mailman/LockFile.py", line 350, in __write
Oct 14 15:01:02 2002 qrunner(30616):      fp = open(self.__tmpfname,
'w')
Oct 14 15:01:02 2002 qrunner(30616): IOError :  [Errno 13] Permission
denied: '/var/lib/mailman/locks/qrunner.lock.mail.lobefin.net.30616' 
Oct 14 15:02:02 2002 qrunner(30630): Traceback (most recent call last):
Oct 14 15:02:02 2002 qrunner(30630):   File
"/usr/lib/mailman/cron/qrunner", line 276, in ?
Oct 14 15:02:02 2002 qrunner(30630):      lock.lock(timeout=0.5)
Oct 14 15:02:02 2002 qrunner(30630):   File
"/usr/lib/mailman/Mailman/LockFile.py", line 219, in lock
Oct 14 15:02:02 2002 qrunner(30630):      self.__write()
Oct 14 15:02:02 2002 qrunner(30630):   File
"/usr/lib/mailman/Mailman/LockFile.py", line 350, in __write
Oct 14 15:02:02 2002 qrunner(30630):      fp = open(self.__tmpfname,
'w')
Oct 14 15:02:02 2002 qrunner(30630): IOError :  [Errno 13] Permission
denied: '/var/lib/mailman/locks/qrunner.lock.mail.lobefin.net.30630'

Which seems to be the problem with delivery.  Anyone have any
suggestions here?  I can see that it's a permissions problem, and:

mail:/home/steve# ls -l /var/lib/mailman/
lrwxrwxrwx    1 root     list           18 Oct 14 13:48 locks -> ../../lock/mailman

mail:/home/steve# ls -l /var/lock/        
total 4
drwxr-xr-x    2 root     root         4096 Oct 14 14:28 mailman

Hmmm . . . root ownership with no write access for anyone else?  Should
qrunner and mailman be running SUID root, or do I need to adjust the
permissions on this directory?  If so, to what - list?

Help?
Steve
-- 
You know it's going to be a long day when you get up, shave and shower,
start to get dressed and your shoes are still warm.
		-- Dean Webber

Attachment: pgpjw_EMDtzSN.pgp
Description: PGP signature


Reply to: