🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #5221

Solution(?): expire error: "Can't store key, No such file or directory" (fwd)

#5221
From: Jim Dutton
Date: Fri, 23 Feb 1996 00:00
153 lines
8335 bytes
Whilst others have devised mechanism to attempt to prevent the "smoked herring
bomb" that many of us encountered, here is some more definitive information
that I gathered about this particular problem (as also posted in news.admin
technical):



Hi Phil, on Feb 23 you wrote:

> Here's my expire.log file:
> 
>     Can't store key, No such file or directory
>     Expire errors: history files not updated.
>     Article lines processed   590331
>     Articles retained         438363
>     Entries expired           151968
>     Files unlinked            213633
>     Old entries dropped       122336
>     Old entries retained       85518
>     expire end Fri Feb 23 13:18:34 CST 1996

I struggled with this very problem for quite a few hours yesterday, and I
THINK that it was caused by an "unkind" article posted by someone in the UK.

When my news server received this control article from one of our uplink
servers, INND crashed soon afterwards. I spent a LOT of time learning how to
recover news, and went through all of my logs, multiple times. Once after I
had rebuilt the HISTORY files, I got the same booger file from the uplink
neighbor again, and WHAMO !

In the end, I removed said article from the CONTROL newsgroup, and purged the
ENTIRE ALT.TEST newsgroup as this CANCEL article had at least a half-dozen
references to ALT.TEST articles.

I then REBUILT the HISTORY files AGAIN, making sure to NOT use the OLD history
dataset by using: makehistory -b -o. If your INND is still running, you should
include the -u flag (I think). The "-o" flag ignores your old HISTORY files so
MAKEHISTORY won't make the mistake of including that message up control article
again. It also overwrites your HISTORY files, so you might want to make a copy
of them just to be on the safe side.

ALSO, the MAKEHISTORY SORT routine is a huMONgous disk space hog !!  My HISTORY
file was some 40+MB in size, and I had some 10-12 4+MB sort files plus another
copy of the HISTORY file. Follow the advice IN THE MAKEHISTORY documentation,
and use the "-T <directory>" flag to specify a directory LARGE enough to hold
all of the SORT files (by default, /var/tmp is used).

I would like to THANK Rich Salz for putting together the News Recovery MANual
page and the MAKE... commands - WHAT A LIFE SAVER !  THANKS RICH !!!

It took a couple of hours to rebuild, but FINALLY, I had NO MORE references to
said article, my uplink neighbor must have finally purged it, and "life" has
been "good", ever since. (actually, I spent some 16 hours on this problem, but
a lot of that was "learning curve" time, and MAKEHISTORY run time)

Here is some information I gathered about this "nasty-gram". Please realize
that while some real server names are included here, none of THEM are to
blame for this insipid note, so please DO NOT take these server names
"in vain".

If you find the note below in your HISTORY file, you will notice that it does
not have the proper syntax: no <newsgroup><fileid> specifications. Make SURE you
DELETE all occurances of this thing.


* * * * * * * * * *   part of NEWS file  * * * * * * * * * * * * * * * * * * * * * * *

Feb 22 22:21:42.074 + vixen.cso.uiuc.edu <8BB352F.0226016367.uuout@corpsoft.com> chi-news OVERVIEW!
Feb 22 22:21:42.167 + vixen.cso.uiuc.edu <4ghklh$l7s@bull.hkstar.net> chi-news OVERVIEW!
Feb 22 22:21:42.331 + vixen.cso.uiuc.edu <4ghkv7$gmb@pinot.ext.jussieu.fr> chi-news OVERVIEW!
Feb 22 22:21:42.478 + vixen.cso.uiuc.edu <312be2de.230881309@news.ak.net> chi-news OVERVIEW!
Feb 22 22:21:42.478 c vixen.cso.uiuc.edu <312be2de.230881309@news.ak.net>
 		Cancelling <312bdb7e.228994718@news.ak.net> <312bdb7f.229057109@news.ak.net>
	 	<312bdb80.229101894@news.ak.net> <312bdb81.229177263@news.ak.net>
		<312bdb82.229240355@news.ak.net> <312b
		db83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf29.229932149@news.ak.net>
Feb 22 22:21:42.713 + vixen.cso.uiuc.edu <Dn66s9.D0J@iquest.net> chi-news OVERVIEW!

* * * * * * * * * *   part of NNTPSEND.LOG file  * * * * * * * * * * * * * *

