🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Cory Rush Mon, 26 Feb 1996 00:00
HELP - Expire can't store key
#5265
Author: Cory Rush
Date: Mon, 26 Feb 1996 00:00
29 lines
1335 bytes
Help!

The past several nights news.daily has reported the following error:

Expire messages:
expire begin Fri Feb 23 01:00:34 CST 1996: (-v1)
    Can't store key, No such file or directory            <==
    Expire errors: history files not updated.               <==
    Article lines processed   654552
    Articles retained         481864
    Entries expired           172688
    Files unlinked            242110
    Old entries dropped       211685
    Old entries retained      902070
    expire end Fri Feb 23 12:05:30 CST 1996

This does not appear to be a space issue since there is sufficient
space on the drive and the history.n files are left behind.  Expire
also appears to be completing (although it is taking about twice
as long as usual).

Any input would be appreciated.

Thanks
Cory Rush



Re: HELP - Expire can't store key
#5279
Author: Christoph Lameter
Date: Mon, 26 Feb 1996 00:00
28 lines
1582 bytes
Cory Rush (Cory.Rush@maryville.com) wrote:
: Help!

: The past several nights news.daily has reported the following error:

: Expire messages:
: expire begin Fri Feb 23 01:00:34 CST 1996: (-v1)
:     Can't store key, No such file or directory            <==
:     Expire errors: history files not updated.               <==
:     Article lines processed   654552
:     Articles retained         481864
:     Entries expired           172688
:     Files unlinked            242110
:     Old entries dropped       211685
:     Old entries retained      902070
:     expire end Fri Feb 23 12:05:30 CST 1996

: This does not appear to be a space issue since there is sufficient
: space on the drive and the history.n files are left behind.  Expire
: also appears to be completing (although it is taking about twice
: as long as usual).

I just had the same yesterday and the day before. I run a
makehistory -o

to recover the history files and its ok now.

Re: HELP - Expire can't store key
#5449
Author: Dave Barr
Date: Fri, 01 Mar 1996 00:00
24 lines
1497 bytes
In article <4h7flh$4o9@thedog.tessi.com>,
Ted Remillard <tedr@thedog.tessi.com> wrote:
>	I just experienced an "Expire can't store key" and fixed it
>	by running the below script which I got from the man page on
>	news-recovery.
>
>	It took about 5 hours to rebuilt the history files.  Afterwards
>	news.daily worked fine.  I noticed that the history file size went
>	from 92MB to 33MB.

Yes, in the future you don't want to do this.  You just removed all the
/remember/'d entries from your history file and thus are now are
susceptible to getting old news articles.

The FAQ has big big warnings about this for this reason.  I'm tempted
to put big big warnings in news-recovery too.

The only real reason to run makehistory -o is if you have a _really_
corrupt history database or if you if you deleted it and you absolutely
have to recover it.

--Dave

Re: HELP - Expire can't store key
#5451
Author: Ted Remillard
Date: Fri, 01 Mar 1996 00:00
44 lines
1933 bytes
-- 

	I just experienced an "Expire can't store key" and fixed it
	by running the below script which I got from the man page on
	news-recovery.

	It took about 5 hours to rebuilt the history files.  Afterwards
	news.daily worked fine.  I noticed that the history file size went
	from 92MB to 33MB.

	  #!/bin/sh

	  ctlinnd throttle "Rebuilding history file"
          cd /usr/local/news
          if makehistory -n -f history.n ; then
              :
          else
              echo Error creating history file!
              exit 1
          fi
          # The following line can be used to retain expired history
          # It is not necessary for the history file to be sorted.
          # awk 'NF==2 { print; }' <history >>history.n
          # View history file for mistakes.
          if makehistory -r -s `wc -l <history` -f history.n; then
              mv history.n history
              mv history.n.dir history.dir
              mv history.n.pag history.pag
          fi
          ctlinnd go "Rebuilding history file"


Ted Remillard			Email: tedr@sd.com
Systems Administrator		Tel: (503) 643-9281
Summit Design, Inc.		
Beaverton, OR 97008
-- 
Ted Remillard
Summit Design, Inc.		Tel: (503) 643-9281
9305 S.W. Gemini Drive		Fax: (503) 646-4954
Beaverton, OR 97005-7158	Internet: tedr@sd.com

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