🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Stan Moore Thu, 08 Jul 2004 23:11
leafnode,slrn and reading news
#151408
Author: Stan Moore
Date: Thu, 08 Jul 2004 23:11
39 lines
3200 bytes
I run SUSE linux 9.1 here and have been using SUSE linux since at least
version 7.0 without a lot of problems. I have a small network and I run
a leafnode server that is set up to use news.individual.net as my news
provider. I use slrn as my news reader. I have used this setup for
several years with no real problems.

Not long ago I added broadband access to my network and upgraded SuSE to
the 9.1 version from 9.0 at nearly the same time. Shortly after those
two events I started to notice some bizarre behavior. I dont' have 9.0
installed anywhere handy right now but I'm pretty sure both leafnode and
slrn were upgraded versions with 9.1 from the versions I was running
with 9.0. One last factor is that I've setup leafnode to read offline.

THis means that normal behavior is to retrieve the headers only in one
pass. THen as I browse the headers and note something of interest I open
the article and it marks the aarticle as interesting and during the next
pass leafnode will actually retrieve the body of the message. As far as
this operation is concerned, all is well and normal. leafnode fetches
the article headers normally and I can see everything perfectly normal
in slrn. I have watched leafnode (fetchnews) in verbose mode ans
everything is great. I can see the headers in slrn with no  problems and
when I select one I get the "message has been tagged..." as normal.
DUring the next pass I see leafnode retrieve the article bodies and I've
checked the newspool to confirm that the body text is actually present.
So far everything is wonderful and normal. THe bizarre part is that when
I go back to slrn, the bodies aren't available. Normally after a header
is read it is marked as read and becomes invisable. IN the past when my
system worked, WHen the body was retrieved, the article showed up as
unread again, for some reason that's not happening now.

WHat I"m looking for is some ideas on how to troubleshoot this. I have
been around the internet since arpa and I'm a believer in netiquete,
which means that I abhor the please respond in email, so I won't do
that. I'll browse the headers and if I see responses to this thread,
I'll read the messages by other means since I won't see the response
bodies on my broken system. 

-- 
Stan                Support your Coast Guard - get lost
Re: leafnode,slrn and reading news
#151409
Author: SINNER
Date: Thu, 08 Jul 2004 23:50
33 lines
2399 bytes
* Stan Moore wrote in news.software.readers:

[...]

> WHat I"m looking for is some ideas on how to troubleshoot this. I have
> been around the internet since arpa and I'm a believer in netiquete,
> which means that I abhor the please respond in email, so I won't do
> that. I'll browse the headers and if I see responses to this thread,
> I'll read the messages by other means since I won't see the response
> bodies on my broken system. 

I would try connecting to leafnode via telnet and see if the article is
actually available the way a newsreader needs to see them.

$ telnet <newsserver> nntp
group <nameofgroup>

you will be supplied with a range of articles, you can type help at the
prompt to see other available commands.

I would guess doing a 

XOVER  <article-number>
ARTICLE <same-number-as-above>

Should prove that the articles are linked correctly, make sure you pick
an article number you've tagged and expect to be available.

This will at least show if its a slrn issue or leafnode issue.

-- 
David                 |	AGM Favorites - http://tinyurl.com/loec 
Never trust a child farther than you can throw it.
Re: leafnode,slrn and reading news
#151410
Author: Stan Moore
Date: Fri, 09 Jul 2004 01:22
59 lines
3429 bytes
SINNER wrote:
> * Stan Moore wrote in news.software.readers:
>
> [...]

> I would try connecting to leafnode via telnet and see if the article is
> actually available the way a newsreader needs to see them.
>
> $ telnet <newsserver> nntp
> group <nameofgroup>
>
> you will be supplied with a range of articles, you can type help at the
> prompt to see other available commands.
>
> I would guess doing a 
>
> XOVER  <article-number>
> ARTICLE <same-number-as-above>
>
> Should prove that the articles are linked correctly, make sure you pick
> an article number you've tagged and expect to be available.
>
> This will at least show if its a slrn issue or leafnode issue.
>

THanks for the idea, I hadn't tried that. I didn't mention it but when I
do a "L" to see all subscribed groups, including the ones with no unread
messages and then go to a header that I just marked to retrieve the body
is will have a "D" indicator to reflect that it's already been read. I
can then do "U" to mark it unread and look at the retrieved body fine.
In other words the body is retrieved and slrn can display it, but the
process of marking messages with just retrieved bodies doesn't seem to
work.

