newscache: Thread: Questions about running version 0.99.22


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Questions about running version 0.99.22
From: "Booker" ####@####.####
Date: 3 Jan 2003 21:16:30 -0000
Message-Id: <000c01c2b36c$448a0110$c17f4140@lava.net>

I have this version on a freebsd 4.6.2 box.  I'm getting this error
messages and was wondering if anyone has any ideas on fixing it.  The
error message I am getting in /var/log/messages:

Jan  3 10:52:07 kulolo NewsCache[33789]: Exception!
Jan  3 10:52:07 kulolo NewsCache[33789]:   Type: System
Jan  3 10:52:07 kulolo NewsCache[33789]:   Desc: maximum number of
retries reached  ErrStr(-1): Unknown error: -1¿
Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
64.65.64.15
Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
server  ErrStr(49): Can't assign requested address
Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
64.65.64.15
Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
server  ErrStr(49): Can't assign requested address
Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
64.65.64.15
Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
server  ErrStr(49): Can't assign requested addres

My guess is this occurs because of SuperNews's very log timeout value.
And NewsCache's in ability to handle that.  I'm assuming this because I
use tin to connect to my newscache server and it works fine when I first
start the program up.  But If I leave my tin session unattended for more
than 5 minutes then the error messages above me occur.  My tin reader
also cannot retrieve any more articles and just gives me an error that
the article is not on the server.  Tin get's into this abort loop and I
have to kill the process because tin is stuck.  But once I get out and
restart tin, things work fine again, until I hit that timeout value.  Is
there a specific configuration I should be using with supernews so that
I can circumvent this 5 minutes session timeout they have?
My configuration for supernews is as follow:

NewsServerList {
  Server corp.supernews.com nntp {
    Retries 3
    Read *
    PostTo *
    GroupTimeout 150
    BindFrom 64.65.64.15
#    Options not-offline
#    Commands listgroup over
  }
}

I'm waiting for the ports versin on freebsd to get to 1.1.8 and then I
can try that version also.

Mahalo,
Booker

Subject: Re: Questions about running version 0.99.22
From: Herbert Straub ####@####.####
Date: 5 Jan 2003 10:45:35 -0000
Message-Id: <3E180A61.4050905@aon.at>

Booker wrote:

>I have this version on a freebsd 4.6.2 box.  I'm getting this error
>messages and was wondering if anyone has any ideas on fixing it.  The
>error message I am getting in /var/log/messages:
>
What are the messages before this first Exception?

>
>Jan  3 10:52:07 kulolo NewsCache[33789]: Exception!
>Jan  3 10:52:07 kulolo NewsCache[33789]:   Type: System
>Jan  3 10:52:07 kulolo NewsCache[33789]:   Desc: maximum number of
>retries reached  ErrStr(-1): Unknown error: -1¿
>Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
>64.65.64.15
>Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
>server  ErrStr(49): Can't assign requested address
>Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
>64.65.64.15
>Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
>server  ErrStr(49): Can't assign requested address
>Jan  3 10:52:09 kulolo NewsCache[33789]: Got address from inet_addr:
>64.65.64.15
>Jan  3 10:52:09 kulolo NewsCache[33789]: Exception!
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Type: System
>Jan  3 10:52:09 kulolo NewsCache[33789]:   Desc: cannot connect to news
>server  ErrStr(49): Can't assign requested addres
>
Look in /var/log/news/news.debug (configured in /etc/syslog.conf on 
Linux systems). Here you can find more messages. If you can catch a 
whole error-session in news.debug with this problem, you can send me 
this. In Version 0.99.22 it is sometimes very hard to understand the 
flow of Exeption messages.

If you are able to reconfigure and recompile the program, then you can 
try ./configure --enable-debug. With this options, you get many more 
messages in den news.debug file.

>
>My guess is this occurs because of SuperNews's very log timeout value.
>And NewsCache's in ability to handle that.  I'm assuming this because I
>use tin to connect to my newscache server and it works fine when I first
>start the program up.  But If I leave my tin session unattended for more
>than 5 minutes then the error messages above me occur.  My tin reader
>also cannot retrieve any more articles and just gives me an error that
>the article is not on the server.  Tin get's into this abort loop and I
>have to kill the process because tin is stuck.  But once I get out and
>restart tin, things work fine again, until I hit that timeout value.  Is
>there a specific configuration I should be using with supernews so that
>I can circumvent this 5 minutes session timeout they have?
>
Please send me a netstat -t. So we can see the states of the links.

>My configuration for supernews is as follow:
>
>NewsServerList {
>  Server corp.supernews.com nntp {
>    Retries 3
>    Read *
>    PostTo *
>    GroupTimeout 150
>    BindFrom 64.65.64.15
>
The NewsCache is running in a multihomed environment?

>#    Options not-offline
>#    Commands listgroup over
>  }
>}
>
>I'm waiting for the ports versin on freebsd to get to 1.1.8 and then I
>can try that version also.
>
Yes, we will see what happens, because all socket operations are made 
with  the Socket++ Library. The error classes are also rewritten to make 
it easier to find a bug.

Best regards
Herbert

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.