Article View: news.software.nntp
Article #50012Re: INN: active out of sync
From: Paul Tomblin
Date: Sat, 20 Jan 2001 18:37
Date: Sat, 20 Jan 2001 18:37
41 lines
2185 bytes
2185 bytes
In a previous article, tez@pierrot.co.uk (Terrance Richard Boyes) said:
>The problem appears to be in the active file
>
>news.software.nntp 0000000992 0000000432 y
>
>I've tried ctlinnd renumber, and reload, but can't get the newer
>article numbers into the active file.
Try rebuilding the history file.
This is the script I use. Obviously you'll have to change the paths.
#!/bin/sh
. /home/news/lib/innshellvars
ctlinnd throttle "Rebuilding history file"
cd /home/news/db/
echo "making history"
if makehistory -n -f history.n ; then
:
else
echo Error creating history file!
exit 1
fi
echo "checking for mistakes"
# The following line can be used to retain expired history
# It is not necessary for the history file to be sorted.
awk 'NF==2 { print; }' <history >>history.n
# View history file for mistakes.
if makehistory -r -s `wc -l <history` -f history.n; then
mv history.n history
mv history.n.dir history.dir
mv history.n.pag history.pag
fi
echo "done"
ctlinnd go ''
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
USER, n.:
The word computer professionals use when they mean "idiot".
Technical Details
Message-ID:
<94cltj$gjh$1@allhats.xcski.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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.kjsl.com!xcski.com!not-for-mailReferences:
<20010120.182542.9E9801DE.Utaa@pierrot.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <94cltj$gjh$1@allhats.xcski.com> Subject: Re: INN: active out of sync Date: Sat, 20 Jan 2001 18:37:39 +0000 From: ptomblin@xcski.com (Paul Tomblin) References: <20010120.182542.9E9801DE.Utaa@pierrot.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!supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!news.kjsl.com!xcski.com!not-for-mail Newsgroups: news.software.nntp Organization: Tomblin Computer Consulting, Rochester, New York and Ottawa, Ontario Lines: 40 Reply-To: ptomblin@xcski.com (Paul Tomblin) NNTP-Posting-Host: allhats.xcski.com X-Trace: allhats.xcski.com 980015859 17009 192.168.1.1 (20 Jan 2001 18:37:39 GMT) X-Complaints-To: abuse@xcski.com NNTP-Posting-Date: 20 Jan 2001 18:37:39 GMT X-Newsreader: trn 4.0-test70 (17 January 1999) Originator: ptomblin@xcski.com (Paul Tomblin)