I tried your idea anyway and yes everything looks good from leafnode.
After a group I see correct articles numbers, I can get good info from
xover so the indexes seem ok, and I can see the "tagged for download.."
mark after the first pass and after the second pass I can see the body
text. IT probably says a lot about me, but I'm nearly enough of a comand
line kinda guy to just give up and read directly using nntp :) BUt I've
always allowed myself the luxory of a reader in the past.

What made me post this problem, is that I half way suspect that maybe
something in my configuration files has gotten out of whack and I was
hoping it was a simple growing pain. I did some searching and didn't see
anything, so I figured maybe I just hadn't hit the right search phrase.
At this point I think this is not a class problem and I suspect
something on my network, and further your idea has pretty much convinced
me that I'm to focus my attention in slrn's direction.

I also didn't mention it but I've been over my logs pretty well and
haven't seen anything interesting. 

I'm still open for any ideas.
thanks


-- 
Stan                Support your Coast Guard - get lost
Re: leafnode,slrn and reading news
#151411
Author: SINNER
Date: Fri, 09 Jul 2004 01:59
21 lines
2191 bytes
* Stan Moore wrote in news.software.readers:
> SINNER wrote:
>> * Stan Moore wrote in news.software.readers:

>> [...]


> I tried your idea anyway and yes everything looks good from leafnode.
> After a group I see correct articles numbers, I can get good info from
> xover so the indexes seem ok, and I can see the "tagged for download.."
> mark after the first pass and after the second pass I can see the body
> text. IT probably says a lot about me, but I'm nearly enough of a comand
> line kinda guy to just give up and read directly using nntp :) BUt I've
> always allowed myself the luxory of a reader in the past.

Have you tried connecting to Leafnode with a different reader, like
perhaps pan? You dont have slrn setup to read from the spool do you?

-- 
David                 |	AGM Favorites - http://tinyurl.com/loec 
Don't expect people to keep in step--it's hard enough just staying in line.
Re: leafnode,slrn and reading news
#151412
Author: Stan Moore
Date: Fri, 09 Jul 2004 02:46
59 lines
4044 bytes
SINNER wrote:
> * Stan Moore wrote in news.software.readers:
>> SINNER wrote:
>>> * Stan Moore wrote in news.software.readers:
>
>>> [...]
>
>
>> I tried your idea anyway and yes everything looks good from leafnode.
>> After a group I see correct articles numbers, I can get good info from
>> xover so the indexes seem ok, and I can see the "tagged for download.."
>> mark after the first pass and after the second pass I can see the body
>> text. IT probably says a lot about me, but I'm nearly enough of a comand
>> line kinda guy to just give up and read directly using nntp :) BUt I've
>> always allowed myself the luxory of a reader in the past.
>
> Have you tried connecting to Leafnode with a different reader, like
> perhaps pan? You dont have slrn setup to read from the spool do you?
>

No I haven't tried another reader yet, I was pretty sure that it had to
be related to recent changes. And no I don't have it set up to read from
spool, but I may try that to see what happens.

Actually, I got to thinking about how this works and I'm not sure I
understand exactly whats normal behavior. I mean when you read a message
with no body in slrn, it can't possible know that leafnode showed the
fake "tagged" body instead of the real thing. THe only way I know of
that slrn tracke read messages is through the newsrc or jnewsrc file as
far as I know, so I suspected that slrn would mark that message as read
in the newsrc file after viewing the header for tagging. I checked and
exactly that happened. That made me wonder how slrn ever showed the
message as unread when you retrieved the body. THis thinking made me
think that the magic must be performed by leafnode. OS even though I was
ready to clear leafnode as not the problem, I had to go back and do some
homework. I haven't really done a totally completer job, but my
understanding is that leafnode creates a new number when it retrieves
the body. This makes the message with body appear in slrn. I haven't
checked, but I'm guessing that the original "tagged" fake body article
number is deleted. I don't see dups with slrn even when I escape and
look at all messages read and unread. SO I found a configuration option
"delaybody_in_situ" I think that turns on and off creating new number
behavior. After changing that, I now see the message bodies after the
second pass. So progress has been made.

Now it seems that leafnode can't tell that I already have the bodies and
keep retrieving them every pass. I tag a message, get the body, read it
and mark it as read, then it get retrieved again on the next pass and
reappears. Endless retrieval loop. SO now I'm thinking that maybe
somehow the original tagged message isn't getting deleted, and thus the
endless loop. IF I hadn't already checked I would say it sounds like a
classic permissions problem. I guess I'll be doing some more reading.

If you have any other ideas I'm stil listening.



-- 
Stan                Support your Coast Guard - get lost
Re: leafnode,slrn and reading news
#151413
Author: SINNER
Date: Fri, 09 Jul 2004 03:09
67 lines
4697 bytes
* Stan Moore wrote in news.software.readers:
> SINNER wrote:
>> * Stan Moore wrote in news.software.readers:
>>> SINNER wrote:
>>>> * Stan Moore wrote in news.software.readers:

