Problems with mailman 2.1b3 in a production environment
Hi all,
After updating the mailman 2.0.9 to 2.1b3, I got the following problem:
After four days, all list messages were delivered correctly. But now, no one message is delivered for list members (I think normal members only). The postfix log show the following message when it receives a message
Oct 10 18:47:00 cipsga postfix/smtpd[22785]: connect from denver.procergs.com.br [200.198.129.163] Oct 10 18:47:01 cipsga postfix/smtpd[22785]: E6C101FC03: client=denver.procergs. com.br[200.198.129.163] Oct 10 18:47:02 cipsga postfix/cleanup[22786]: E6C101FC03: message-id=<200210101 85002.7dcfbee8.someuser@focalinux.org> Oct 10 18:47:02 cipsga postfix/smtpd[22785]: disconnect from denver.procergs.com .br[200.198.129.163] Oct 10 18:47:02 cipsga postfix/qmgr[28099]: E6C101FC03: from=<someuser@focalinux .org>, size=944, nrcpt=1 (queue active) Oct 10 18:47:02 cipsga postfix/local[22787]: E6C101FC03: to=<linuxchix@listas.ci psga.org.br>, relay=local, delay=1, status=sent ("|/var/lib/mailman/mail/mailman post linuxchix")
And the processing stop at this point. No one list configuration was changed and the /etc/init.d/mailman process (the system runs in Debian GNU/Linux) is running to deliver the messages.
One thing: the message appear in lists/list-name/digest.mbox, even if it isn't delivered.
The check_perms is ok, and the lists were working right in the last 5 days.
I need any help to debug and (if the experience of list help) solve the problem fasten :-)
Thanks!
-- Gleydson Mazioli da Silva
gleydson@ima.sp.gov.br Consultor de Servidores GNU/Linux IMA - Informática de Municipios Associados Av. Anchieta 200 - Campinas - SP (19) 3232-9611 - R. 216
"GMdS" == Gleydson Mazioli da Silva <gleydson.mazioli@ima.sp.gov.br> writes:
GMdS> After updating the mailman 2.0.9 to 2.1b3, I got the
GMdS> following problem:
GMdS> After four days, all list messages were delivered
GMdS> correctly. But now, no one message is delivered for list
GMdS> members (I think normal members only). The postfix log show
GMdS> the following message when it receives a message
GMdS> And the processing stop at this point. No one list
GMdS> configuration was changed and the /etc/init.d/mailman
GMdS> process (the system runs in Debian GNU/Linux) is running to
GMdS> deliver the messages.
Are there any stale locks in the locks directory? Are there any errors in the log files? I'msure you tried restarting the qrunner daemon, right? Try "mailmanctl stop" followed by "mailmanctl start" (this isn't exactly the same as "mailmanctl restart".
GMdS> One thing: the message appear in
GMdS> lists/list-name/digest.mbox, even if it isn't delivered.
So it's getting to the list, and it has to be being processed in the incoming queue pipeline at least through to ToDigest.py. That's a good clue. I'm betting messages are piling up in qfiles right?
-Barry
barry@python.org (Barry A. Warsaw) em 15 Oct 2002 18:52:27 -0400 escreveu:
"GMdS" == Gleydson Mazioli da Silva <gleydson.mazioli@ima.sp.gov.br> writes:
GMdS> After updating the mailman 2.0.9 to 2.1b3, I got the GMdS> following problem: GMdS> After four days, all list messages were delivered GMdS> correctly. But now, no one message is delivered for list GMdS> members (I think normal members only). The postfix log show GMdS> the following message when it receives a message GMdS> And the processing stop at this point. No one list GMdS> configuration was changed and the /etc/init.d/mailman GMdS> process (the system runs in Debian GNU/Linux) is running to GMdS> deliver the messages.
Are there any stale locks in the locks directory? Are there any errors in the log files? I'msure you tried restarting the qrunner daemon, right? Try "mailmanctl stop" followed by "mailmanctl start" (this isn't exactly the same as "mailmanctl restart".
No, the locks directory is empty but some errors appear on the error log such as:
*********** Start of error log **********************
Oct 11 14:31:36 2002 (25450) Uncaught runner exception: unsupported format character ',' (0x2c) at index 18 Oct 11 14:31:36 2002 (25450) Traceback (most recent call last): File "/var/lib/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop self._onefile(msg, msgdata) File "/var/lib/mailman/Mailman/Queue/Runner.py", line 154, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose status = self._dopipeline(mlist, msg, msgdata, pipeline) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 152, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 87, in process send_digests(mlist, mboxfp) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 128, in send_digests send_i18n_digests(mlist, mboxfp) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 141, in send_i18n_digests digestid = _('%(realname)s Digest, Vol %(volume)d, Issue %(issue)d') File "/var/lib/mailman/Mailman/i18n.py", line 76, in _ return _translation.gettext(s) % dict ValueError: unsupported format character ',' (0x2c) at index 18
Oct 11 20:13:26 2002 (25450) Uncaught runner exception: unsupported format character ',' (0x2c) at index 18 Oct 11 20:13:26 2002 (25450) Traceback (most recent call last): File "/var/lib/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop self._onefile(msg, msgdata) File "/var/lib/mailman/Mailman/Queue/Runner.py", line 154, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose status = self._dopipeline(mlist, msg, msgdata, pipeline) File "/var/lib/mailman/Mailman/Queue/IncomingRunner.py", line 152, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 87, in process send_digests(mlist, mboxfp) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 128, in send_digests send_i18n_digests(mlist, mboxfp) File "/var/lib/mailman/Mailman/Handlers/ToDigest.py", line 141, in send_i18n_digests digestid = _('%(realname)s Digest, Vol %(volume)d, Issue %(issue)d') File "/var/lib/mailman/Mailman/i18n.py", line 76, in _ return _translation.gettext(s) % dict ValueError: unsupported format character ',' (0x2c) at index 18
******************* end of error log *************************
And part of qrunner log:
****************** start of qrunner log ********************* Oct 11 10:44:14 2002 (25430) Master qrunner detected subprocess exit (pid: 25435, sig: None, sts: 15, class: NewsRunner, slice: 1/1) Oct 11 10:44:14 2002 (25430) Master qrunner detected subprocess exit (pid: 25431, sig: None, sts: 15, class: ArchRunner, slice: 1/1) Oct 11 10:45:03 2002 (25452) OutgoingRunner qrunner started. Oct 11 10:45:03 2002 (25449) CommandRunner qrunner started. Oct 11 10:45:03 2002 (25447) ArchRunner qrunner started. Oct 11 10:45:04 2002 (25448) BounceRunner qrunner started. Oct 11 10:45:04 2002 (25450) IncomingRunner qrunner started. Oct 11 10:45:04 2002 (25451) NewsRunner qrunner started. Oct 11 10:45:04 2002 (25453) VirginRunner qrunner started. Oct 12 16:03:29 2002 (25447) ArchRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25447) ArchRunner qrunner exiting. Oct 12 16:03:29 2002 (25449) CommandRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25449) CommandRunner qrunner exiting. Oct 12 16:03:29 2002 (25450) IncomingRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25450) IncomingRunner qrunner exiting. Oct 12 16:03:29 2002 (25451) NewsRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25451) NewsRunner qrunner exiting. Oct 12 16:03:29 2002 (25452) OutgoingRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25452) OutgoingRunner qrunner exiting. Oct 12 16:03:29 2002 (25453) VirginRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25453) VirginRunner qrunner exiting. Oct 12 16:03:29 2002 (25448) BounceRunner qrunner caught SIGTERM. Stopping. Oct 12 16:03:29 2002 (25448) BounceRunner qrunner exiting. Oct 12 16:03:29 2002 (25446) Master watcher caught SIGTERM. Exiting. Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25453, sig: None, sts: 15, class: VirginRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25451, sig: None, sts: 15, class: NewsRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25449, sig: None, sts: 15, class: CommandRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25452, sig: None, sts: 15, class: OutgoingRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25448, sig: None, sts: 15, class: BounceRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25450, sig: None, sts: 15, class: IncomingRunner, slice: 1/1) Oct 12 16:03:30 2002 (25446) Master qrunner detected subprocess exit (pid: 25447, sig: None, sts: 15, class: ArchRunner, slice: 1/1)
***************** end ********************
GMdS> One thing: the message appear in GMdS> lists/list-name/digest.mbox, even if it isn't delivered.
So it's getting to the list, and it has to be being processed in the incoming queue pipeline at least through to ToDigest.py. That's a good clue. I'm betting messages are piling up in qfiles right?
I've also checked the qfiles/shunt directory, and some messages are there :-)
Gleydson Mazioli da Silva
gleydson@ima.sp.gov.br Consultor de Servidores GNU/Linux IMA - Informática de Municipios Associados Av. Anchieta 200 - Campinas - SP (19) 3232-9611 - R. 216
| digestid = _('%(realname)s Digest, Vol %(volume)d, Issue %(issue)d')
| File "/var/lib/mailman/Mailman/i18n.py", line 76, in _
| return _translation.gettext(s) % dict
| ValueError: unsupported format character ',' (0x2c) at index 18
This, and my knowing you're using the pt_BR translation led me to the clue. The mailman.po file has a broken translation for this source string. The `s' format character was left off the %(realname)s substitution variable.
I'll fix that, but don't forget to use bin/transcheck to check your translations (I know we're still trying to work out cvs access for you!).
-Barry
participants (2)
-
barry@python.org
-
Gleydson Mazioli da Silva