🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Steven A. Nickerson Mon, 31 Jan 1994 23:59
Trouble in active file...active numbers don't "wrap"
#2392
Author: Steven A. Nickerson
Date: Mon, 31 Jan 1994 23:59
14 lines
1604 bytes
I'm running a news server (NNTP) on a Silicon Graphics 4D25 using nntp.1.5.11
(or something like that), c-news, and trrn as a news reader.  In any case,
I've been noticing that I'm getting errors in my errlog for 3 groups that
recently went over 99999 articles.  The error message says something about
too many articles (100000) for digits in active file.  My question is,
if I go into the active file and add another digit, will that fix my problem?
Also, is there any way to get c-news to "wrap" the numbers around automatically?
i.e. go back to 00001 after 99999 instead of trying 100000?    Thanks in
advance for any insight!
-- 

S.A. Nickerson                    Xyvision Color Systems
System Administrator              101 Edgewater Drive
steve@contex.com                  Wakefield, MA  01880
Re: Trouble in active file...active numbers don't "wrap"
#2394
Author: PE. Smee
Date: Tue, 01 Feb 1994 14:25
32 lines
2280 bytes
In article <CKIqnE.Kvv@contex.com>,
Steven A. Nickerson <steve@yogi.contex.com> wrote:
>I've been noticing that I'm getting errors in my errlog for 3 groups that
>recently went over 99999 articles.  The error message says something about
>too many articles (100000) for digits in active file.  My question is,
>if I go into the active file and add another digit, will that fix my problem?

Yes.  Stick (some) 0(s) on the front of it.  Don't forget to lock the
news server first - 'maint/locknews' under your $NEWSBIN directory,
wherever that is.

The active file lines look like:

    <group-name> <number> <another-number> <flag>

You only need to glom the first number.  (Basic problem is that the
news server updates that number in place, and won't write in anything
with more digits that it had previously.)  When I hit this problem, I
noticed that the later versions of newgroup/addgroup put 10 digits in
there when a new group was created, so I just zipped through the file
sticking enough 0's on the front of each of them to bring them all to
10 digits.  Should suffice for a year or so. :-)

>Also, is there any way to get c-news to "wrap" the numbers around automatically?
>i.e. go back to 00001 after 99999 instead of trying 100000?    Thanks in
>advance for any insight!

Not to my knowledge.

-- 
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
     P.Smee@bristol.ac.uk - Tel +44 272 303132 - FAX +44 272 291576
Re: Trouble in active file...active numbers don't "wrap"
#2403
Author: Anthony A. Datri
Date: Tue, 01 Feb 1994 18:09
7 lines
1093 bytes
#$#228z#$%#@$% upact as distributed, though, strips off extra leading 0's.
I had to whack at it to not do so.

-- 

======================================================================8--<
Re: Trouble in active file...active numbers don't "wrap"
#2399
Author: Tom Limoncelli
Date: Wed, 02 Feb 1994 23:55
25 lines
2024 bytes
In <CKIqnE.Kvv@contex.com> steve@yogi.contex.com (Steven A. Nickerson) writes:

>I'm running a news server (NNTP) on a Silicon Graphics 4D25 using nntp.1.5.11
>(or something like that), c-news, and trrn as a news reader.  In any case,
>I've been noticing that I'm getting errors in my errlog for 3 groups that
>recently went over 99999 articles.  The error message says something about
>too many articles (100000) for digits in active file.  My question is,
>if I go into the active file and add another digit, will that fix my problem?
>Also, is there any way to get c-news to "wrap" the numbers around automatically?
>i.e. go back to 00001 after 99999 instead of trying 100000?    Thanks in
>advance for any insight!

lock the news system and edit the active file.  Add a couple zeros
to the front of any number that needs to grow.  C News (nor INN)
will grow this field automaticly.

Grep for " 9" and " 8" to find candidates for expansion.

Tom

-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Psst!  Hey, Anthony!  Y'know what I        | Disclaimer:  I do not
like about existing?"  "Uh... uh... what?"  | speak for Mentor Graphics.
"Possessing a physical extension."  -TSA    |
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