Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno2]No such file or directory...)

2013-03-27 Thread Mark Sapiro
Bob R wrote: > >$ ls -ld /run/lock; ls -ld /run >drwxrwxrwt 5 root root 100 Mar 27 19:49 /run/lock >drwxr-xr-x 21 root root 780 Mar 27 19:53 /run OK, I'm grasping at straws here, but the issue appears to be that the 'list:list' user:group can't create files in /var/lib/mailman/locks, aka /run/loc

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno2] No such file or directory...)

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 7:28 PM, Mark Sapiro wrote: > On 3/27/2013 7:24 PM, Bob R wrote: > > > > $ ls -ld /var/lock > > lrwxrwxrwx 1 root root 9 May 1 2012 /var/lock -> /run/lock > > and /run and /run/lock ? > $ ls -ld /run/lock; ls -ld /run drwxrwxrwt 5 root root 100 Mar 27 19:49 /run/lock dr

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno2] No such file or directory...)

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 7:09 PM, Mark Sapiro wrote:How about > ls -ld /var/lock > > $ ls -ld /var/lock lrwxrwxrwx 1 root root 9 May 1 2012 /var/lock -> /run/lock -- Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mai

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno2] No such file or directory...)

2013-03-27 Thread Mark Sapiro
On 3/27/2013 7:24 PM, Bob R wrote: > > $ ls -ld /var/lock > lrwxrwxrwx 1 root root 9 May 1 2012 /var/lock -> /run/lock and /run and /run/lock ? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan ---

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno2] No such file or directory...)

2013-03-27 Thread Mark Sapiro
Bob R wrote: > >I short-circuited the cron to run now, and it does indeed move on to the >next list: > >Traceback (most recent call last): > File "/usr/lib/mailman/cron/checkdbs", line 203, in >main() > File "/usr/lib/mailman/cron/checkdbs", line 86, in main >mlist = MailList.MailList(na

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno 2] No such file or directory...)

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 6:18 PM, Mark Sapiro wrote: > Another thought. > > If you temporarily move the /var/lib/mailman/lists/somelist/ directory > out of the /var/lib/mailman/lists/ directory and then run the > > sudo -u list [ -x /usr/lib/mailman/cron/checkdbs ] && > /usr/lib/mailman/cron/chec

Re: [Mailman-Users] mailman cron throwing persistentlockerror(IOError:[Errno2] No such file or directory...)

2013-03-27 Thread Mark Sapiro
Bob R wrote: >lrwxrwxrwx 1 root list 17 Jul 17 2012 /var/lib/mailman/locks -> >/var/lock/mailman What about ls -ld /var/lock/mailman -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan

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

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 5:56 PM, Mark Sapiro wrote: > What does > > groups list > > give? what do > > ls -l -d /var > ls -l -d /var/lib > ls -l -d /var/lib/mailman > ls -l -d /var/lib/mailman/locks > > give? $ sudo groups list list : list $ ls -l -d /var; ls -l -d /var/lib; ls -l -d /var/lib/m

Re: [Mailman-Users] mailman cron throwingpersistentlockerror(IOError:[Errno 2] No such file or directory...)

2013-03-27 Thread Mark Sapiro
Another thought. If you temporarily move the /var/lib/mailman/lists/somelist/ directory out of the /var/lib/mailman/lists/ directory and then run the sudo -u list [ -x /usr/lib/mailman/cron/checkdbs ] && /usr/lib/mailman/cron/checkdbs command, does it succeed or does it fail on the next list?

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

2013-03-27 Thread Mark Sapiro
Bob R wrote: > >Possibly because the other errors were reported by cron vie email, and the >above was running the cron sequence by the command line? Not likely as you ran the command from the command line as user 'list' and it runs via cron as user 'list'. What does groups list give? what do

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

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 5:12 PM, Mark Sapiro wrote: > Bob R wrote: > >I removed the sticky bit on /var/lib/mailman (and /locks) but the command > >still failed: > > > There was no sticky bit on locks/ - it was a SETGID bit and should be > set. > > chgrp list /var/lib/mailman > chmod 2775 /var/lib

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

2013-03-27 Thread Mark Sapiro
Bob R wrote: > >On Wed, Mar 27, 2013 at 11:29 AM, Mark Sapiro wrote: >> >> That's a bit unusual. >> >> drwxrwxrwt 5 root root 100 Mar 26 07:33 ../ >> >> refers to the /var/lib/mailman/ directory. I would expect it to be >> >> drwxrwsr-x 5 root list 100 Mar 26 07:33 ../ >> >> however, I don't think

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

2013-03-27 Thread Bob R
On Wed, Mar 27, 2013 at 11:29 AM, Mark Sapiro wrote: > Bob R wrote: > > > >$ 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 M

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

2013-03-27 Thread Mark Sapiro
Bob R wrote: > >$ 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 That's a bit unusual. d

Re: [Mailman-Users] Diagnosing Uncaught bounce notification

2013-03-27 Thread Mark Sapiro
Ron Crump wrote: > >One member of one of our mailing lists is continually >resulting in an Uncaught bounce notification when he >mails to the list. I'm guessing you mean that instead of his post going to the list, it results in an uncaught bounce notification to the list owner containing his atte

[Mailman-Users] Diagnosing Uncaught bounce notification

2013-03-27 Thread Ron Crump
Hi, One member of one of our mailing lists is continually resulting in an Uncaught bounce notification when he mails to the list. The same address is working fine subscribed to a second list (which has a smaller membership, a subset of the main list). I've never really understood the Uncaught b

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

2013-03-27 Thread Bob R
On Tue, Mar 26, 2013 at 12:04 PM, Mark Sapiro 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