🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Gavin McCord Wed, 24 Mar 1999 00:00
Active file change
#36174
Author: Gavin McCord
Date: Wed, 24 Mar 1999 00:00
31 lines
1530 bytes
I'm using INN 1.7.3 on Slackware linux 3.6

I'm trying to make my active file more manageable
and instead of 1.4megs I now have a file of about
100k. I used grep to select newsgroups from the
original active file downloaded from my ISP.

If I try to substitute the new file however, even
after using the ctlinnd pause and flush commands
the server just dies. If I do restart it comes up
for about 30 seconds and then dies again.

Is grep introducing or removing crucial characters?
For example I do

grep ^"comp\." active.old > active.new

to copy the comp. hierarchy to my new
active file.

Any help would be gratefully appreciated.

--
"I'm Keyser Soze. No, I'm Keyser Soze. I'm Keyser Soze and so's
my wife..."
-Monty Python plays The Usual Suspects




Re: Active file change
#36168
Author: Andrew Gierth
Date: Wed, 24 Mar 1999 00:00
15 lines
1256 bytes
>>>>> "Gavin" == Gavin McCord <gav@coby.demon.co.uk> writes:

 Gavin> If I try to substitute the new file however, even after using
 Gavin> the ctlinnd pause and flush commands the server just dies. If
 Gavin> I do restart it comes up for about 30 seconds and then dies
 Gavin> again.

Anything in the logs to indicate why?

Did you remove any of the pseudo-groups "control*", "junk" and "to"?

-- 
Andrew.

Re: Active file change
#36186
Author: Drazen Gemic
Date: Thu, 25 Mar 1999 00:00
51 lines
1938 bytes
Gavin McCord wrote:

> I'm using INN 1.7.3 on Slackware linux 3.6
>
> I'm trying to make my active file more manageable
> and instead of 1.4megs I now have a file of about
> 100k. I used grep to select newsgroups from the
> original active file downloaded from my ISP.
>
> If I try to substitute the new file however, even
> after using the ctlinnd pause and flush commands
> the server just dies. If I do restart it comes up
> for about 30 seconds and then dies again.
>
> Is grep introducing or removing crucial characters?
> For example I do
>
> grep ^"comp\." active.old > active.new
>

Hi !

I think you should do the following:

Suppose your new active file is called active.new.

Run commands:

/usr/local/news/lib/docheckgroups < active.new | cut -f1 > active.sh

If the first lfield in the active.new is not delimited with TAB, but
with SPACE
instead use:

/usr/local/news/lib/docheckgroups < active.new | cut -f1 -d' ' >
active.sh

Check the new shell script active.sh. It should contain ctlinnd command
lines
that would fix your server. Run it:

sh active.sh

and that's it.


DG



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