🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by David Swanger Thu, 18 Sep 1997 00:00
Renumbering the active file (INN)
#21651
Author: David Swanger
Date: Thu, 18 Sep 1997 00:00
19 lines
978 bytes

I am setting up a new usenet server for us and I copied the 
old active file (from our current server) over to the new 
machine.  I would like to renumber this active file.  
"ctlinnd renumber" renumbers the high number, but I would 
like to change the low number to 1 for ever group.  Is 
there an easy way to do this? 

Thanks for any help you can send.


--
David Swanger
University Computing
Auburn University, AL
swangdb@mail.auburn.edu

Re: Renumbering the active file (INN)
#21660
Author: Ron Echeverri
Date: Thu, 18 Sep 1997 00:00
25 lines
1458 bytes
In article <5vrjtc$kp$1@aunews.duc.auburn.edu>,
David Swanger <swangdb@mail.auburn.edu> wrote:
>I am setting up a new usenet server for us and I copied the 
>old active file (from our current server) over to the new 
>machine.  I would like to renumber this active file.  
>"ctlinnd renumber" renumbers the high number, but I would 
>like to change the low number to 1 for ever group.  Is 
>there an easy way to do this? 

ctlinnd throttle renumbering active
awk '{print $1" "$2" 0000000001 "$4}' active > active.new
mv active active.old
mv active.new active
ctlinnd reload active renumbering active
ctlinnd go renumbering active
ctlinnd renumber ''

rone
-- 
Ron Echeverri		<URL:http://www.ennui.org/~rone/>	<rone@best.net>
Systems/Usenet Administration			  "This is _my_ ISP, _i_ do the
Best Internet Communications, Inc.	     ass-kicking around here!" -rpwhite

Re: Renumbering the active file (INN)
#21663
Author: Dave Barr
Date: Thu, 18 Sep 1997 00:00
17 lines
1168 bytes
In article <5vrjtc$kp$1@aunews.duc.auburn.edu>,
David Swanger <swangdb@mail.auburn.edu> wrote:
>I am setting up a new usenet server for us and I copied the 
>old active file (from our current server) over to the new 
>machine.  I would like to renumber this active file.  
>"ctlinnd renumber" renumbers the high number, but I would 
>like to change the low number to 1 for ever group. 

Why would you want to change the low number to 1?

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Re: Renumbering the active file (INN)
#21664
Author: Scott Gifford
Date: Thu, 18 Sep 1997 00:00
18 lines
1089 bytes
David Swanger <swangdb@mail.auburn.edu> wrote...
> 
> I am setting up a new usenet server for us and I copied the 
> old active file (from our current server) over to the new 
> machine.  I would like to renumber this active file.  
> "ctlinnd renumber" renumbers the high number, but I would 
> like to change the low number to 1 for ever group.  Is 
> there an easy way to do this? 

	$ sed -e 's/ [0-9]*/ 0000000001/' active >active.new
	$ mv active.new active

seems like a pretty easy way...

------Scott.

Re: Renumbering the active file (INN)
#21684
Author: bill davidsen
Date: Fri, 19 Sep 1997 00:00
22 lines
1333 bytes
In article <5vs998$57u$1@bofh.noc.best.net>,
Ron Echeverri <rone@bofh.noc.best.net> wrote:

| ctlinnd throttle renumbering active
| awk '{print $1" "$2" 0000000001 "$4}' active > active.new
| mv active active.old
| mv active.new active
| ctlinnd reload active renumbering active
| ctlinnd go renumbering active
| ctlinnd renumber ''

Unless you can do with your server missing in action for hours, I
suggest using "renumber '*'" instead.
--
bill davidsen <davidsen@tmr.com>
 "I think there's a problem with the server power supply"
 "Why?"
 "There were flames coming out of the cooling fan until it stopped."
	-actual conversation, on a Friday afternoon of course

