🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74294

Re: Renaming a newsgroup

#74294
From: John F. Morse
Date: Wed, 27 Sep 2006 17:44
121 lines
6517 bytes
Jeffrey M. Vinocur wrote:

Thanks for picking up on this Jeff.

I'll spend time going back through my notes and seeing if I can report 
on some of the items I discovered and was able to fix. Since this 
happened over two weeks ago, and I made many passes through makehistory 
and other fixes to the rename routine, I'll need a few days to review 
all of it to make sure I report accurately.

I will say that it took me several different tries before I finally got 
it to work correctly on the old news2 server. This server is still 
running but is no longer peering.

Then when I tried the same renaming of groups on the new news7 server, 
and running the makehistory, I ran across the same problems. However all 
were fixable, and the news7 server is now online and doing fine.

The original online news5 server was taken offline Sunday (port 
forwarding removed) but is also still running without peering.

With that in mind, I won't be able to try some of your ideas since 
everything is now up and running fine. My previous message just 
indicates the problems I encountered, and evidently was able to finally fix.

I still encountered one group with the doubling (the 
xanadu.xanadu.newgroupname) problem, which I fixed with another run on 
that group. I ran all groups the same way, but they didn't double. (This 
was a repeatable error on both servers.) I cannot explain why it errored 
(doubled) as I made no input errors to the group names. The problems 
were easily correctable by rerunning the renamer.pl using the errorname 
and goodname parameters.

Today I also see that the large history files have apparently repaired 
themselves on both servers:

john@optima2:/var/lib/news$ ls -al
total 10790
drwxrwxr-x   2 news news     488 2006-09-27 00:01 .
drwxr-xr-x  34 root root     856 2006-08-27 20:42 ..
-rw-rw-r--   1 news news     504 2006-09-15 10:33 active
-rw-rw-r--   1 news news     539 2006-09-13 01:35 active.old
-rw-r--r--   1 news news     435 2006-09-11 08:36 active.times
-rw-rw-r--   1 news news 3939763 2006-09-27 00:01 history
-rw-rw-r--   1 news news      84 2006-09-27 00:01 history.dir
-rw-rw-r--   1 news news      85 2006-09-03 02:20 history.dir.orig
-rw-rw-r--   1 news news  393216 2006-09-27 00:01 history.hash
-rw-rw-r--   1 news news  652800 2006-09-03 01:45 history.hash.orig
-rw-rw-r--   1 news news  262144 2006-09-27 00:01 history.index
-rw-rw-r--   1 news news  435200 2006-09-03 01:45 history.index.orig
-rw-rw-r--   1 news news 5321295 2006-09-03 01:46 history.orig
-rw-r--r--   1 news news      29 2006-09-27 00:01 .news.daily
-rw-r--r--   1 news news     641 2006-09-13 01:48 newsgroups


john@optima7:/var/lib/news$ ls -al
total 32594
drwxrwxr-x   2 news news      576 2006-09-27 00:26 .
drwxr-xr-x  35 root root      888 2006-09-01 06:52 ..
-rw-rw-r--   1 news news     8397 2006-09-16 15:06 active
-rw-rw-r--   1 news news     8397 2006-09-15 16:08 active.old
-rw-r--r--   1 news news     9016 2006-09-15 13:44 active.times
-rw-rw-r--   1 news news 12245117 2006-09-27 10:53 history
-rw-rw-r--   1 news news       96 2006-09-27 10:54 history.dir
-rw-rw-r--   1 news news       96 2006-09-16 07:50 history.dir.old
-rw-rw-r--   1 news news  1297800 2006-09-27 00:26 history.hash
-rw-rw-r--   1 news news  1461000 2006-09-16 00:05 history.hash.old
-rw-rw-r--   1 news news   865200 2006-09-27 00:26 history.index
-rw-rw-r--   1 news news   974000 2006-09-16 00:05 history.index.old
-rw-rw-r--   1 news news 13994631 2006-09-16 07:29 history.old
-rw-r--r--   1 news news       29 2006-09-27 00:27 .news.daily
-rw-r--r--   1 news news  2445205 2006-09-16 14:50 newsgroups

I think I'll edit this newsgroups file on news7 to thin it out like I 
did on news2 and news5, to contain only descriptions for groups I carry. 
It takes quite a long time to load using some news readers on some 
platforms where I've tested it.


>>xanadu.raucouscaucus 0000000239 0000000240 y
>>    
>>
>
>  
>
>>group xanadu.raucouscaucus
>>211 0 0 0 xanadu.raucouscaucus
>>listgroup xanadu.raucouscaucus
>>411 No such group xanadu.raucouscaucus
>>quit
>>205 .
>>Connection closed by foreign host.
>>
>>That 411 message is some kind of flag I'm sure.
>>    
>>
>
>I forget what version of INN you're running, but I wonder if that
>might be a subtle (and irrelevant) bug that has since been fixed.
>Do you see the same behavior with other empty newsgroups?  Here's
>mine for comparison:
>  
>

 From a little further up in this telnet session ("item #3"):

200 news2.my.net InterNetNews NNRP server INN 2.4.3 (20050407 
prerelease) ready (posting ok).

Just in case you wanted to look at this version. ;-)

I fixed this item with a manual (vi) edit of the active vi file before 
the makehistory run.

I'll check your original reply later (might be a few days) and see if 
there is anything additional I need to mention. For the next few days I 
will have a parade of home improvement people visiting for estimates, so 
I have little time for anything else.

-- 
John
Technical Details
Message-ID: <bMySg.129414$QM6.103688@bgtnsc05-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <ee6nbc$pv6$1@puck.litech.org> <NpCNg.117971$5i3.30183@bgtnsc04-news.ops.worldnet.att.net> <kGbOg.40791$QM6.16542@bgtnsc05-news.ops.worldnet.att.net> <efccjh$cvc$3@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <bMySg.129414$QM6.103688@bgtnsc05-news.ops.worldnet.att.net>
Subject: Re: Renaming a newsgroup
Date: Wed, 27 Sep 2006 17:44:39 GMT
From: "John F. Morse" <xanadu.bbs@invalid.net>
References: <AiTMg.17827$QM6.1566@bgtnsc05-news.ops.worldnet.att.net> <ee6nbc$pv6$1@puck.litech.org> <NpCNg.117971$5i3.30183@bgtnsc04-news.ops.worldnet.att.net> <kGbOg.40791$QM6.16542@bgtnsc05-news.ops.worldnet.att.net> <efccjh$cvc$3@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: xanadu.bbs@invalid.net
Organization: Xanadu BBS
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <efccjh$cvc$3@puck.litech.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 121
NNTP-Posting-Host: 5ec74b02d66c151f7ce1a034f8b0d058
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 1159379079
NNTP-Posting-Date: Wed, 27 Sep 2006 17:44:39 GMT