🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Brian Weaver Wed, 05 Aug 1998 00:00
corrupt overview information
#30301
Author: Brian Weaver
Date: Wed, 05 Aug 1998 00:00
15 lines
1143 bytes
I'm getting corrupt overview information to my news reader
from our INN-2.1 server. IS there an easy way to rebuild
all of the overview without losing the entire spool? We
are running storageapi/CNFS

thanks..

-- 
------------------------------------------------------------------------
Brian Weaver                                     brian(at)psd.k12.co.us
UNIX Guru
Poudre School District, Ft. Collins, CO.
http://www.psd.k12.co.us

Re: corrupt overview information
#30314
Author: bill davidsen
Date: Thu, 06 Aug 1998 00:00
32 lines
2011 bytes
In article <6qafab$2sj$1@alpha.psd.k12.co.us>,
Brian Weaver <brian@psd.k12.co.us.delete.this.to.email.me> wrote:
| I'm getting corrupt overview information to my news reader
| from our INN-2.1 server. IS there an easy way to rebuild
| all of the overview without losing the entire spool? We
| are running storageapi/CNFS

Note that I'm not going to try this on any of my machines, use at your
own risk.

o  shutdown innd, and nnrpd if you run as a daemon

o  build an index, "makehistory -I<file>"

o  sort the index and rebuild your index files
   "sort -t' ' +1 -2 <file> | expireindex -a -o -z"

If you get "can't malloc 0 bytes" be sure that overviewmmap is "true"
for expireindex,,even if you run with it off. There seems to be a bug in
the non-mmap logic which sees an empty (or missing) file and tried to
malloc a buffer of the file size to hold the data. I turn on the mmap,
run expireindex, and turn it off, since I've had all sorts of problems
with it and readers and AIX.

-- 
Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc
  What do you mean I shouldn't do things like that at my age? At my
age if you don't do things like that you might die of natural
causes or boredom!


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads