[Mailman-Users] NNTP errors

Forrest Aldrich forrie at forrie.com
Mon Aug 8 19:18:51 CEST 2005


I made these changes and it seemed okay - until this morning where I 
started getting these errors again:

Aug 08 03:35:00 2005 gate_news(5366): Traceback (most recent call last):
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/opt/m1/mailman-1.0/cron/gate_news", line 284, in ?
Aug 08 03:35:00 2005 gate_news(5366):      main()
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/opt/m1/mailman-1.0/cron/gate_news", line 264, in main
Aug 08 03:35:00 2005 gate_news(5366):      process_lists(lock)
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/opt/m1/mailman-1.0/cron/gate_news", line 208, in process_lists
Aug 08 03:35:00 2005 gate_news(5366):      conn, first, last = 
open_newsgroup(mlist)
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/opt/m1/mailman-1.0/cron/gate_news", line 103, in open_newsgroup
Aug 08 03:35:00 2005 gate_news(5366):      password=mm_cfg.NNTP_PASSWORD)
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/usr/local/lib/python2.4/nntplib.py", line 150, in __init__
Aug 08 03:35:00 2005 gate_news(5366):      resp = 
self.shortcmd('authinfo user '+user)
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/usr/local/lib/python2.4/nntplib.py", line 260, in shortcmd
Aug 08 03:35:00 2005 gate_news(5366):      return self.getresp()
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/usr/local/lib/python2.4/nntplib.py", line 215, in getresp
Aug 08 03:35:00 2005 gate_news(5366):      resp = self.getline()
Aug 08 03:35:00 2005 gate_news(5366):   File 
"/usr/local/lib/python2.4/nntplib.py", line 207, in getline
Aug 08 03:35:00 2005 gate_news(5366):      if not line: raise EOFError
Aug 08 03:35:00 2005 gate_news(5366): EOFError



Jim Tittsler wrote:

> On Aug 6, 2005, at 02:50, Forrest Aldrich wrote:
>
>>   Aug 03 01:05:01 2005 gate_news(16582):      self.welcome =
>>     self.shortcmd('mode reader')
>>     Aug 03 01:05:01 2005 gate_news(16582):   File
>>     "/usr/local/lib/python2.4/nntplib.py", line 2
>>     60, in shortcmd
>>     Aug 03 01:05:01 2005 gate_news(16582):      return self.getresp()
>>     Aug 03 01:05:01 2005 gate_news(16582):   File
>>     "/usr/local/lib/python2.4/nntplib.py", line 2
>>     15, in getresp
>
>
> It looks like your news server doesn't respond to the 'mode reader'  
> command.  Try changing 'readermode=True' to 'readermode=False' in the  
> nntplib.NNTP() call of cron/gate_news.
>
> (If that makes this error go away, I would expect you would also need  
> to change it in Mailman/Queue/NewsRunner.py.)
>



More information about the Mailman-Users mailing list