Article View: news.software.nntp
Article #29918Re: Best way to reset a cycbuff?
From: Hitesh Patel
Date: Mon, 20 Jul 1998 00:00
Date: Mon, 20 Jul 1998 00:00
46 lines
2201 bytes
2201 bytes
I have had to do this a couple of times. Here's how I do it...
1. Shutdown INN (ctlinnd shutdown 'Rebuild')
2. Change DIR to /usr/local/news/db
3. Run this command:
makehistory -I oindex -O
This will totally rebuild the history database (this could take a
while depending on the number of articles
and speed of your machine etc..) and create a file called oindex
will the overview data in it.
4. If the history.n.* files exist do this:
mv history.n.dir history.dir
mv history.n.hash history.hash
mv history.n.index history.index
NOTE: Depending on whether you are using tagged-hash or not the
filenames will be different. If they
are just move the files so they are like history.dir not
history.n.dir
5. Now you sort the oindex files created by makehistory and pipe it to
expireindex which creates all the
relevant .overview files in your overview database.
sort -t' ' +1 -2 oindex | expireindex -a -o -z
6. Fire INN back up.
This should all work pretty easily.. i've done it a couple of times on
different boxes and it alway's works.
--
Hitesh Patel
Assistant Network Administrator
Preferred Systems
hitesh@presys.com
http://www.presys.com
Technical Details
Message-ID:
<35B3804A.619C891A@presys.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-mailReferences:
<35B2EFF7.73D8DD81@admin.big-orange.net>Show Full Headers
Complete Article Headers
Message-ID: <35B3804A.619C891A@presys.com> Subject: Re: Best way to reset a cycbuff? Date: Mon, 20 Jul 1998 00:00:00 +0000 From: Hitesh Patel <hitesh@presys.com> References: <35B2EFF7.73D8DD81@admin.big-orange.net> 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: 373230435 Content-Transfer-Encoding: 7bit To: Niels.van.Sluis@admin.big-orange.net X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@presys.com X-Trace: news.presys.com 900945303 610 206.100.164.237 (20 Jul 1998 14:35:03 GMT) Organization: Preferred Systems (http://www.presys.com) Mime-Version: 1.0 Reply-To: hitesh@presys.com NNTP-Posting-Date: 20 Jul 1998 14:35:03 GMT Newsgroups: news.software.nntp