🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #50532

Re: inn 2.3 storing problem

#50532
From: Terrance Richard Boyes
Date: Sat, 10 Feb 2001 01:37
52 lines
3821 bytes
Graeme Mathieson <graeme+usenet@mathie.cx> wrote:
> tez@pierrot.co.uk (Terrance Richard Boyes) writes:

>> Damir Jurica <djurica@damir.globalnet.hr> wrote:
>> 
>> > recently we ran out of power at our news server and i news server got
>> > throttled and started giving out messages ..
> [snip]
>> Shutdown inn, check that your active file didn't get corrupted
>> in the crash[1], rebuild history/overview, start inn.

> I'm about to discover this has already been answered, but if the active
> file is out of sync with the tradspool[2], what's the best way to resync
> it?  I'm told that `ctlinnd renumber` no longer does what I thought it
> did.

Well the renumber option is the best, when it works... When things
are running fine a renumber will rewrite the active file properly.
Unfortunately it seems that in some situations, like a power outage
it doesn't always work :(

> A wee bit of shell-script hackery to rebuild the active file based on
> the article numbers stored on disk sorted it for me but something tells
> me there's an easier way.

Uhm, I thought of trying that, but then I though that there
could still be problems as the group.index file would also be
out of sync ? 

If you check the timestamps on various files you'll notice that
the history/overview files get updated as articles arrive (as does
~/log/news though with a slight delay), but the group.index/active
seem to be updated at some odd[1] interval.

[1] it may be logical, but I don't have a clue what it is ...

With a bad power-down style crash there's also always the
_possibility_ that the articles/overview/history will be out
of sync anyway. So trashing the overview/history and
doing a complete rebuild may be necessary.

And by the time you've faffed about checking exactly what's
wrong it may have taken more time than doing that rebuild.
Of course if you're the sort of person that gets some odd
sense of satisfaction at knowing exactly what's not working
then doing the investigation is fun :)

-- 
<URL:http://www.pierrot.co.uk/>                                  Team AMIGA
Your step will soil many countries.

Technical Details
Message-ID: <20010210.013729.9E9801DE.pbaa@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!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!news.clara.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx>

Show Full Headers
Complete Article Headers
Message-ID: <20010210.013729.9E9801DE.pbaa@pierrot.co.uk>
Subject: Re: inn 2.3 storing problem
Date: Sat, 10 Feb 2001 01:37:29 +0000
From: tez@pierrot.co.uk (Terrance Richard Boyes)
References: <slrn97t2d0.mcd.djurica@damir.globalnet.hr> <20010205.192940.9E9801DE.2Gaa@pierrot.co.uk> <87lmrk40ez.fsf@homer.mathie.cx>
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!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!news.clara.net!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: ECL.Net
X-Trace: mail2news.demon.co.uk 981769063 mail2news:10106 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!finch-post-10.mail.demon.net!pierrot.demon.co.uk!pierrot.co.uk!tez@pierrot.co.uk
X-Lan-Trace: news.pierrot.lan 20010210.013729 news:pbaa IDENT tez@pierrot.demon.co.uk
User-Agent: tin/1.4.3-20000502 ("Marian") (AMIGA)
X-Cancel-Lock: TEZT:4e8dd454a5144188cd0930372c9bd829 d798b557248330a7bfc245eae6d94d42
X-PGP-Keyfile: <URL:http://www.pierrot.co.uk/pgpauth/>
X-PGP-Fingerprint: 20 66 0F E8 85 64 9C 2C 6F 82 6F 19 6C 2F 6A 1D
X-PGP-Auth: pub 512/3A14C4B9 1999/04/22 Tez Boyes <tez@pierrot.co.uk> iQBVAwUBOoSbXkXush46FMS5AQERHQH+IB5NbUQQv7xycuT0NsDNabxidvtrYBTV oWlwx5/WyMGsF+vD3vbrVedpvgAz47vEgTirgvX5yDGmJxbZzLLG5Q== =LTi7
X-NaMLServ: $VER: v0.9b <tez@pierrot.co.uk>
Lines: 51