🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Paul Reilly Sat, 17 Mar 2001 18:39
News Transfer 2.2.1 to 2.3.1
#51294
Author: Paul Reilly
Date: Sat, 17 Mar 2001 18:39
53 lines
2373 bytes
Hi

I want to transfer all my articles from my 2.2.1 server to a new 2.3.1
server.
On the old server I have generated a file for innxmit by parsing the
history file.

cd ~news/db
cut -f3 history > list1

But it appears list1 has the multiline problem....

aus.net.access/13867
misc.legal/252033 misc.invest.stocks/388357

....so I kill everything after the space with the command:
cat list1 | grep / | sed 's/ .*//' > list2

...list2 then looks like it's in the right format:

misc.invest.stocks/387507
aus.net.access/13867
misc.legal/252033
misc.legal/252034
misc.legal/252053
misc.health.diabetes/135482
uk.misc/496817

So I do a

% innxmit  news2  /usr/local/news/db/list2
%

Which appears to work from the old server, but the new server still
doesn't appear to have accepted the articles. In the logs on the new
2.3.1 server I see the following:

Mar 17 18:34:47 news2 innd: news.big.com connected 21 streaming allowed
Mar 17 18:34:47 news2 innd: news.big.com:21 NCmode "mode stream"
received
Mar 17 18:35:44 news2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne

Mar 17 18:35:44 news2 innd: news.big.com:21 closed seconds 57 accepted 0
refused 4 rejected 0 duplicate 0 accepted size 0 duplicate size 0

Why doesn't the new server accept the articles?

Any advice appreciated.

Paul


Re: News Transfer 2.2.1 to 2.3.1
#51295
Author: Mike O'Connor
Date: Sat, 17 Mar 2001 18:56
69 lines
2907 bytes
In article <3AB3AF75.6AD07DCF@tcd.ie>, Paul Reilly  <paul.reilly@tcd.ie> wrote:
:Hi
:
:I want to transfer all my articles from my 2.2.1 server to a new 2.3.1
:server.

Is there any particular reason you don't just copy the spool over 
with NFS, rcp/scp, etc., then use INN commands to get active, history,
and such all sync-ed up?  

:On the old server I have generated a file for innxmit by parsing the
:history file.
:
:cd ~news/db
:cut -f3 history > list1
:
:But it appears list1 has the multiline problem....
:
:aus.net.access/13867
:misc.legal/252033 misc.invest.stocks/388357
:
:....so I kill everything after the space with the command:
:cat list1 | grep / | sed 's/ .*//' > list2
:
:...list2 then looks like it's in the right format:
:
:misc.invest.stocks/387507
:aus.net.access/13867
:misc.legal/252033
:misc.legal/252034
:misc.legal/252053
:misc.health.diabetes/135482
:uk.misc/496817
:
:So I do a
:
:% innxmit  news2  /usr/local/news/db/list2
:%
:
:Which appears to work from the old server, but the new server still
:doesn't appear to have accepted the articles. In the logs on the new
:2.3.1 server I see the following:
:
:Mar 17 18:34:47 news2 innd: news.big.com connected 21 streaming allowed
:Mar 17 18:34:47 news2 innd: news.big.com:21 NCmode "mode stream"
:received
:Mar 17 18:35:44 news2 innd: ME HISstats 0 hitpos 0 hitneg 0 missed 0 dne
:
:Mar 17 18:35:44 news2 innd: news.big.com:21 closed seconds 57 accepted 0
:refused 4 rejected 0 duplicate 0 accepted size 0 duplicate size 0
:
:Why doesn't the new server accept the articles?
:
:Any advice appreciated.

Are the particular articles you're trying to xmit actually in your
spool?  Just because they're in history may not mean they're on your
spool.  Are you sure that the articles you tried to xmit weren't in
your new server's history already? 

You might be better off parsing your active file to create a list of
articles to xfer over, if you wanted to do so via NNTP vs. the other
methods I described above.  

--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 Royal Oak, Michigan | (has my PGP & Geek Code info) | Phone: +1 248-427-4481

Re: News Transfer 2.2.1 to 2.3.1
#51296
Author: Russ Allbery
Date: Sat, 17 Mar 2001 21:46
27 lines
1936 bytes
Mike O'Connor <mjo@dojo.mi.org> writes:
> Paul Reilly  <paul.reilly@tcd.ie> wrote:

>> I want to transfer all my articles from my 2.2.1 server to a new 2.3.1
>> server.

> Is there any particular reason you don't just copy the spool over 
> with NFS, rcp/scp, etc., then use INN commands to get active, history,
> and such all sync-ed up?  

The method he's using is a lot more reliable.

>> % innxmit  news2  /usr/local/news/db/list2

>> Which appears to work from the old server, but the new server still
>> doesn't appear to have accepted the articles. In the logs on the new
>> 2.3.1 server I see the following:

What does the news log file say?  My guess is that you've forgotten to
tell your new server to accept articles of arbitrary age.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: News Transfer 2.2.1 to 2.3.1
#51303
Author: those who know me have no need o...
Date: Sat, 17 Mar 2001 23:47
11 lines
1093 bytes
<yln1akax1w.fsf@windlord.stanford.edu> divulged:

>What does the news log file say?  My guess is that you've forgotten to
>tell your new server to accept articles of arbitrary age.

and you might want to make the new server a slave of the old, so you 
have the same article numbers.

-- 
okay, have a sig then
Re: News Transfer 2.2.1 to 2.3.1
#51297
Author: Mike O'Connor
Date: Sun, 18 Mar 2001 00:58
26 lines
1792 bytes
In article <yln1akax1w.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
:> Is there any particular reason you don't just copy the spool over 
:> with NFS, rcp/scp, etc., then use INN commands to get active, history,
:> and such all sync-ed up?  
:
:The method he's using is a lot more reliable.

