🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29152

Re: INN2.0: rebuild overview with cnfs

#29152
From: Michael Hall
Date: Sun, 14 Jun 1998 00:00
38 lines
2295 bytes
On 14 Jun 1998, Andreas Muck wrote:

> I'm using inn 2.0 with cnfs storage. I moved the spool files around
> today because I didn't like the setup I configured initially. I edited
> the cnfs files with emacs to change the path which is obviously stored
> in the files and it seems it worked.
> 
> But I removed the overview files thinking I can rebuild them with
> expireover like with traditional storing. This seems to be a BIG
> mistake :-) Is there a way to recover the overview information from
> the cnfs files? I have storageapi set to yes and overchan running.
> 
> I still have the history files and I tried "makehistory -O -x -t h"
> but except eating up about 200MB of virtual memory it didn't seem to
> do anything.

    "makehistory -O -I <somefilename>"

Will rebuild your history files as well as the [index no]/overview files.

    "sort -t' ' +1 -2 <somefilename> | expireindex -a -o -z"

Will rebuild your overchan-created files...      

Since you already have history files if you don't want to rebuild them
you should be able to do instead:

    "makehistory -x -t h -O -I <somefilename>"
    "sort -t' ' +1 -2 <somefilename> | expireindex -a -o -z"
 
--
Mike Hall <mhall@riverside.org> - On the net at http://www.riverside.org
System Administrator (*nix, Perl, CGI hacker, certified OS/2 Specialist)



Technical Details
Message-ID: <Pine.LNX.3.96.980614111534.10374A-100000@ukiah.riverside.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: <m3u35onoew.fsf@koala.rhein-neckar.de>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.3.96.980614111534.10374A-100000@ukiah.riverside.org>
Subject: Re: INN2.0: rebuild overview with cnfs
Date: Sun, 14 Jun 1998 00:00:00 +0000
From: Michael Hall <mhall@ukiah.riverside.org>
References: <m3u35onoew.fsf@koala.rhein-neckar.de>
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: 362588548
To: Andreas Muck <andi@koala.rhein-neckar.de>
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: usenet@riverside.org
X-Trace: ukiah.riverside.org 897848912 11116 199.217.72.204 (14 Jun 1998 18:28:32 GMT)
Organization: Riverside, Friday Harbor, WA.
Mime-Version: 1.0
NNTP-Posting-Date: 14 Jun 1998 18:28:32 GMT
Reply-To: Michael Hall <mhall@ukiah.riverside.org>
Newsgroups: news.software.nntp