nntpsend: [9664] start
nntpsend: [9664:11019] begin chi-news.cic.net Fri Feb 23 01:03:07 CST 1996
nntpsend: [9664:11019] innxmit -a chi-news.cic.net ...
nntpsend: [9664] stop
nntpsend: [9664:11019] end chi-news.cic.net Fri Feb 23 01:06:25 CST 1996
nntpsend: [6079] start
nntpsend: [6079:11480] begin chi-news.cic.net Fri Feb 23 01:23:07 CST 1996
nntpsend: [6079:11480] innxmit -a chi-news.cic.net ...
nntpsend: [6079] stop
Can't connect to chi-news.cic.net, Connection timed out
nntpsend: [6079:11480] end chi-news.cic.net Fri Feb 23 01:24:22 CST 1996
nntpsend: [4890] start
No innd.pid file; did server die?
Can't send "flush" command (sendto failure) No such file or directory.
No innd.pid file; did server die?
Can't send "flush" command (sendto failure) No such file or directory.
nntpsend: [4890] stop
nntpsend: [11360] start
mv: Cannot rename vixen to vixen.work:
	     No such file or directory
No innd.pid file; did server die?
Can't send "flush" command (sendto failure) No such file or directory.
mv: Cannot rename chi-news to chi-news.work:
	     No such file or directory
No innd.pid file; did server die?
Can't send "flush" command (sendto failure) No such file or directory.
nntpsend: [11360] stop
nntpsend: [5024] start

* * * * * * * * *  part of NEWS.ERR file  * * * * * * * * * * * * * * * * * *

[ NOTE the "ME cant dbzstore Cross-device link" error messages ]

Feb 22 00:58:49 saluki-news nnrpd[20129]: port148.aixdialin.siu.edu cant read Connection reset by peer
Feb 22 01:10:58 saluki-news nnrpd[13736]: port205.aixdialin.siu.edu cant read Connection reset by peer

Feb 22 03:02:26 saluki-news nnrpd[9045]: port169.aixdialin.siu.edu cant read Connection reset by peer
Feb 22 04:34:54 saluki-news nnrpd[10064]: port132.aixdialin.siu.edu cant read Connection reset by peer
Feb 22 05:31:34 saluki-news innd: ME cant dbzstore Cross-device link
Feb 22 05:36:34 saluki-news nnrpd[9121]: port146.aixdialin.siu.edu cant read Connection reset by peer
Feb 22 06:20:00 saluki-news rnews: cant open_remote Connection refused
Feb 22 07:20:00 saluki-news rnews: cant open_remote Connection refused
Feb 22 08:20:00 saluki-news rnews: cant open_remote Connection refused

Feb 22 20:20:00 saluki-news rnews: cant open_remote Connection refused
Feb 22 21:20:01 saluki-news rnews: cant open_remote Connection refused
Feb 22 21:51:29 saluki-news nnrpd[9094]: dos104.c-cafstr.siu.edu cant read Connection reset by peer
Feb 22 22:21:42 saluki-news innd: ME cant dbzstore Cross-device link

* * * * * * * *  actual "blankety-blank" note that appears to have CAUSED the problem  * * * * *

Newsgroups: alt.test
Path: saluki-news.wham.siu.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!in1.uu.net!news.ak.net!nowhere
From: phantom@opera.com (Phantom of the Opera)
Subject: cmsg cancel <312bdb7e.228994718@news.ak.net>
Sender: Phantom of the Opera
Message-ID: <312be2de.230881309@news.ak.net>
Date: Thu, 22 Feb 1996 03:29:13 GMT
Approved: phantom@opera.com
Control: cancel <312bdb7e.228994718@news.ak.net>
	<312bdb7f.229057109@news.ak.net> <312bdb80.229101894@news.ak.net>
 	<312bdb81.229177263@news.ak.net> <312bdb82.229240355@news.ak.net>
 	<312bdb83.229306481@news.ak.net> <312bdb84.229360426@news.ak.net> <312bdf2
	9.229932149@news.ak.net>
NNTP-Posting-Host: phantom.opera.com
Organization: PBS
X-Newsreader: Forte Free Agent 1.0.82
Lines: 1

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


Technical Details
Message-ID: <222209c2.c3512@slip106.termserv.siu.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

Show Full Headers
Complete Article Headers
Message-ID: <222209c2.c3512@slip106.termserv.siu.edu>
Subject: Solution(?): expire error: "Can't store key, No such file or directory" (fwd)
Date: Fri, 23 Feb 1996 00:00:00 +0000
From: jimd@slip106.termserv.siu.edu (Jim Dutton)
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: 140825023
Sender: NNTP@slip106.termserv.siu.edu
Comment: AmigaNOS v2.9p
Organization: Southern Illinois University
Reply-to: jimd@slip106.termserv.siu.edu
Newsgroups: news.software.nntp
X-mailer: //\\miga Electronic Mail (AmiElm 6.24)