🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68873

Re: INN article retrieval inconsistencies

#68873
From: pbs
Date: Tue, 30 Mar 2004 21:17
62 lines
3700 bytes
Jeffrey M. Vinocur wrote:
> In article <c47snt$540$1@squay.lomarline.freeserve.co.uk>,
> pbs  <pnews@lomarline.freeserve.co.uk> wrote:
> 
>>pbs wrote:
>>
>>>  su root -c  /etc/init.d/innd stop
>>>  rm -fr $HOME/overview/*
>>>  makehistory -O -x -F
>>>  su root -c "/etc/init.d/innd start"
>>>  ctlinnd renumber ""
>>>  makehistory -b -f history.n -I -O
> 
> 
> This doesn't seem like exactly the right recipe to me.  Are you
> rebuilding the second time while INN is running?  And did you

Yes. But no one is accessing the system.

> ever rename the history.n files to remove the .n?

Whoops  no.
I had tacked this on the end of my script to try to fix the problem of 
none access via number, but it seems that it does not do anything to 
inn. I've now re-written the script to do a full rebuild.

With the initial script, I am very much monkey sees monkey does I took 
the first part of this script from
INN 2.x FAQ -- 4.4. tradspool: could not open ... File exists
	makehistory -O -x -F

(and a couple of archived usenet postings which advised the same thing)
But it seems that in my case anyway although it fixed the "File exists" 
problem it did not fix the more subtle problem of denial of access to 
some articles by number.

>>The problem seems to affect articles which were download between the 
>>last time the cron script news.daily  was run and the crash. I would 
>>guess it is caused by inconsistencies between the overview and the 
>>history database.
> 
> 
> Seems reasonable.  If you can afford to take the server down for
> a full rebuild, just rebuild history and overview both at once,
> and be sure to do makedbz as well if necessary (some versions of
> makehistory automatically generate new .dir, .hash, and .index
> files to go along with the new history, and some require you to
> run makedbz yourself).

Did this and the system now allows access to all the articles via number 
including those which had gone AWAL. Thanks

>>How can I tell which method for the overview storage inn is using?
> 
> 
> "ovmethod" in inn.conf.

grep "ovmethod" /etc/news/inn.conf
ovmethod:               tradindexed

Thanks.
Technical Details
Message-ID: <c4co5g$ob3$1@squay.lomarline.freeserve.co.uk>
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!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!feedeast.aleron.net!newsfeed.yul.equant.net!c03.atl99!news.usenetserver.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
References: <c3r3eh$6k8$1@squay.lomarline.freeserve.co.uk> <c47snt$540$1@squay.lomarline.freeserve.co.uk> <c4820a$6vk$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <c4co5g$ob3$1@squay.lomarline.freeserve.co.uk>
Subject: Re: INN article retrieval inconsistencies
Date: Wed, 31 Mar 2004 09:17:35 +1200
From: pbs <pnews@lomarline.freeserve.co.uk>
References: <c3r3eh$6k8$1@squay.lomarline.freeserve.co.uk> <c47snt$540$1@squay.lomarline.freeserve.co.uk> <c4820a$6vk$1@puck.litech.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!archiver1.google.com!news1.google.com!news.glorb.com!border1.nntp.ash.giganews.com!nntp.giganews.com!feedeast.aleron.net!newsfeed.yul.equant.net!c03.atl99!news.usenetserver.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: InterNetNews site lomarline.freeserve.co.uk
Lines: 61
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en, en-us
In-Reply-To: <c4820a$6vk$1@puck.litech.org>
X-Original-NNTP-Posting-Host: ip-210-185-5-102.internet.co.nz
X-Original-Trace: 31 Mar 2004 12:08:27 +1200, ip-210-185-5-102.internet.co.nz
NNTP-Posting-Host: 210.48.22.5
X-Complaints-To: abuse@tsnz.net
X-Trace: news02.tsnz.net 1080692165 210.48.22.5 (Wed, 31 Mar 2004 12:16:05 NZST)
NNTP-Posting-Date: Wed, 31 Mar 2004 12:16:05 NZST