help-gnu-emacs
[Top][All Lists]
Advanced

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

gnus fails to open nntp server every other time


From: Michael Slass
Subject: gnus fails to open nntp server every other time
Date: Sat, 05 Oct 2002 00:17:40 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi:

using gnus 5.9.0 on linux (RH 7.3 kernel 2.4.18-10)

>From the group buffer, when I hit "G" to check for new news and mail,
on odd-numbered tries, it succeeds, and even numbered tries, it
fails.

The difference is that on the failures, it doesn't try to connect to
the news server -- I think gnus believes it's already connected.

I've advised gnus-group-get-new-news to show existing buffers
and do a netstat before running, and to put the output in the
*Messages* buffer.

It looks like for failures, netstat shows an established socket to the
news server, and there's a leftover buffer:
#<buffer  *server netnews.attbi.com nntp  *nntpd**> 

Also, there's no message:
Opening nntp server on netnews.attbi.com...

Instead, it just jumps straight to:
Reading active file from netnews.attbi.com via nntp...
where the debugger starts.

Anyone have any ideas on why this is happening, and how I can stop it?



Thanks.


--
Mike


>From the *Messages* buffer:


For failures:
------------------------------------------------------------
gnus-group-get-new-news diagnostics:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name   
tcp        0      0 192.168.1.2:1600        *:*                     LISTEN      
-                   
tcp        0      0 *:32768                 *:*                     LISTEN      
-                   
tcp        0      0 eric:32769              *:*                     LISTEN      
-                   
tcp        0      0 *:printer               *:*                     LISTEN      
-                   
tcp        0      0 eric:3110               *:*                     LISTEN      
-                   
tcp        0      0 *:6502                  *:*                     LISTEN      
-                   
tcp        0      0 *:sunrpc                *:*                     LISTEN      
-                   
tcp        0      0 *:x11                   *:*                     LISTEN      
-                   
tcp        0      0 eric:3025               *:*                     LISTEN      
-                   
tcp        0      0 *:ssh                   *:*                     LISTEN      
-                   
tcp        0      0 *:https                 *:*                     LISTEN      
-                   
tcp        0      0 192.168.1.2:32785       cascadia.drizzle.co:ssh ESTABLISHED 
-                   
tcp        0      0 192.168.1.2:33744       netnews.attbi.com:nntp  ESTABLISHED 
3196/emacs          
tcp        0      0 eric:3025               eric:33747              TIME_WAIT   
-                   

(
#<buffer *Group*> 
#<buffer *scratch*> 
#<buffer  *Minibuf-1*> 
#<buffer  *Minibuf-0*> 
#<buffer *Messages*> 
#<buffer  *Echo Area 0*> 
#<buffer  *Echo Area 1*> 
#<buffer  *nntpd*> 
#<buffer  *server netnews.attbi.com nntp  *nntpd**> 
#<buffer  *gnus work*> 
#<buffer  trace of POP session to localhost> 
#<buffer  *nnmail message-id cache*> 
#<buffer  *Original Article*> 
#<buffer  *Async Prefetch Article*> 
#<buffer  *gnus article copy*> 
#<buffer  *canonical address*> 
#<buffer  *extract address components*> 
#<buffer  *message work*> 
#<buffer *trace of SMTP session to localhost*> 
#<buffer October-2002> 
#<buffer 13> 
#<buffer .newsrc-dribble> 
#<buffer *Article*>)
Reading active file from netnews.attbi.com via nntp...
Loading debug...done
Entering debugger...
Debugger entered--Lisp error: (error "Selecting deleted buffer")
  nntp-retrieve-groups(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" 
"gnu.emacs.help") "netnews.attbi.com")
  gnus-retrieve-groups(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" 
"gnu.emacs.help") (nntp "netnews.attbi.com"))
  gnus-read-active-file-2(("comp.emacs" "gnu.emacs.gnus" "gnu.emacs.sources" 
"gnu.emacs.help") (nntp "netnews.attbi.com"))
  gnus-read-active-file-1((nntp "netnews.attbi.com") nil)
  gnus-read-active-file()
  ad-Orig-gnus-group-get-new-news(nil)
  (setq ad-return-value (ad-Orig-gnus-group-get-new-news arg))
  (let (ad-return-value) (message "gnus-group-get-new-news 
diagnostics:\n%s\n%s" (shell-command-to-string "netstat -tap 2>/dev/null") 
(replace-regexp-in-string "#" "\n#" ...)) (setq ad-return-value 
(ad-Orig-gnus-group-get-new-news arg)) ad-return-value)
  gnus-group-get-new-news(nil)
  call-interactively(gnus-group-get-new-news)
------------------------------------------------------------


For successes:



------------------------------------------------------------
gnus-group-get-new-news diagnostics:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name   
tcp        0      0 192.168.1.2:1600        *:*                     LISTEN      
-                   
tcp        0      0 *:32768                 *:*                     LISTEN      
-                   
tcp        0      0 eric:32769              *:*                     LISTEN      
-                   
tcp        0      0 *:printer               *:*                     LISTEN      
-                   
tcp        0      0 eric:3110               *:*                     LISTEN      
-                   
tcp        0      0 *:6502                  *:*                     LISTEN      
-                   
tcp        0      0 *:sunrpc                *:*                     LISTEN      
-                   
tcp        0      0 *:x11                   *:*                     LISTEN      
-                   
tcp        0      0 eric:3025               *:*                     LISTEN      
-                   
tcp        0      0 *:ssh                   *:*                     LISTEN      
-                   
tcp        0      0 *:https                 *:*                     LISTEN      
-                   
tcp        0      0 192.168.1.2:32785       cascadia.drizzle.co:ssh ESTABLISHED 
-                   

(
#<buffer *Group*> 
#<buffer *Messages*> 
#<buffer *Backtrace*> 
#<buffer  *Minibuf-1*> 
#<buffer *scratch*> 
#<buffer  *Minibuf-0*> 
#<buffer  *Echo Area 0*> 
#<buffer  *Echo Area 1*> 
#<buffer  *nntpd*> 
#<buffer  *gnus work*> 
#<buffer  trace of POP session to localhost> 
#<buffer  *nnmail message-id cache*> 
#<buffer  *Original Article*> 
#<buffer  *Async Prefetch Article*> 
#<buffer  *gnus article copy*> 
#<buffer  *canonical address*> 
#<buffer  *extract address components*> 
#<buffer  *message work*> 
#<buffer *trace of SMTP session to localhost*> 
#<buffer October-2002> 
#<buffer 13> 
#<buffer .newsrc-dribble> 
#<buffer *Article*>)
Opening nntp server on netnews.attbi.com...

Reading active file from netnews.attbi.com via nntp...
Reading active file via nnml...
nnml: Reading incoming mail from pop...
nnml: Reading incoming mail (no new mail)...done
Reading active file via nnml...done
Reading active file from archive via nnfolder...done
Checking new news...done
------------------------------------------------------------Matches Active 
Internet connections (...

-- 
Mike Slass


reply via email to

[Prev in Thread] Current Thread [Next in Thread]