🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by pcolmer Mon, 23 Nov 1998 00:00
Problems configuring INN 2.2b2
#33227
Author: pcolmer
Date: Mon, 23 Nov 1998 00:00
29 lines
1839 bytes
I am trying to set up INN 2.2b2 as a replacement for our news server which
died earlier this year and which was running INN 1.5.

I've got 2 9Gb drives, and I've partitioned it into blocks of 2Gb for use with
CNFS. That all appears to be working and cnfsstat seems happy.

We have a number of internal newsgroups, some of which are not supposed to
expire (as they are used as a technical resource). So, I've restored this
files from tape and then used makehistory to import those messages into the
CNFS system.

The uniform overview is happy about this and lists an entry for each message.
However, nnrp reports that the particular newsgroups are empty.

What am I doing wrong? Is it possible to have newsgroups that don't expire at
all with CNFS?

I'm wanting to get this bit working before I start working on the external
newsfeed, as this is a good way of testing the system and I do need to get the
non-expiring newsgroups restored.

Thanks.

--Philip

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Problems configuring INN 2.2b2
#33212
Author: Fluffy
Date: Mon, 23 Nov 1998 00:00
12 lines
1265 bytes
pcolmer@acorn.com <pcolmer@acorn.com> wrote:

> What am I doing wrong? Is it possible to have newsgroups that don't
> expire at all with CNFS?

For groups that need special expiry rules, use the timehash method.
It employs file-per-article storage, so the fixed buffer problem won't
get in your way.  (You can still use CNFS for groups that expire
normally.)


Re: Problems configuring INN 2.2b2
#33275
Author: Kjetil Torgrim Homme
Date: Tue, 24 Nov 1998 00:00
62 lines
2779 bytes
[Phil Colmer]

>   We have a number of internal newsgroups, some of which are not
>   supposed to expire (as they are used as a technical resource). So,
>   I've restored this files from tape and then used makehistory to
>   import those messages into the CNFS system.
>   
>   The uniform overview is happy about this and lists an entry for
>   each message.  However, nnrp reports that the particular
>   newsgroups are empty.

You need to update the overview files (one per group) as well as the
uniover files.

>   What am I doing wrong? Is it possible to have newsgroups that
>   don't expire at all with CNFS?

Not really.  You can make a metacycbuff which will "never" run out of
room, but if you misjudge it and need to add a another cycbuff, that
won't help much.  It will only make the expire go slower.  This is due
to the simplistic round robin algorithm used in INN.  Use timehash
instead.


Kjetil T.

PS. I use this script to rebuild all indices and history from spool.
    TMPDIR is used by sort, and needs to have room for a copy of the
    history file.  This takes ~8 hours on my machine with 8 GB spool.
    (I only use this whenever one of the disks in my newslib stripe
    die, which is altogether too often ;-) It will fix the overview
    problem, but will not migrate articles into timehash.

#! /bin/sh

. /news/lib/innshellvars

TMPDIR=/news/disk/c3t3/tmp; export TMPDIR
echo "Rebuilding essential news databases"

rm -f $PATHTMP/newindex
rm -f $PATHTMP/newindex.sorted

echo -n "Counting history entries: "
COUNT=`/bin/ls -l $PATHDB/history | awk '{ printf ("%d", $5/100) }'`
echo $COUNT

echo "Scanning spool"
$PATHBIN/makehistory -I $PATHTMP/newindex -O -n 

echo "Rebuilding history index"
$PATHBIN/makehistory -o -r -s $COUNT

echo "Sorting overindex input file"
sort -t' ' +1 -2 $PATHTMP/newindex > $PATHTMP/newindex.sorted

echo "Rebuilding overindex"
expireindex -a -o -z < $PATHTMP/newindex.sorted

echo "Rebuild completed"

Re: Problems configuring INN 2.2b2
#33277
Author: Niels Bakker - Non PGP encrypted...
Date: Tue, 24 Nov 1998 00:00
14 lines
1131 bytes
In article <1rpvadrg08.fsf@haey.ifi.uio.no>, Kjetil Torgrim Homme wrote:

>> The uniform overview is happy about this and lists an entry for
>> each message.  However, nnrp reports that the particular
>> newsgroups are empty.
> You need to update the overview files (one per group) as well as the
> uniover files.

How does one exactly do this?


	-- Niels.

Re: Problems configuring INN 2.2b2
#33326
Author: Herbert Hartwig
Date: Thu, 26 Nov 1998 00:00
40 lines
2285 bytes
You have to rebuild the overview.index files. If they are missing nnrpd can't read
any articles, even though they appear in the unified overview. These files can be
recreated by using makehistory and expireindex.

Herb

pcolmer@acorn.com wrote:

> I am trying to set up INN 2.2b2 as a replacement for our news server which
> died earlier this year and which was running INN 1.5.
>
> I've got 2 9Gb drives, and I've partitioned it into blocks of 2Gb for use with
> CNFS. That all appears to be working and cnfsstat seems happy.
>
> We have a number of internal newsgroups, some of which are not supposed to
> expire (as they are used as a technical resource). So, I've restored this
> files from tape and then used makehistory to import those messages into the
> CNFS system.
>
> The uniform overview is happy about this and lists an entry for each message.
> However, nnrp reports that the particular newsgroups are empty.
>
> What am I doing wrong? Is it possible to have newsgroups that don't expire at
> all with CNFS?
>
> I'm wanting to get this bit working before I start working on the external
> newsfeed, as this is a good way of testing the system and I do need to get the
> non-expiring newsgroups restored.
>
> Thanks.
>
> --Philip
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own




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