I'd think it'd be a lot slower, for any significant spool size.  And,
I wouldn't necessarily expect that everything in history is on the
spool and vice versa.

:>> Which appears to work from the old server, but the new server still
:>> doesn't appear to have accepted the articles. In the logs on the new
:>> 2.3.1 server I see the following:
:
:What does the news log file say?  My guess is that you've forgotten to
:tell your new server to accept articles of arbitrary age.

Wouldn't old show up as rejected, not refused?  
 
--
 Michael J. O'Connor | WWW: http://dojo.mi.org/~mjo/ | Email: mjo@dojo.mi.org
 Royal Oak, Michigan | (has my PGP & Geek Code info) | Phone: +1 248-427-4481

Re: News Transfer 2.2.1 to 2.3.1
#51298
Author: Russ Allbery
Date: Sun, 18 Mar 2001 03:07
28 lines
2097 bytes
Mike O'Connor <mjo@dojo.mi.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> The method he's using is a lot more reliable.

> I'd think it'd be a lot slower, for any significant spool size.

I doubt that it would be that much slower than copying the spool and
running makehistory, and like I said, it's a lot more reliable.

> And, I wouldn't necessarily expect that everything in history is on the
> spool and vice versa.

If it isn't, you've not been running expire regularly.

> Wouldn't old show up as rejected, not refused?  

If he was trying again with the same articles, the first time they would
show as rejected and then after that as refused.  Which is the other good
point; if you start feeding and make a mistake, make sure to wipe
everything on the system, particularly history, before starting again.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: News Transfer 2.2.1 to 2.3.1
#51314
Author: Bernhard Kohl
Date: Mon, 19 Mar 2001 09:11
28 lines
1620 bytes
Paul Reilly <paul.reilly@tcd.ie> wrote in <3AB3AF75.6AD07DCF@tcd.ie>:

>Hi
>
>I want to transfer all my articles from my 2.2.1 server to a new 2.3.1
>server.
>...list2 then looks like it's in the right format:
> ...
> ...
>misc.invest.stocks/387507
>aus.net.access/13867
>misc.legal/252033
>misc.legal/252034
>misc.legal/252053
>misc.health.diabetes/135482
>uk.misc/496817
>


I s this really the rifht format? I did something similar the last days and 
changing the dots into backslashes did the work.



Regards
Bernd

Re: News Transfer 2.2.1 to 2.3.1
#51403
Author: bill davidsen
Date: Thu, 22 Mar 2001 15:35
33 lines
2150 bytes
In article <Xns906967C22B8EDBKohlrrzunikoelnde@134.95.100.202>,
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
| Paul Reilly <paul.reilly@tcd.ie> wrote in <3AB3AF75.6AD07DCF@tcd.ie>:
| 
| >Hi
| >
| >I want to transfer all my articles from my 2.2.1 server to a new 2.3.1
| >server.
| >...list2 then looks like it's in the right format:
| > ...
| > ...
| >misc.invest.stocks/387507
| >aus.net.access/13867
| >misc.legal/252033
| >misc.legal/252034
| >misc.legal/252053
| >misc.health.diabetes/135482
| >uk.misc/496817
| >
| 
| 
| I s this really the rifht format? I did something similar the last days and 
| changing the dots into backslashes did the work.

  I hope that's a typo, you want slashes, like the one between the group
and the article number.

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"It's not true that life is one damn thing after another. It's one damn
 thing over and over."
        -Edna St Vincent Millay
Re: News Transfer 2.2.1 to 2.3.1
#51411
Author: Bernhard Kohl
Date: Thu, 22 Mar 2001 16:34
50 lines
2472 bytes
davidsen@tmr.com (bill davidsen) wrote in
<99d64g$63ak$1@newssvr05-en0.news.prodigy.com>: 

>In article <Xns906967C22B8EDBKohlrrzunikoelnde@134.95.100.202>,
>Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> wrote:
>| Paul Reilly <paul.reilly@tcd.ie> wrote in <3AB3AF75.6AD07DCF@tcd.ie>:
>| 
>| >Hi
>| >
>| >I want to transfer all my articles from my 2.2.1 server to a new
>| >2.3.1 server.
>| >...list2 then looks like it's in the right format:
>| > ...
>| > ...
>| >misc.invest.stocks/387507
>| >aus.net.access/13867
>| >misc.legal/252033
>| >misc.legal/252034
>| >misc.legal/252053
>| >misc.health.diabetes/135482
>| >uk.misc/496817
>| >
>| 
>| 
>| I s this really the rifht format? I did something similar the last
>| days and changing the dots into backslashes did the work.
>
>  I hope that's a typo, you want slashes, like the one between the group
>and the article number.
>

Sorry, it's actually a typo. I did mean slashes. I did it with the 
following perl script (slightly modified from a previous one posted here):

	while (<>) {
	  chomp;
	  @foo = split;
	  if ($#foo > 1) {  # article not expired
	     # convert newsgroup name into path
	     $foo[2] =~ s/\./\//g;
	     # path and message-ID
	     print "$foo[2] $foo[0]\n";
	  }
	}

This one did it considerably faster then a combination of cut and tr.

Regards,
Bernd
Re: News Transfer 2.2.1 to 2.3.1
#51448
Author: Paul Reilly
Date: Sat, 24 Mar 2001 02:25
19 lines
1420 bytes
Thanks Bernd.

That was the problem. It needs to be in the / format.
misc/health/diabetes/13456  etc.
Paul

>
> >misc.health.diabetes/135482
> >uk.misc/496817
> >
>
> I s this really the rifht format? I did something similar the last days and
> changing the dots into backslashes did the work.
>
> Regards
> Bernd

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