>>>> [...]


>> Have you tried connecting to Leafnode with a different reader, like
>> perhaps pan? You dont have slrn setup to read from the spool do you?


> No I haven't tried another reader yet, I was pretty sure that it had to
> be related to recent changes. And no I don't have it set up to read from
> spool, but I may try that to see what happens.

> Actually, I got to thinking about how this works and I'm not sure I
> understand exactly whats normal behavior. I mean when you read a message
> with no body in slrn, it can't possible know that leafnode showed the
> fake "tagged" body instead of the real thing.

Well, I got into reading the manual and noted that the article flag can
indeed be triggered to display H for No Body and M for Marked for
Download. You control this flag using header_display_format. This
functionality is probably tied to slrnpull and may not be functional
for leafnode. I just grab all the articles, it seemed easier ;)

> THe only way I know of
> that slrn tracke read messages is through the newsrc or jnewsrc file as
> far as I know, so I suspected that slrn would mark that message as read
> in the newsrc file after viewing the header for tagging. I checked and
> exactly that happened. That made me wonder how slrn ever showed the
> message as unread when you retrieved the body. THis thinking made me
> think that the magic must be performed by leafnode. OS even though I was
> ready to clear leafnode as not the problem, I had to go back and do some
> homework. I haven't really done a totally completer job, but my
> understanding is that leafnode creates a new number when it retrieves
> the body. This makes the message with body appear in slrn. I haven't
> checked, but I'm guessing that the original "tagged" fake body article
> number is deleted. I don't see dups with slrn even when I escape and
> look at all messages read and unread. SO I found a configuration option
> "delaybody_in_situ" I think that turns on and off creating new number
> behavior. After changing that, I now see the message bodies after the
> second pass. So progress has been made.

> Now it seems that leafnode can't tell that I already have the bodies and
> keep retrieving them every pass. I tag a message, get the body, read it
> and mark it as read, then it get retrieved again on the next pass and
> reappears. Endless retrieval loop. SO now I'm thinking that maybe
> somehow the original tagged message isn't getting deleted, and thus the
> endless loop. IF I hadn't already checked I would say it sounds like a
> classic permissions problem. I guess I'll be doing some more reading.

> If you have any other ideas I'm stil listening.

I am cruising the manuals as I type. Based on your earlier response it
does seem that leafnode is functioning properly. What version of
leafnode are you running? Try running leafnode-version:

[10:04:15][J:0][sinner@~]$ leafnode-version 
version: leafnode-1.9.52.rel

-- 
David                 |	AGM Favorites - http://tinyurl.com/loec 
An American's a person who isn't afraid to criticize the president but is
always polite to traffic cops.
Re: leafnode,slrn and reading news
#151450
Author: Stan Moore
Date: Fri, 09 Jul 2004 20:21
42 lines
2884 bytes
SINNER wrote:
> * Stan Moore wrote in news.software.readers:
>> SINNER wrote:
>>> * Stan Moore wrote in news.software.readers:
>>>> SINNER wrote:
>>>>> * Stan Moore wrote in news.software.readers:
>
>>>>> [...]
>
>> Now it seems that leafnode can't tell that I already have the bodies and
>> keep retrieving them every pass. I tag a message, get the body, read it
>> and mark it as read, then it get retrieved again on the next pass and
>> reappears. Endless retrieval loop. SO now I'm thinking that maybe
>> somehow the original tagged message isn't getting deleted, and thus the
>> endless loop. IF I hadn't already checked I would say it sounds like a
>> classic permissions problem. I guess I'll be doing some more reading.
>
>> If you have any other ideas I'm stil listening.
>
> I am cruising the manuals as I type. Based on your earlier response it
> does seem that leafnode is functioning properly. What version of
> leafnode are you running? Try running leafnode-version:
>
> [10:04:15][J:0][sinner@~]$ leafnode-version 
> version: leafnode-1.9.52.rel

Looks like,
version: leafnode-1.9.54.rel

As of right now, once I read a header on the first pass it gets tagged
as it should. Second pass the body is retrieved and all seems well. Now
the problem is that it keeps retrieving the message every time so I see
more and more copies of it. I can manually go to the interesting.groups
and manually fix thing. At this point I'm starting to think this might be
more than a configuration problem with leafnode. I think I might try
running fetchnews under gdb.

I did look around some and found a couple things that were similar and
one patch, but it looks like leafnode has moved on to leafnode 2. 

-- 
Stan                Support your Coast Guard - get lost
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads