🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71784

Re: INN: "ctlinnd cancel" works for new, but not existing messages

#71784
From: Russ Allbery
Date: Tue, 07 Jun 2005 18:56
29 lines
2395 bytes
tng <tng@romana.txstate.edu> writes:

> I'm encountering problems while trying to use "ctlinnd cancel" to remove
> some messages from a local newsgroup.  I can post a message and then
> cancel it, but the existing messages won't go away.  grephistory before
> cancelling reports "Not found.", and afterward reports "/dev/null",
> thus:

> news.swt.edu> grephistory '<411b7b28.6b37.846930886@txstate.edu>'
> Not found.

If the article wasn't in the history file in the first place, all ctlinnd
cancel does is insert a history entry.  This means that innd doesn't know
about the article, and therefore has no way of deleting it.  You
apparently have articles that are present in your overview database and on
disk, but which have no history entries.

I have no idea how you got into that state.

If you were using INN 2.4, you could dig the storage API token out of
overview with tdx-util and then use sm -d to delete it directly.  With INN
2.3, I don't think there are a lot of alternatives outside of rebuilding
the history database and then redoing the ctlinnd cancel.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <874qcam1wz.fsf@windlord.stanford.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
References: <dfClwLxx7R$6@romana.txstate.edu>

Show Full Headers
Complete Article Headers
Message-ID: <874qcam1wz.fsf@windlord.stanford.edu>
Subject: Re: INN: "ctlinnd cancel" works for new, but not existing messages
Date: Tue, 07 Jun 2005 11:56:12 -0700
From: Russ Allbery <rra@stanford.edu>
References: <dfClwLxx7R$6@romana.txstate.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.maxwell.syr.edu!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 29
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.Stanford.EDU 1118170572 19968 171.64.19.147 (7 Jun 2005 18:56:12
 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux)
Cancel-Lock: sha1:+TkuTTo31fjPnBVQ5G1y1NHuQoM=