🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68829

Re: INN article retrieval inconsistencies

#68829
From: pbs
Date: Mon, 29 Mar 2004 01:05
65 lines
3789 bytes
pbs wrote:
> I have had a problem with OOPS in a Linux kernel 2.4.24 which
> pulls down an INN 2.3.4 server very suddenly.
> 
> When the system comes back up there are often problems which
> indicates corruption in the overview directory so I
> follow these steps as userid news to fix it:
>   su root -c  /etc/init.d/innd stop
>   rm -fr $HOME/overview/*
>   makehistory -O -x -F
>   su root -c "/etc/init.d/innd start"
>   ctlinnd renumber ""
>   makehistory -b -f history.n -I -O
> 
> However once the system is up and running there still seem to be 
> problems with some articles accessed through the nntp socket connection. 
> These seem to be some of articles which were downloaded in the 24 hours 
> before the crash. I use suck to aquire the articles from my ISP and post 
> them locally using rpost.
> 
> First for some information accessed throught command line by user news:
>   grephistory pan.2004.03.22.20.04.57.686314@uk.me.buzzard
>   @05000000007C0000537F0000000000000000@
> 
>   sm @05000000007C0000537F0000000000000000@ | grep -i ^Mess
>   Message-ID: <pan.2004.03.22.20.04.57.686314@uk.me.buzzard>
> 
>   sm -i @05000000007C0000537F0000000000000000@
>   uk/comp/os/linux: 21375
> 
>   grep uk.comp.os.linux /var/lib/news/active
>   uk.comp.os.linux 0000021417 0000020765 y
> 
> Now to telnet to the nntp socket connection:
>   telent newsserver nntp
>   ...
> 
>   group uk.comp.os.linux
>   211 596 20765 21417 uk.comp.os.linux
> 
>   article  21375
>   423 Bad article number
> 
>   article <pan.2004.03.22.20.04.57.686314@uk.me.buzzard>
>   220 0 <pan.2004.03.22.20.04.57.686314@uk.me.buzzard> article
>   [snip] rest of article.
> 
> There are no logged error messages on the server when the "article 21375"
> request is made.
> 
> Could someone please tell me what I need to fix so that this 
> inconsitency goes away?
> 

The problem seems to affect articles which were download between the 
last time the cron script news.daily  was run and the crash. I would 
guess it is caused by inconsistencies between the overview and the 
history database.

How can I tell which method for the overview storage inn is using?

Does anyone know what the difference in the access algorithm is between 
requesting an article by number eg "article  21375" and requesting it by 
message id eg "article <pan.2004.03.22.20.04.57.686314@uk.me.buzzard>"?
Technical Details
Message-ID: <c47snt$540$1@squay.lomarline.freeserve.co.uk>
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!archiver1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
References: <c3r3eh$6k8$1@squay.lomarline.freeserve.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <c47snt$540$1@squay.lomarline.freeserve.co.uk>
Subject: Re: INN article retrieval inconsistencies
Date: Mon, 29 Mar 2004 13:05:00 +1200
From: pbs <pnews@lomarline.freeserve.co.uk>
References: <c3r3eh$6k8$1@squay.lomarline.freeserve.co.uk>
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!archiver1.google.com!news1.google.com!news.glorb.com!in.100proofnews.com!in.100proofnews.com!news02.tsnz.net!news.iconz.co.nz!lomarline.freeserve.co.uk!not-for-mail
Newsgroups: news.software.nntp
Organization: InterNetNews site lomarline.freeserve.co.uk
Lines: 64
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en, en-us
In-Reply-To: <c3r3eh$6k8$1@squay.lomarline.freeserve.co.uk>
X-Original-NNTP-Posting-Host: ip-210-185-7-176.internet.co.nz
X-Original-Trace: 29 Mar 2004 14:14:42 +1200, ip-210-185-7-176.internet.co.nz
NNTP-Posting-Host: 210.48.22.5
X-Complaints-To: abuse@tsnz.net
X-Trace: news02.tsnz.net 1080526932 210.48.22.5 (Mon, 29 Mar 2004 14:22:12 NZST)
NNTP-Posting-Date: Mon, 29 Mar 2004 14:22:12 NZST