Article View: news.software.nntp
Article #36927Re: INN 2.2 - Making large changes to active file
From: David Spigelman
Date: Thu, 22 Apr 1999 00:00
Date: Thu, 22 Apr 1999 00:00
40 lines
2386 bytes
2386 bytes
Russ Allbery wrote: > Brad Knowles <brad@shub-internet.org> writes: > > David Spigelman <dspigelm@acp.org> wrote: > > >> I want to make some big changes to my active file, removing several > >> hundred groups. How do I do this? > > > You can do this two ways: > > > 1. Stop the news server, edit the file, restart the news server. > Actually, I tried this method first. It didn't seem to work. Every time I replaced the active file with the newly edited file, I couldn't get INN to work right. I would throttle INN, put in the new active file, and then reload active. After a minute or so, ctlinnd would respond that it couldn't send the command to a dead server. That's why I was looking for alternate methods. I found one too. I used the file that I had tried to edit, and a copy of the original active file. Then I did this: actsync -o x -p 1 ./active ./active1 (where both files are in another directory - not db - and active1 is the subset file.) This is doing it. It's slow as anything, but it's working. It's removing all those groups from the real active file (-o x passes commands to ctlinnd) based on those two other files. Now I have my upstream provider not passing me control messages, so I don't have to worry about control.ctl - yes, I know it means I also don't automagically get new groups in my hierarchies, and I am removing the unwanted groups from what I've got. So far, so good! -- DS
Technical Details
Message-ID:
<371F28B8.7EE890B3@acp.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.mbox.zip!not-for-mailReferences:
<371CB0A4.2B8ADA99@acp.org> <brad-2204991102130001@brad.techos.skynet.be> <yl90bl57ir.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <371F28B8.7EE890B3@acp.org> Subject: Re: INN 2.2 - Making large changes to active file Date: Thu, 22 Apr 1999 00:00:00 +0000 From: David Spigelman <dspigelm@acp.org> References: <371CB0A4.2B8ADA99@acp.org> <brad-2204991102130001@brad.techos.skynet.be> <yl90bl57ir.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.mbox.zip!not-for-mail X-Deja-AN: 469553338 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.acp.org X-Trace: constellation.acp.org 924788893 9595 149.28.96.66 (22 Apr 1999 13:48:13 GMT) Organization: American Center for Physics Mime-Version: 1.0 NNTP-Posting-Date: 22 Apr 1999 13:48:13 GMT Newsgroups: news.software.nntp