🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Shawn Rissman Sun, 02 Jun 1996 00:00
Expire errer: Cant story key, no such file or directory
#8184
Author: Shawn Rissman
Date: Sun, 02 Jun 1996 00:00
19 lines
877 bytes

Any, help..

I get the message:
	"Cant Stor key, No such file or directory"

If I cannot get some of these articles expired I will run out of HD Space..

I am using innd1.4 on Linux.

Any help would be appriciated..

oh, if it means no such file or directory -> history it exists at
/usr/lib/news/history

Shawn

Re: Expire errer: Cant story key, no such file or directory
#8202
Author: Dave Barr
Date: Mon, 03 Jun 1996 00:00
14 lines
948 bytes
In article <31B30AD7.39A0@pcc.edu>, Kirke Johnson  <kjohnson@pcc.edu> wrote:
>Shawn Rissman wrote:
>> 
>> I get the message:
>>         "Cant Stor key, No such file or directory"
>
>We are having the same problem here, since May 29th.

Sounds like a job for fixhist.  See the INN FAQ.

--Dave

Re: Expire errer: Cant story key, no such file or directory
#8204
Author: Kirke Johnson
Date: Mon, 03 Jun 1996 00:00
76 lines
3665 bytes
Shawn Rissman wrote:
> 
> I get the message:
>         "Cant Stor key, No such file or directory"

We are having the same problem here, since May 29th.  I am wondering if there is 
something "hostile" in the history file which is causing expire to blow up. Several 
postings related to this problem seem to be appearing lately, but no resolutions have 
appeared.  I noted the following and have tried the following:

Running makehistory -buv . No improvement noted.  

Ran nclean perl script, found a number of overage postings, mainly from May 17th. 
Removed those postings.  

>On Wed, 22 May 1996, Joe St Sauver wrote:

>> In article <Pine.BSD/.3.91.960522105848.310A-100000@Clifford.LiveNet.Net> you write:
>> >[ Note: This question was sent to inn-questions@pilhuhn.de and is posted]
>> >[       here, so that someone will see and answer it.
>> >
>> >hey guys.. I was wondering if you could help me with a news
>> >problem im having.  For some reason my news server isnt expiring articles..
>> >
>> >This is the error it gives me:
>> >
>> >Expire messages:
>> >expire begin Wed May 22 04:30:58 EDT 1996: (-v1 -l -z /var/log/news/expire.rm)
>> >    Can't store key, No such file or directory
>>
>> Run inncheck to confirm that your configuration is sane.

Nothing unusual here; all has run well since rebuilds last fall until May 29th. The one 
odd action I took on the 29th was to restart inn with a nohup of the script which calls 
rc.news (to try to avoid a possible hang of the console if there were inn problems 
during a boot.)  Inn has since been restarted without that technique -- no change to the 
history file failure.

>
> Confirm that wherever history is supposed to live in your particular
> configuration, that the directory actually exists and is owned by news and
> is writable.

It is.  The *.n.* files begin being built, but never reach full size.

> Confirm that you have 2.5X the 175MB that a typical history file for a full
> feed will take up ...

The existing history file is 169,257,714 bytes. The file system is as follows:
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol7    1256661  615625  515369   54% /var

There would appear to be ample room for the rebuild.  I even tried an expire run with 
the following:

/usr/local/news/bin/news.daily     expdir=/inet      expireover norotate flags='-l -v1'

Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol9    1017681   44758  942392    5% /inet

There was no change in the problem.

> Rip out the delayrm until you get the expire squared away.

Tried this (see the prior example).  No joy.

I am at "Witt's End" by now.  Any new ideas out there?  *MANY* thanks for any assistance 
at this point!!!

-- 
Kirke Johnson                            Internet: kjohnson@pcc.edu
HP-UX System Administration
Portland Community College, Portland, OR    (503) 977-4368

Re: Expire errer: Cant story key, no such file or directory
#8288
Author: John T. Stapleton
Date: Wed, 05 Jun 1996 00:00
45 lines
2127 bytes
In article <4ov9uc$8b1@augusta.math.psu.edu>,
Dave Barr <barr@math.psu.edu> wrote:
>In article <31B30AD7.39A0@pcc.edu>, Kirke Johnson  <kjohnson@pcc.edu> wrote:
>>Shawn Rissman wrote:
>>> 
>>> I get the message:
>>>         "Cant Stor key, No such file or directory"
>>
>>We are having the same problem here, since May 29th.
>
>Sounds like a job for fixhist.  See the INN FAQ.


It is because some mega loser posted an article with the following
message-id (lines split to enhance readability):

	<4mrvni$627@orb.direct.ca.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.
	z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.
	z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.
	z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z>

There is a simple fix to expire.c to punt the line and move on.  I had
the same problem and this fixed it.

Stapes

--------------------------------cut here--------------------------------
*** expire.c~   Thu May  2 22:59:51 1996
--- expire.c    Sat Jun  1 00:04:14 1996
***************
*** 635,640 ****
--- 635,644 ----
        (void)fprintf(stderr, IGNORING, line);
        return TRUE;
      }
+     if ( strlen(fields[0]) >= (DBZMAXKEY-1) ) { 
+       (void)fprintf(stderr, IGNORING, line);
+       return TRUE;
+     }
  
      /* Split up the time field, robustly. */
      if ((p = strchr(fields[1], HIS_SUBFIELDSEP)) == NULL) {

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