🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #130621

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

#130621
From: Jörg Lüders
Date: Mon, 11 Aug 2003 17:39
81 lines
4052 bytes
Mike Graham <mike@metalmangler.com>:

> In article <0s8i01x5p4.ln2@ID-90054.user.uni-berlin.de>, J�rg L�ders wrote:
> 
>> *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.
> 
>   Here's what I typed in:
> 
> [root@zippy root]# /usr/local/sbin/fetchnews -fvvv >fetchnews_result.txt

Try /usr/local/sbin/fetchnews -fvvv >fetchnews_result.txt 2>&1
There *must* be something in there.

> I tried searching/grepping for 'error', 'ERROR', etc.  I also scrolled
> through and viewed manually and couldn't find any errors.

Search for 'failed' or 'cannot.*create'.

>   So if it's writing the active file, then surely it doesn't have a problem
> with downloading it?  The active file *itself* gets updated every time
> fetchnews is run (at least, the file date keeps getting updated)

(Note: I'm not familiar with leafnode-1, but I'm trying to learn what
it is doing from the source code. I could be wrong here.)

As far as I can see, the active file is reconstructed from old data
if fetchnews can't update it. active.read is deliberately not created
in that case. This can be caused by:

- failing to connect to a server
- failing to read the group list
- failing to read the group descriptions

There is a message in every case.

> but fetchnews never touches the active.read file.

It's also possible that the file just can't be written. Again there is
a message.

>> That's what -f is supposed to do.
> 
>   And not re-create it?

It should be re-created if updating the active file succeeds.

> Version .24 wouldn't delete the active.read file. 

Sorry, I have enough trouble evaluating the .42 source, I won't start
doing the same for .24. After all .24 is irrelevant as long as .42
works.

>   And by using nodesc it will never download the active list again?  Or does
> 'nodesc' have some other function?

Sorry, I got this one wrong the first time. nodesc (as the name
indicates) does only help if the problem is with downloading the
group descriptions. Which is perfectly possible.

>>| 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.
> 
>   Yes, exactly.  That's the section, and it might be worth mentioning that
> the download is based on the file date of the active.read file.

Hm, one might argue whether the user should know about internal
mechanisms like that or not. But to be honest I just don't care.

>  There's an 'e' missing in there, by the way.  'blow' should be
> 'below', yes?

That would make sense. Perhaps you want to send a bug report? :->

Technical Details
Message-ID: <401l01x2c2.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!nntp.cs.ubc.ca!fu-berlin.de!uni-berlin.de!pd4b9e0f0.dip.t-dialin.NET!not-for-mail
References: <slrnbjcgq4.tvm.mike@zippy.metalmangler.com> <0s8i01x5p4.ln2@ID-90054.user.uni-berlin.de> <slrnbjd571.2id.mike@zippy.metalmangler.com>

Show Full Headers
Complete Article Headers
Message-ID: <401l01x2c2.ln2@ID-90054.user.uni-berlin.de>
Subject: Re: [Leafnode] Here's one for the FAQ
Date: Mon, 11 Aug 2003 19:39:48 +0200
From: Jörg Lüders <jlpublic-b4879@gmx.net>
References: <slrnbjcgq4.tvm.mike@zippy.metalmangler.com> <0s8i01x5p4.ln2@ID-90054.user.uni-berlin.de> <slrnbjd571.2id.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!nntp.cs.ubc.ca!fu-berlin.de!uni-berlin.de!pd4b9e0f0.dip.t-dialin.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 80
NNTP-Posting-Host: pd4b9e0f0.dip.t-dialin.net (212.185.224.240)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1060623920 33461580 212.185.224.240 (16 [90054])
X-Orig-Path: ID-90054.user.uni-berlin.de!not-for-mail
User-Agent: slrn/0.9.7.4 (Linux)