Re: Renumbering the active file (INN)
#21718
Author: Forrest J. Cavalier III
Date: Fri, 19 Sep 1997 00:00
35 lines
1794 bytes
In article <5vrjtc$kp$1@aunews.duc.auburn.edu>, swangdb@mail.auburn.edu 
wrote...
>
>
>I am setting up a new usenet server for us and I copied the 
>old active file (from our current server) over to the new 
>machine.  I would like to renumber this active file.  
>"ctlinnd renumber" renumbers the high number, but I would 
>like to change the low number to 1 for ever group.  Is 
>there an easy way to do this? 
>
>Thanks for any help you can send.

While all of these solutions will do what you ask, you must
be certain that you are aware of the consequences.  As
Dave Barr wrote:

    "Why would you want to do that?"

Consider that newsreading clients use article number to track
articles read vs. unread.  If you start over at 1, then all the 
new articles received will be considered as already "read" until
you reach the article number used on the previous system.

You may get lots of user complaints, if the intent is to have them
switch to the new system.

Forrest Cavalier, Mib Software, INN customization and consulting 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages: 
    http://www.mibsoftware.com/userkt/forprov.htm 
Commercial support for INN: http://www.mibsoftware.com/innsup.htm 


Re: Renumbering the active file (INN)
#21721
Author: Jeff Garzik
Date: Fri, 19 Sep 1997 00:00
23 lines
1382 bytes
bill davidsen wrote:
> In article <5vs998$57u$1@bofh.noc.best.net>,
> Ron Echeverri <rone@bofh.noc.best.net> wrote:
> | [...]
> | ctlinnd go renumbering active
> | ctlinnd renumber ''

> Unless you can do with your server missing in action for hours, I
> suggest using "renumber '*'" instead.

Hours?  It takes about five minutes on my INN 1.5.1 box.

In any case, most people out there probably don't have "renumber '*'"
support in their INN software yet.  That feature came in a jumbo patch
from Alan Barrett (APB) for INN 1.5.1.  It may have made it into the
1.6beta series...
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Re: Renumbering the active file (INN)
#21723
Author: Jeff Garzik
Date: Fri, 19 Sep 1997 00:00
22 lines
1458 bytes
David Swanger wrote:
> I am setting up a new usenet server for us and I copied the
> old active file (from our current server) over to the new
> machine.  I would like to renumber this active file.
> "ctlinnd renumber" renumbers the high number, but I would
> like to change the low number to 1 for ever group.  Is
> there an easy way to do this?

There's no point.  If you set the low number to 1, then having the high
number at 0000032768 tells the news server you have 32,768 articles in
that group, on your system.  I don't think this is what you're aiming
for.

You want to set the high number to 1, and then issue a renumber, like
the method included in another author's reply to you.
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Re: Renumbering the active file (INN)
#21739
Author: Don Lewis
Date: Sat, 20 Sep 1997 00:00
29 lines
1784 bytes
In article <342280B2.45C25AF5@spinne.com>,
Jeff Garzik  <jeff.garzik@spinne.com> wrote:
>bill davidsen wrote:
>> In article <5vs998$57u$1@bofh.noc.best.net>,
>> Ron Echeverri <rone@bofh.noc.best.net> wrote:
>> | [...]
>> | ctlinnd go renumbering active
>> | ctlinnd renumber ''
>
>> Unless you can do with your server missing in action for hours, I
>> suggest using "renumber '*'" instead.
>
>Hours?  It takes about five minutes on my INN 1.5.1 box.
>
>In any case, most people out there probably don't have "renumber '*'"
>support in their INN software yet.  That feature came in a jumbo patch
>from Alan Barrett (APB) for INN 1.5.1.  It may have made it into the
>1.6beta series...

And I found that it liked to corrupt my active file because of a
fencepost error (and could potentially do worse things if groups
are added or removed while running).
-- 
Don "Truck" Lewis                                       TDK Semiconductor
Internet: Don.Lewis@tsc.tdk.com                         138 New Mohawk Road
Phone: +1 916 478-8284       FAX: +1 916 478-8251       Nevada City, CA  95959

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