🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Jesus Rivera Wed, 14 Jan 1998 00:00
editing the active file
#25221
Author: Jesus Rivera
Date: Wed, 14 Jan 1998 00:00
20 lines
1164 bytes
I continue to have issues with this.  I've follows FAQ 6.3 to the letter,
but each time I edit the active file, innd shuts down.  I needed to do
some serious editing to the active file.  I'm cutting out about 10,000
newsgroups.  Is there a specified time period to edit the file?  I tried
just editing a few lines at a time and it seems to work.  Has anyone seen
this behavior?  I'm running INN-1.7insync.

thanks,

-Jesse


-------------------------------------------------
Jesse Rivera
rivera@inow.com
-------------------------------------------------


Re: editing the active file
#25191
Author: howard
Date: Wed, 14 Jan 1998 00:00
21 lines
1343 bytes

In Article<Pine.LNX.3.93.980114111734.18548B-100000@vader.inow.com>, 
<rivera@inow.com> writes:
> I continue to have issues with this.  I've follows FAQ 6.3 to the letter,
> but each time I edit the active file, innd shuts down.  I needed to do
> some serious editing to the active file.  I'm cutting out about 10,000
> newsgroups.  Is there a specified time period to edit the file?  I tried
> just editing a few lines at a time and it seems to work.  Has anyone seen
> this behavior?  I'm running INN-1.7insync.
> 
Can't you delete the newsgroups througth the ctlinnd interface?

BTW, is that bug fixed where the active file corrupts when 
ctlinnd is is throttled and then multiple newgroups are removed?





Re: editing the active file
#25224
Author: Timothy Miller
Date: Wed, 14 Jan 1998 00:00
17 lines
1194 bytes
Jesus Rivera <rivera@inow.com> writes:

> I continue to have issues with this.  I've follows FAQ 6.3 to the letter,
> but each time I edit the active file, innd shuts down.  I needed to do
> some serious editing to the active file.  I'm cutting out about 10,000
> newsgroups.  Is there a specified time period to edit the file?  I tried
> just editing a few lines at a time and it seems to work.  Has anyone seen
> this behavior?  I'm running INN-1.7insync.

	Do what I do-- pause, copy to temp file, edit temp file, copy
temp over original, *CHECK FILE PERMS/OWNER*, reload, go.

-- 
Cerebus <tmill06@ibm.net>

Re: editing the active file
#25253
Author: Michael Hucka
Date: Thu, 15 Jan 1998 00:00
19 lines
1378 bytes
>>>>> On 14 Jan 98, howard@wdsec.com wrote:

  howard> Can't you delete the newsgroups througth the ctlinnd interface?

Try doing that with more than, say, a dozen group changes, and you'll see
it's a very slow way to go.  Each newgroup/rmgroup causes INN to close and
reopen its files.  For large sets of changes, it's more efficient to modify
the active file directly.

Incidentally, if you edit the active file directly, don't forget to make
parallel changes in active.times.

--
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan

Re: editing the active file
#25255
Author: Ron Echeverri
Date: Thu, 15 Jan 1998 00:00
27 lines
1945 bytes
In article <NEWTNews.884814101.8302.howard@howardnt>,
 <howard@wdsec.com> wrote:
>In Article<Pine.LNX.3.93.980114111734.18548B-100000@vader.inow.com>, 
><rivera@inow.com> writes:
>> I continue to have issues with this.  I've follows FAQ 6.3 to the letter,
>> but each time I edit the active file, innd shuts down.  I needed to do
>> some serious editing to the active file.  I'm cutting out about 10,000
>> newsgroups.  Is there a specified time period to edit the file?  I tried
>> just editing a few lines at a time and it seems to work.  Has anyone seen
>> this behavior?  I'm running INN-1.7insync.
>Can't you delete the newsgroups througth the ctlinnd interface?
>BTW, is that bug fixed where the active file corrupts when 
>ctlinnd is is throttled and then multiple newgroups are removed?

For clarification, the bug occurs when multiple 'ctlinnd rmgroup'
commands are issued.  It's OK to just throttle the server, manipulate
the active file, reload, and go.  I don't know if it's fixed, though.

rone
-- 
Ron Echeverri	<rone+sig@best.net>	| "Happiness is free, and love is
Systems/Usenet Administration		|  relatively cheap, but HATE costs
Best Internet Communications, Inc.	|  more than you have in your wallet."
<URL:http://www.ennui.org/~rone/>	|  - Tjames Madison <tjames@pigdog.org>

Re: editing the active file
#25272
Author: Michael Hucka
Date: Thu, 15 Jan 1998 00:00
18 lines
1247 bytes
>>>>> On 14 Jan 1998, Timothy Miller <tmill06@ibm.net> wrote:

  tmill06> Do what I do-- pause, copy to temp file, edit temp file, copy temp
  tmill06> over original, *CHECK FILE PERMS/OWNER*, reload, go.

You really should run inncheck after making changes to the active file.  It
will detect errors such as duplicate groups that are easy to miss during
editing.

--
Mike Hucka    hucka@umich.edu    http://www.eecs.umich.edu/~hucka    University
 PhD to be, computational models of human visual processing (AI Lab)     of
   UNIX systems administrator & programmer/analyst (EECS DCO)         Michigan



Re: editing the active file
#25484
Author: root
Date: Fri, 23 Jan 1998 00:00
42 lines
1926 bytes
In article <Pine.LNX.3.93.980114111734.18548B-100000@vader.inow.com>,
Jesus Rivera  <rivera@inow.com> wrote:
>I continue to have issues with this.  I've follows FAQ 6.3 to the letter,
>but each time I edit the active file, innd shuts down.  I needed to do
>some serious editing to the active file.  I'm cutting out about 10,000
>newsgroups.  Is there a specified time period to edit the file?  I tried
>just editing a few lines at a time and it seems to work.  Has anyone seen
>this behavior?  I'm running INN-1.7insync.
>
>thanks,
>
>-Jesse
>
>
>-------------------------------------------------
>Jesse Rivera
>rivera@inow.com
>-------------------------------------------------
>

To remove a large number of groups, I wrote a shell script that reads from a
file and then uses ctlinnd to remove the group.  No shutdown or lots of typing.

It cut about 8K groups in a couple of minutes.

I also wrote a little perl script that runs once a month that makes a file
for the above script on groups that are either empty or have only received 
a small number of articles.

Not perfect but a scipt makes better use of my time.

Robin



-- 
Root@TST-MedHat.com        | Voice 1.403.529.1560
Box 1599 C153              | Fax   1.403.526.1560
Medicine Hat, AB, T1A 7Y5  | 

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