🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18412

Re: leafnode and tin

#18412
From: Conrad Sabatier
Date: Wed, 11 Jun 1997 00:00
54 lines
2874 bytes
[ posted and mailed ]

In article <stkln5.l5.ln@localhost>, Jim Irwin <jirwin@mail.netshop.net> wrote:

[ stuff about installing leafnode and trying to read with tin ]

>I looked at /var/spool/news/active.read and it is an empty file. I take 
>it that this is where leafnode stores the information about which 
>newsgroups are being read.

No, active.read is just a "flag" file.  Fetch looks at the timestamp on it
to determine whether or not it should refetch the active file (after a
certain period).  The actual "active" file is stored in
/usr/lib/leafnode/groupinfo.

Take a look at /var/spool/news/interesting.groups.  There *should* be a
file there with the name of each group you've subscribed to and tried to
read in tin.  If not, something is very wrong.

It could be tin.  When I first installed leafnode, I got a count of "1" in
each new group I subscribed to (I was using knews as my newsreader), and
this count was incremented on each subsequent run of the newsreader 
until I actually opened the group and it was reset to zero, at which point 
the next run of fetch actually started pulling in articles.  

Tin may be detecting that this count is bogus and resetting it to zero,
therefore not allowing you to read the group, which is essential for
getting things started.  In other words, you have to not only subscribe to
a group, you have to actually open it, before leafnode will flag it as an
"interesting" group and fetch will start grabbing articles for it.

Try this as root (if you *do* have the files in interesting.groups; if
not, you may have to create them yourself):

cd /var/spool/news/interesting.groups
touch *

This will update the timestamp on these files, and should cause fetch to
start grabbing articles for them.  In fact, I use this little trick in a
script that I use to run fetch via cron.  This way, all my subscribed
groups are refreshed, even if I haven't been reading them (I like them all
to stay current).

These files in interesting.groups, by the way, are just like active.read.
They contain no information; only the timestamp is important.

Hope this helps.
-- 
Conrad Sabatier
http://www.neosoft.com/~conrads


Technical Details
Message-ID: <somnn5.he5.ln@dolphin.neosoft.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <stkln5.l5.ln@localhost>

Show Full Headers
Complete Article Headers
Message-ID: <somnn5.he5.ln@dolphin.neosoft.com>
Subject: Re: leafnode and tin
Date: Wed, 11 Jun 1997 00:00:00 +0000
From: conrads@neosoft.com (Conrad Sabatier)
References: <stkln5.l5.ln@localhost>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 247776555
Organization: NeoSoft, Inc.
Keywords: leafnode fetch tin Slackware
Reply-To: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: news.software.nntp
Originator: conrads@neosoft.com (Conrad Sabatier)