🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34906

CNFS & expire & overview corruption

#34906
From: Drazen Gemic
Date: Thu, 21 Jan 1999 00:00
51 lines
2286 bytes
HI !

I have some experience with items above.

To make your INN 2.x CNFS server expire articles on newsgroup basis,
together with overview and overview index, you have to specify:

/news.daily expireover lowmark flags='-v1 -c -N'

in news.daily command line.
By newsgroup basis I mean expiring the way the traditional storage method does.

'-c' is for expiring articles on newsgroup basis
'-N' force using expire.ctl.

---------------

To fix corrupted history and overview I recommend following steps:

- stop the server:

ctlinnd shutdown recovery

- delete history, history.index, history.hash and history.dir
- delete spool/uniover/*/overview
- delete spool/overview/*
 Now you have only articles and active file left. This is enough for full recovery.
- run:

makehistory -i -O -I index.new

At this point the new history and uniover are completed
You can use some other name instead of index.new. Be carefull, the file gets pretty large.
Remember to rename history.n.index to history.index, history.n.hash to history.hash
and history.n.dir to history.dir.

- when the previous step is completed run:

sort  -t' ' +1 -2 index.new | expireindex -a -o -z.

to build overview index.


It takes around three hours to finish all that on my not so fast server with three incoming full feeds.

                                                                                                                        Drazen
Gemic



Technical Details
Message-ID: <785obi$m2f$1@bagan.srce.hr>
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

Show Full Headers
Complete Article Headers
Message-ID: <785obi$m2f$1@bagan.srce.hr>
Subject: CNFS & expire & overview corruption
Date: Thu, 21 Jan 1999 00:00:00 +0000
From: "Drazen Gemic" <dgemic@hotpop.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!not-for-mail
X-Deja-AN: 435004300
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: news@news.carnet.hr
X-Trace: bagan.srce.hr 916874418 22607 161.53.3.202 (20 Jan 1999 23:20:18 GMT)
Organization: CARNet, CROATIA
Mime-Version: 1.0
NNTP-Posting-Date: 20 Jan 1999 23:20:18 GMT
Newsgroups: news.software.nntp