🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36186

Re: Active file change

#36186
From: 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



Technical Details
Message-ID: <36F985A1.752B6967@popaccount.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.mbox.zip!not-for-mail
References: <36F96FCA.8F842415@coby.demon.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <36F985A1.752B6967@popaccount.com>
Subject: Re: Active file change
Date: Thu, 25 Mar 1999 00:00:00 +0000
From: Drazen Gemic <dgemic@popaccount.com>
References: <36F96FCA.8F842415@coby.demon.co.uk>
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: 458734000
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.carnet.hr
X-Trace: bagan.srce.hr 922322026 29029 195.29.180.44 (25 Mar 1999 00:33:46 GMT)
Organization: CARNet, CROATIA
Mime-Version: 1.0
NNTP-Posting-Date: 25 Mar 1999 00:33:46 GMT
Newsgroups: news.software.nntp