unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* gnus fails to open nntp server every other time
@ 2002-10-05  0:17 Michael Slass
  0 siblings, 0 replies; only message in thread
From: Michael Slass @ 2002-10-05  0:17 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-05  0:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-05  0:17 gnus fails to open nntp server every other time Michael Slass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).