Article View: news.software.nntp
Article #72105Re: INN disaster recovery
From: Jeffrey M. Vinocur
Date: Tue, 02 Aug 2005 23:18
Date: Tue, 02 Aug 2005 23:18
58 lines
3476 bytes
3476 bytes
In article <1123018390.564047.252300@z14g2000cwz.googlegroups.com>,
<jschick@aafp.org> wrote:
>
>As I posted previously, I had one of my local groups go south. It had
>no posts so I just recreated it. But assuming it had a bunch of posts
>in it, what is the procedure for restoring a group and / or its
>messages?
I'm assuming you're using tradspool as your article storage
format (in storage.conf) and tradindexed for overview (in
inn.conf).
First you need to look in ~news/spoool/articles and see if the
physical articles are still there. They probably should be; it
would be pretty hard for an INN crash to remove them. (If they
did, you could in theory restore from your newsreader, but that's
apt to be a complex procedure.)
Then look in ~news/spool/overview at the .DAT overview file
corresponding to the group you're concerned about. There should
be one (very long) line per article, each line starting with the
number of the article in question. Mostly you're curious about
what the first and last lines in the overview are (compared to
what's actually in the spool). If there are articles on disk
that do -not- have overview entries, you need to fix your
overview to make those articles visible. (If your version of INN
has tdx-util, use that with -R to rebuild the overview for that
group only; otherwise you need to do a full makehistory -O run.)
Then look in ~news/db/active at the line corresponding to the
group in question. You want to make sure that the range of
article numbers listed there (high first, low second) large
enough to encompass all the articles in overview/spool. If it's
not, probably the high watermark is too low. Regardless of what
the problem is, use the "renumber" feature of ctlinnd to reset
the active file numbers to match overview.
>Also, some of the groups that survived the crash appear to have their
>posts being removed. I have all of them cached in my reader, but any
>new subscriber to the groups can't see them. I am not sure if this is a
>result of the crash, a wonky cron job running news.daily, or what.
Me either, by that description. Using the procedure above, can
you pin down the problem?
M
>My expire.ctl file has this entry at the end for my local groups(all
>start with aafp.):
>aafp.*:A:never:never:never
That looks okay to me. ("groupbaseexpiry" in inn.conf is true,
then?)
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<dcouvj$sj6$1@puck.litech.org>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!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<1123018390.564047.252300@z14g2000cwz.googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <dcouvj$sj6$1@puck.litech.org> Subject: Re: INN disaster recovery Date: Tue, 02 Aug 2005 23:18:11 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <1123018390.564047.252300@z14g2000cwz.googlegroups.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.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 58 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1123024691 29286 66.218.0.75 (2 Aug 2005 23:18:11 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Tue, 2 Aug 2005 23:18:11 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)