🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46035

Re: changing numbering in active file

#46035
From: Abby Franquemont
Date: Wed, 26 Apr 2000 00:00
121 lines
6057 bytes
In article <868zy0po41.fsf@amonduul.ecn.ou.edu>,
rmtodd  <rmtodd@amonduul.ecn.ou.edu> wrote:
>abby@ucan.foad.org (Abby Franquemont) writes:
>> 
>> I'm letting INN create overview data rather than using overchan (which
>> I actually know better). Shouldn't articles which INN accepted before
>> the active file got hosed, but after my last good active file that I used
>> to restore parts that were lost, have had overview data stored? 
>
>They should have, yes.  

Hrmmm. Well, hrmm. Next time I see it I'll go through the overview.DAT
for the group in question, before and after the renumber, to see if that
is in fact failing for some reason. It's possible that I had overview
corruption simultaneous with active corruption.

>> And, of more immediate interest to me since it would also address the
>> other thing I'm toying with (getting old articles from a transitioned
>> 1.7 spool into the overview data so they're visible to readers), is 
>> there a method for looking at what's on the spool and getting that
>> lock, stock, and barrel into the overviews? It seems as if makehistory
>> only does so for articles received after the most current changes to 
>> storage.conf, which is certainly valid, but if there's a means of 
>
>No, makehistory always scans the entire spool (or at least all spool
>areas listed in your storage.conf), and the sample command line I gave 
>should do that.  I'm not clear on what you mean by "most current changes 
>in storage.conf" here. 

Well. Actually it's the only storage.conf I've ever had. But the stuff
from my legacy spool, I still haven't been able to get into overviews.
Into the history file, yes -- but for some reason I can't track down,
not into the overviews.

Here's what happens: I run makehistory -bu -O -f filename. Unless I've
missed something, that's -b, remove articles without valid message-ids,
-u, assume innd is running, -O, create overviews too, -f for alternate
filename. 

Anyway, the makehistory runs and I get a slew of:

	makehistory[29592]: tradspool: can't determine class: 
	@0500000002510001C8EC0000000000000000@

So, I do "sm @0500000002510001C8EC0000000000000000@" to see what I can see:
Not found. My guess has been that these items are legacy spool items,
for which the storage class cannot be determined for some reason. What
that reason might be escapes me in this case though -- at a wild guess,
the storage manager just plain doesn't know about the legacy spool items.

Similarly, an article from my legacy spool...

Message-ID: <65fo00$isj$1@ucan.foad.org>, which is article 1 from my
local newsgroup foad.splat, posted 25 Nov 1997 (I've been schlepping
pieces of this spool around since I was running 1.4unoff4, about 4
actual physical servers ago, and 3 OS changes ago), and I do a grephistory
for that message-ID:

ucan# ls -al /news/foad/splat/1
-rwxrwxr-x  1 news  news  303 Nov 25  1997 /news/foad/splat/1

ucan# head /news/foad/splat/1
Path: ucan.foad.org!nntpbitches-r-us
From: abby@foad.org
Newsgroups: foad.splat
Subject: Testing
Date: 25 Nov 1997 23:46:08 GMT
Organization: Brute Force Cybernetics
Lines: 4
Message-ID: <65fo00$isj$1@ucan.foad.org>
NNTP-Posting-Host: ucan.foad.org
Xref: ucan.foad.org foad.splat:1

That article's there, but I can't get it into the history file or the
overviews. And actually, I guess we can throw out the bad lomark theory
as causing a problem since:

foad.splat 0000000406 0000000001 y

I actually reset those local groups already to have the correct lomark.

>> Oh, and also, is there a way to get the news.froup.IDX to update from
>> the news.froup.DAT? If so, then I can definitely turn out a quick and
>
>I don't think so, no.

Thanks.

>> dirty tool that'll index a legacy spool and get it into the overviews
>> even if the storage manager doesn't know about it, I think.
>
>If you have a 'tradspool' entry defined in storage.conf, the storage 
>manager is *supposed* to be able to find all the entries in your legacy spool,
>and makehistory should be able to call upon the storage manager to
>find and index all the articles in your legacy spool.  At least, that was
>the intention of the guy who wrote tradspool.c; if it doesn't work, we'd
>all like to know why.  

Hrmmm. Well, that's how Russ said it was supposed to work too. I wonder
if my active file's lomark everywhere has gotten upped such that it no
longer reflects what's actually on spool, and that could be causing it
to report the error trying to determine the storage class?

The only storage class I'm using is tradspool. I'm using tradindexed. 
My storage.conf entry for tradspool:

method tradspool {
        class: 1
        newsgroups: *
}

*shrug* It's really of academic interest to me I suppose. I would like to
keep my aged spool for my local froups, and the article numbers all the
same, and I managed to swing it moving from 1.4unoff4 on BSDI to 1.5 on
BSDI to 1.7 on OpenBSD and so now, dangitall, I ain't about to let it go
just 'cause I wanted to play with 2.3 on the latest OpenBSD. *grin*
-- 
Abby Franquemont        "I might have amnesia -- but I'm not stupid!"
J. Random BOFH                                         --Jackie Chan

Technical Details
Message-ID: <8e7qub$b9g$1@ucan.foad.org>
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: <8e20e0$r12$1@news.jump.net> <863doane7i.fsf@amonduul.ecn.ou.edu> <8e5m05$j69$1@ucan.foad.org> <868zy0po41.fsf@amonduul.ecn.ou.edu>

Show Full Headers
Complete Article Headers
Message-ID: <8e7qub$b9g$1@ucan.foad.org>
Subject: Re: changing numbering in active file
Date: Wed, 26 Apr 2000 00:00:00 +0000
From: abby@ucan.foad.org (Abby Franquemont)
References: <8e20e0$r12$1@news.jump.net> <863doane7i.fsf@amonduul.ecn.ou.edu> <8e5m05$j69$1@ucan.foad.org> <868zy0po41.fsf@amonduul.ecn.ou.edu>
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: 616101674
X-Complaints-To: news@foad.org
X-Trace: ucan.foad.org 956788491 11568 216.112.71.230 (26 Apr 2000 22:34:51 GMT)
Organization: Brute Force Cybernetics
Reply-To: abby@foad.org
Newsgroups: news.software.nntp