🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by P.M.Wong Sun, 09 Jun 1996 00:00
My innd expire suddenly fails, what's wrong?
#8392
Author: P.M.Wong
Date: Sun, 09 Jun 1996 00:00
33 lines
1995 bytes
Our newserver innd has been running for several years without
any hiccups. But since a few days ago, it could not expire articles

The report shown below give entirely wrong messages: entries expired are
far higher than the number retained, which is crazy
-----------------------------------------------------------------
Expire messages:
expire begin Sun Jun  9 11:13:32 HKT 1996: (-v1 -l)
    Can't store key, No such file or directory
    Expire errors: history files not updated.
    Article lines processed   462063
    Articles retained          19087
    Entries expired           442976
    Files unlinked            553926
    Old entries dropped       274240
    Old entries retained        4987
    expire end Sun Jun  9 12:55:54 HKT 1996
------------------------------------------------------------------------
I swear i have not changed anything at all. This thing simply bewilders
me. Can anyone spot for me (from the log above) what can be wrong so
i can narrow down the troubleshooting. 
Are there any commans that i can do meanwhile to try fixing things ?

--
        __
   / \_/  )             __   Pui Ming WONG (Email: pm@hkbu.edu.hk) 
  /      ( -------------  }  Computer Officer (System Support & Prog.)
 (  =l=ll===============__}  Computing & Telecomm. Services Centre
  \   _  (                   Hong Kong Baptist University (Voice: 23397425)
   \_/ \__)                       The last word in lonesome is "me"

Re: My innd expire suddenly fails, what's wrong?
#8387
Author: Michael Hucka
Date: Sun, 09 Jun 1996 00:00
46 lines
2714 bytes
>>>>> On 9 Jun 1996, s11976@ctsc.hkbc.hk (P.M.Wong) wrote:

  s11976> Our newserver innd has been running for several years without any
  s11976> hiccups. But since a few days ago, it could not expire articles

  s11976> Expire messages: expire begin Sun Jun 9 11:13:32 HKT 1996: (-v1 -l)
  s11976> Can't store key, No such file or directory Expire errors: history
  s11976> files not updated.  

  s11976> I swear i have not changed anything at all. This thing simply
  s11976> bewilders me. Can anyone spot for me (from the log above) what can
  s11976> be wrong so i can narrow down the troubleshooting.  Are there any
  s11976> commans that i can do meanwhile to try fixing things ?

This has been happening so frequently, and so many people have reported it on
news.software.nntp, that we can make an educated guess about what happened.
Your history file may have become corrupted, probably as a result of your
server having received an article that was malformed in a particular way that
tickles a bug in pre-unoff4 versions of INN 1.4.  Below is a message from
Dave Barr that is likely to be relevant:

  Message-ID: <4hkclv$j86@augusta.math.psu.edu>
  From: barr@math.psu.edu (Dave Barr)
  Subject: Re: expire problem -- "Can't store key, No such file or directory"
  Date: 6 Mar 1996 10:57:51 -0500
  
  [ posted and mailed ]
  
  This has been happening a lot.  The problem is a corruption of the
  history database due to a bug (which is fixed in unoff4, ObPlug).
  
  In the meantime grab my Perl 'fixhist' script off my INN page (ObPlug)
  and follow the instructions at the top of the file.  That will clean
  out the cruft from your history database and allow expire to run
  without crashing.
  
  http://www.math.psu.edu/barr/INN.html
  
  --Dave
-- 
Michael Hucka       hucka@umich.edu       http://ai.eecs.umich.edu/people/hucka
  Ph.D. candidate & Programmer Analyst @ University of Michigan Dept. of EECS


Re: My innd expire suddenly fails, what's wrong?
#8414
Author: Francis C. Swasey
Date: Mon, 10 Jun 1996 00:00
28 lines
1512 bytes
In article <4pe8ls$net@ctsc.hkbc.hk>,
	s11976@ctsc.hkbc.hk (P.M.Wong) writes:

>    Can't store key, No such file or directory
>    Expire errors: history files not updated.

Do the following:

ctlinnd throttle "fixing history"
cp history history.n
makehistory -r -s "wc -l <history" -f history.n
ctlinnd go "fixing history"

The makehistory command will report which record has a bad key.  If
it's what got me about a week ago, it'll be some message-id with lots
of ".z" at the end of the hostname.  I found they were all expired
entries (just two fields) and purged them with an the appropriate
"grep -v" command.

Frank
-- 
e-mail: fswasey@btv.ibm.com                                   ,,,
Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446)   (o o)
           Speaking *from* but not *for* IBM           -oOOO--(_)--OOOo-


Re: My innd expire suddenly fails, what's wrong?
#8471
Author: Francis C. Swasey
Date: Tue, 11 Jun 1996 00:00
18 lines
1220 bytes
In article <82raroa9p1.fsf@peachfuzz.eecs.umich.edu>,
	hucka@eecs.umich.edu (Michael Hucka) writes:
>  
>  In the meantime grab my Perl 'fixhist' script off my INN page (ObPlug)

In the case of the '.z.z.z.z.z.z.z' (ad infinitum) hostname in the
message-id of posts, the fixhist (that I pulled a couple months ago)
didn't think it was a problem -- but makehistory did.

Frank
-- 
e-mail: fswasey@btv.ibm.com                                   ,,,
Tel: 802-769-4011 (tie: 446), Fax: 802-769-4253 (tie: 446)   (o o)
           Speaking *from* but not *for* IBM           -oOOO--(_)--OOOo-


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