🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5293

Re: Can't store key, No such file or directory

#5293
From: Phil Tracy
Date: Mon, 26 Feb 1996 00:00
42 lines
2444 bytes
In article <Pine.LNX.3.91.960225223753.25909A-100000@preferred.com>, Rick Roberts <rroberts@preferred.com> wrote:
>Anyone have an answer for this?
>This happens after every news.daily run now.
>

>> : Expire messages:
>> : expire begin Fri Feb 23 02:00:37 GMT-0500 1996: (-v1 -l)
>> :     Can't store key, No such file or directory
>> :     Expire errors: history files not updated.
>> :     Article lines processed   317280
>> :     Articles retained         149728
>> :     Entries expired           167552
>> :     Files unlinked            226342
>> :     Old entries dropped       147826
>> :     Old entries retained       44641
>> :     expire end Fri Feb 23 03:46:15 GMT-0500 1996
>> : ---------

Thanks to those replying with suggestions.  I'm pretty sure the bad guy here 
is the same phantom that has caused other symptoms, bogus articles in the 
history database.  The quickest fix I've found is to run the perl script from 
Dave Barr's INN page to delete the articles from your history file, then run 
makehistory -r to rebuild the dbz files.

Then you'll probably want to do a "find -mtime" sort of command, or delete 
manually, to make sure you nuke the bogus articles are gone also -- if you 
rebuild your history database by scanning the spool, the bogus articles will 
probably be added into this history file again.

The perl script in question can be found at 

        http://www.math.psu.edu/barr/fixhist

Thanks for the script, Dave!  It's simple, short, and it works.  I'm certainly 
going to keep it handy from now on, maybe even run it somewhat regularly.


Phil Tracy
Northwestern University, Evanston, IL.   USA
ptracy@nwu.edu    http://grumpy.nsg.nwu.edu/tracy/philtracy.html

Technical Details
Message-ID: <4gsq4s$rde@news.acns.nwu.edu>
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!not-for-mail
References: <199602241509.IAA18224@bambam.swlink.net> <Pine.LNX.3.91.960225223753.25909A-100000@preferred.com>

Show Full Headers
Complete Article Headers
Message-ID: <4gsq4s$rde@news.acns.nwu.edu>
Subject: Re: Can't store key, No such file or directory
Date: Mon, 26 Feb 1996 00:00:00 +0000
From: ptracy@nwu.edu (Phil Tracy)
References: <199602241509.IAA18224@bambam.swlink.net> <Pine.LNX.3.91.960225223753.25909A-100000@preferred.com>
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!not-for-mail
X-Deja-AN: 141198427
Distribution: inet
Content-type: text/plain; charset=US-ASCII
Organization: Northwestern University
Mime-version: 1.0
Newsgroups: news.software.nntp