----- Original Message ----- From: "Mark Sapiro" <[EMAIL PROTECTED]> To: "John Fleming" <[EMAIL PROTECTED]>; <mailman-users@python.org> Sent: Saturday, March 03, 2007 9:43 AM Subject: Re: [Mailman-Users] Urgent newbie help - "Hit a bug" page
> John Fleming wrote: >> >>Same thing as before. Here's the script: >> >>Luke:/var/lib/mailman# cat johntest >>! /bin/sh > > This line needs to begin with a '#' > > #! /bin/sh Duh - thanks. The output I get now I think is the same as in the error log: Luke:/var/lib/mailman# ./johntest Traceback (most recent call last): File "/var/lib/mailman/bin/list_lists", line 122, in ? main() File "/var/lib/mailman/bin/list_lists", line 102, in main longest = max(len(mlist.real_name), longest) File "/var/lib/mailman/Mailman/MailList.py", line 144, in __getattr__ raise AttributeError, name AttributeError: real_name Luke:/var/lib/mailman# - but I don't see any list-specific info! And, here's the result of bin/list_lists: (same as above) > Maybe there's a list you're not looking at. Does 'bin/list_lists' or > 'ls -l /var/mailman/lists/' show anything you're not looking at? list_lists gives me the same error: Luke:/var/lib/mailman/bin# ./list_lists Traceback (most recent call last): File "./list_lists", line 122, in ? main() File "./list_lists", line 102, in main longest = max(len(mlist.real_name), longest) File "/var/lib/mailman/Mailman/MailList.py", line 144, in __getattr__ raise AttributeError, name AttributeError: real_name Luke:/var/lib/mailman/bin# There were a couple of lists I hadn't looked at (getting tedious to do it manually) because they hadn't been used for a year or more. However, they also look OK to me. (They are not corrupted files, and the real_name values are correct, and nothing else seems amiss to me.) We're still not getting the expected results from the script though...?? > Was Mailman running when you rebooted? The first thing I did was restart mailman, and I got the initial message "qrunner not running", so no, it had stopped. It restarted without further error, but the web problem was still there and the lists apparently were not working. Same thing after the reboot. But then after another qrunner restart, then I started receiving a backlog of messages from various lists (plural). Also, is it possible you had > multiple instances of Mailman running when you rebooted so that a > shutdown script if any didn't stop them all? See > <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.068.htp> > - not for the problem, but for the solution. > > Do > ps auxww | egrep 'p[y]thon' > or > ps -fAww | egrep 'p[y]thon' > or however you might spell it on your system to see that only one > mailmanctl process and one of each of eight qrunner processes are > running. Yup: Luke:/var/lib/mailman# ps auxww | egrep 'p[y]thon' list 11070 0.0 0.5 7792 5416 ? Ss Mar02 0:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl start list 11086 0.0 0.5 7592 5288 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=ArchRunner:0:1 -s list 11087 0.0 0.6 8188 6284 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=BounceRunner:0:1 -s list 11088 0.0 0.5 7620 5300 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=CommandRunner:0:1 -s list 11089 0.0 0.9 11900 9800 ? S Mar02 0:03 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=IncomingRunner:0:1 -s list 11090 0.0 0.5 7600 5328 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=NewsRunner:0:1 -s list 11091 0.0 0.6 8280 6320 ? S Mar02 0:01 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s list 11092 0.0 0.5 8264 6192 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=VirginRunner:0:1 -s list 11093 0.0 0.5 7508 5288 ? S Mar02 0:00 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=RetryRunner:0:1 -s Luke:/var/lib/mailman# > There is probably only one bad list, so no, don't replace the > directory. Find the bad list first and then perhaps replace its > list/listname directory or, if possible, use the config.pck.last or > fix the config.pck. OK - Comments on the script that is not giving list-specific info? And, I assume we're still on the same page about the problem: The list overview web page gives an error when trying to view all of the advertised lists on -ANY- of my domains (all hosted on the same server) e.g. www.one.domain/mailman/. (As you know, if there are no advertised lists on a domain, we should get a nice web page stating that fact - or the advertised lists etc.) If I ask about a -specific- list www.one.domain/mailman/listinfo/<listname>, I get the expected web page without error. - John ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp