🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #130556

Re: [Leafnode] Here's one for the FAQ

#130556
From: Jörg Lüders
Date: Sun, 10 Aug 2003 16:35
78 lines
3907 bytes
Mike Graham <mike@metalmangler.com>:

>   When I ran fetchnews -f on my newly installed .42 implementation, having
> upgraded from .24, it broke.  No error messages of any consequence, but it
> started downloading all of the newsgroup names again every time I ran it. 

*No* error messages at all? That's hard to believe. Increase verbosity,
tee output to a logfile (don't forget stderr) and check the log
carefully.

> The new implementation had run just fine *prior* to running fetchnews -f.
> 
>   Those of you who were watching will doubtlessly remember my previous
> anguish with this same problem with .24 whereby for some reason it simply
> refused to 'touch' the active.read file, so once the 90 days were up it
> would reread the whole active group list every time.
> 
>   That got sorted out by manually touching the active.read file.

Summary: Downloading the group descriptions fails after the upgrade,
and it did so before the upgrade.

>   Now I upgraded and it ran fine, though it was giving me informational
> messages about having conflicting group names, and it would pick one of the
> names and ignore the other one.

That *could* be caused by your other problem. I'm not sure.

> I thought a rebuild was in order, so I ran fetchnews -f.

Getting fetchnews -f to work would help in that case, yes.

> Fetchnews, in its infinite wisdom, decided to delete the
> active.read file entirely

That's what -f is supposed to do.

> and refused to recreate it.  It downloaded the whole active list
> three times in a row.

Your old problem again. Time to try finding the reason for this instead
of working around the problem every 90 days, don't you think?

>   Having been through this whole debacle previously, I simply created a file
> in the /var/spool/news directory called 'active.read', and it's working fine
> now

You fooled fetchnews into thinking it's not time to reread the active
file, so it never tries again and thus cannot fail. No error, but no
effect also. Besides, using nodesc would be a more convenient way to
achieve this.

> though I have every expectation that it will misbehave again once the
> 90 days are up.

No doubt.

>   Regardless of whether this is indicative of a bug in leafnode, it would be
> worth putting a line or two in the FAQ in the section dealing with
> 'fetchnews keepd downloading the full newsgroup list every time it runs'.
> suggesting that one check the status of the active.read file.

You mean this?

| Q:.
|
| fetchnews keeps downloading the full newsgroup list every time it runs
| A:.
|
| Watch the fetchnews output for error messages, if you see a message
| such as Reading newsgroups descriptions failed: 501 bad command usage.
| then try adding nodesc = 1 blow the server=news.example.org line of
| the server that showed this error.

I suspect that's exactly what you ar looking for, unless you find an
error message indicating otherwise.

Technical Details
Message-ID: <0s8i01x5p4.ln2@ID-90054.user.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd9504087.dip.t-dialin.NET!not-for-mail
References: <slrnbjcgq4.tvm.mike@zippy.metalmangler.com>

Show Full Headers
Complete Article Headers
Message-ID: <0s8i01x5p4.ln2@ID-90054.user.uni-berlin.de>
Subject: Re: [Leafnode] Here's one for the FAQ
Date: Sun, 10 Aug 2003 18:35:44 +0200
From: Jörg Lüders <jlpublic-b4879@gmx.net>
References: <slrnbjcgq4.tvm.mike@zippy.metalmangler.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd9504087.dip.t-dialin.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 77
NNTP-Posting-Host: pd9504087.dip.t-dialin.net (217.80.64.135)
X-Trace: news.uni-berlin.de 1060535941 31521266 217.80.64.135 (16 [90054])
X-Orig-Path: ID-90054.user.uni-berlin.de!not-for-mail
User-Agent: slrn/0.9.7.4 (Linux)