🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Liam Friel Wed, 07 Jun 2000 00:00
Strange INN 2.2 Posting problem
#46848
Author: Liam Friel
Date: Wed, 07 Jun 2000 00:00
38 lines
2003 bytes
Hi,

scenario: RH6.2, INN2.2 serving local groups only. No incoming/outgoing
feeds.
Local groups initially populated from an old server using suck 4.2.2. Old
server was NT/IIS.
Non administrator (me) administering the thing.

I have about 15 groups or so. All except one of them work perfectly, as far
as we can tell.

When anyone posts to the problem group, the post appears to a newsreader
(any newsreader that we've tried) as a new post, but (a) with the title of
an old, existing post from the group and (b) with the same date/time of
posting as the old, existing post. This group has 90 or so existing posts.
Apart from the new posts to the group, the old posts have the correct thread
structure, correct matching titles/bodies etc.

Behaviour is the same for new posts to this group, or replies to existing
posts in the group. The posts (new or replies) correctly appear in the
var/spool directory structure in the right place, with the next available
filename, and contain the correct information as far as I can tell.

Posts to all other groups work normally.

I tried rebuilding the history database, but this didn't seem to fix the
problem. Any hints for me?

(thanks for the help I've received here recently, btw)

Regards,
Liam





Re: Strange INN 2.2 Posting problem
#46844
Author: Paul Tomblin
Date: Wed, 07 Jun 2000 00:00
19 lines
1660 bytes
In a previous article, "Liam Friel" <liam.friel@s3group.com> said:
>Behaviour is the same for new posts to this group, or replies to existing
>posts in the group. The posts (new or replies) correctly appear in the
>var/spool directory structure in the right place, with the next available
>filename, and contain the correct information as far as I can tell.
>I tried rebuilding the history database, but this didn't seem to fix the
>problem. Any hints for me?

Try blowing away and rebuilding the .overview files for those groups.

You can usually find those files in spool/overview/
You rebuild them using "mkhistory -O", I think.

-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
To ensure privacy and data integrity this message has been encrypted
using dual rounds of ROT-13 encryption.

Re: Strange INN 2.2 Posting problem
#46860
Author: Liam Friel
Date: Thu, 08 Jun 2000 00:00
29 lines
1612 bytes
> Try blowing away and rebuilding the .overview files for those groups.
>
> You can usually find those files in spool/overview/
> You rebuild them using "mkhistory -O", I think.

I am using the traditional storage method, so I think this means
makehistory -O won't work. At least, it didn't work for me. What did work
though as I found out by reading the archives of this group was just
throwing away the .overview file for that group (and not replacing it at
all).

So two related questions:
1. What is .overview for, if I can throw it away with no observed ill
effects (at least none so far)

and a more general question:

2. Can someone recommend a good reference on how all the myriad of INN
components fit together, the files used, what they are for and so on.

Thanks,
Liam





Re: Strange INN 2.2 Posting problem
#46868
Author: Geoff Wilson
Date: Thu, 08 Jun 2000 00:00
73 lines
3559 bytes
Liam Friel <liam.friel@s3group.com> wrote on the Thu, 8 Jun 2000 10:15:57 +0100:

>> Try blowing away and rebuilding the .overview files for those groups.
>> You can usually find those files in spool/overview/
>> You rebuild them using "mkhistory -O", I think.

> I am using the traditional storage method, so I think this means
> makehistory -O won't work. At least, it didn't work for me. What did work
> though as I found out by reading the archives of this group was just
> throwing away the .overview file for that group (and not replacing it at
> all).

The following shell script I got from this group a long time ago and has
worked well for me with INN 2.x. I know it works with CNFS, and it should be
worth a try for tradspool. It basically scans through the spool, builds you a
new history file, sorts it, then uses that to create overview information.

---- begin ------
#! /bin/sh

. /usr/local/news/lib/innshellvars

echo "Rebuilding essential news databases"

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

echo "Scanning spool"
rm -f $PATHTMP/newindex

$PATHBIN/makehistory -I $PATHTMP/newindex -O -n

echo -n "Counting history entries: "
COUNT=`wc -l $PATHDB/history | awk '{ print $1 }'`
echo $COUNT

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"     

------- end ------

You can probably glean something of use from it. My work keeps wanting to
change the hardware lying around on the news server, so for removing CNFS
buffers from the spool, this has proved quite handy to regenerate everything
else. It will take a long time to run (depending on the IO resources of your
server), and make sure you have enough space on the drive that ~news/tmp is
stored.

> 2. Can someone recommend a good reference on how all the myriad of INN
> components fit together, the files used, what they are for and so on.

For my two cents worth, one of the best ways to try to figure this out is to
try things out on a 'test' server. The man pages are quite useful for all the
various components, and after awhile it starts to make more sense as to how
INN fits together. Unfortunately, this approach takes time ;)

Geoff

-- 
	a paranoid is just someone with all of the facts at his disposal
		- william seaward burroughs  1914-1997 

Geoff M. Wilson <gmwils@zark.thedonkeys.org>  www.zark.thedonkeys.org/~gmwils

Re: Strange INN 2.2 Posting problem
#46870
Author: Paul Tomblin
Date: Thu, 08 Jun 2000 00:00
19 lines
1711 bytes
In a previous article, "Liam Friel" <liam.friel@s3group.com> said:
>1. What is .overview for, if I can throw it away with no observed ill
>effects (at least none so far)

If you throw it away, every news reader that connects to that newsgroup
will have rebuild its internal equivalent.  This is time consuming.  The
.overview file is there as an optimization for threading newsreaders and
contains information like subject, userid, references and message id.

Come to think of it, you might have to use expireover -a to rebuild the
overview database.

-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"and by God I *KNOW* what this network is for, and you can't have it."
    - Russ Allbery draws a line in the sand for Usenet.
    (http://www.xnet.com/~raven/Sysadmin/Rant.html)

Re: Strange INN 2.2 Posting problem
#46905
Author: vittek
Date: Tue, 13 Jun 2000 00:00
45 lines
2011 bytes
Hi,

I have the same problem. Have you found where the problem was?

Marian

In article <393e79c1.0@seat.s3two.ie>,
  "Liam Friel" <liam.friel@s3group.com> wrote:
> Hi,
>
> scenario: RH6.2, INN2.2 serving local groups only. No
incoming/outgoing
> feeds.
> Local groups initially populated from an old server using suck 4.2.2.
Old
> When anyone posts to the problem group, the post appears to a
newsreader
> (any newsreader that we've tried) as a new post, but (a) with the
title of
> an old, existing post from the group and (b) with the same date/time
of
> posting as the old, existing post. This group has 90 or so existing
posts.
> Apart from the new posts to the group, the old posts have the correct
thread
> structure, correct matching titles/bodies etc.
>
> Behaviour is the same for new posts to this group, or replies to
existing
> posts in the group. The posts (new or replies) correctly appear in the
> var/spool directory structure in the right place, with the next
available
> filename, and contain the correct information as far as I can tell.
>
> Regards,
> Liam
>
>



Sent via Deja.com http://www.deja.com/
Before you buy.

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