🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by Michael Meyer Wed, 24 Mar 2004 18:01
Feeding all articles to new server doesn't work properly
#68776
Author: Michael Meyer
Date: Wed, 24 Mar 2004 18:01
13 lines
1394 bytes
I'm trying to feed all arcticles to a new newsserver.
I did all the things mentioned on 
http://www.eyrie.org/~eagle/faqs/inn.html#S6.4

However I still see the newest messagest on the new server only.
I can't find anything in the logs but one message in news.notice, which 
says: "closed seconds 14 accepted 0 refused 1970 rejected 0 duplicate 0 
accepted size 0 duplicate size 0"

Any hints a very welcome. This drives me crazy!!!

Jochen
Re: Feeding all articles to new server doesn't work properly
#68778
Author: Russ Allbery
Date: Wed, 24 Mar 2004 18:14
20 lines
1844 bytes
Michael Meyer <nomail@mail.org> writes:

> I'm trying to feed all arcticles to a new newsserver.
> I did all the things mentioned on
> http://www.eyrie.org/~eagle/faqs/inn.html#S6.4

> However I still see the newest messagest on the new server only.  I
> can't find anything in the logs but one message in news.notice, which
> says: "closed seconds 14 accepted 0 refused 1970 rejected 0 duplicate 0
> accepted size 0 duplicate size 0"

Refused means that the new server believes that it's already seen the
articles.  You need to purge history on the new server and try 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: Feeding all articles to new server doesn't work properly
#68777
Author: Michael Meyer
Date: Wed, 24 Mar 2004 18:28
9 lines
1336 bytes
Russ Allbery schrieb:

> Refused means that the new server believes that it's already seen the
> articles.  You need to purge history on the new server and try again.

How can I purge it? Deleting the content of all history.* files?

Michael
Re: Feeding all articles to new server doesn't work properly
#68779
Author: Russ Allbery
Date: Wed, 24 Mar 2004 19:24
17 lines
1732 bytes
Michael Meyer <nomail@mail.org> writes:
> Russ Allbery schrieb:

>> Refused means that the new server believes that it's already seen the
>> articles.  You need to purge history on the new server and try again.

> How can I purge it? Deleting the content of all history.* files?

Yeah, and then use makedbz -i to reinitialize a new history database like
you did right after installing the server.

-- 
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: Feeding all articles to new server doesn't work properly
#68780
Author: Michael Meyer
Date: Wed, 24 Mar 2004 20:11
45 lines
3420 bytes
Now it says:

Mar 24 21:01:23 jail-0 innd: SERVER changed -c 0
Mar 24 21:02:05 jail-0 innd: 10.0.0.2 connected 18 streaming allowed
Mar 24 21:02:05 jail-0 innd: 10.0.0.2:18 NCmode "mode stream" received
Mar 24 21:02:07 jail-0 innd: SERVER bad_newsgroup misc.bookmarks
Mar 24 21:02:07 jail-0 innd: SERVER cant store overview for 
@0500000000080000000A0000000000000000@
Mar 24 21:02:07 jail-0 innd: 10.0.0.2:18 checkpoint seconds 2 accepted 
19 refused 0 rejected 181 duplicate 0 accepted size 73487 duplicate size 0
Mar 24 21:02:10 jail-0 innd: 10.0.0.2:18 checkpoint seconds 5 accepted 
69 refused 0 rejected 331 duplicate 0 accepted size 344788 duplicate size 0
Mar 24 21:02:11 jail-0 innd: SERVER throttled no matching entry in 
storage.conf storing article -- throttling
Mar 24 21:02:11 jail-0 innd: SERVER throttle no matching entry in 
storage.conf storing article -- throttling
Mar 24 21:02:11 jail-0 innd: SERVER cant store article: no matching 
entry in storage.conf
Mar 24 21:02:11 jail-0 innd: 10.0.0.2:18 closed seconds 6 accepted 74 
refused 0 rejected 359 duplicate 0 accepted size 481419 duplicate size 0
Mar 24 21:02:54 jail-0 nnrpd[638]: ? reverse lookup for 10.0.1.13 
failed: Unknown host -- using IP address for access
Mar 24 21:02:54 jail-0 nnrpd[638]: 10.0.1.13 (10.0.1.13) connect
Mar 24 21:02:54 jail-0 nnrpd[638]: 10.0.1.13 rejected no matching entry 
in storage.conf storing article -- throttling
Mar 24 21:02:54 jail-0 nnrpd[638]: 10.0.1.13 times user 0.015 system 
0.054 idle 0.000 elapsed 0.063
Mar 24 21:02:54 jail-0 nnrpd[638]: 10.0.1.13 time 70 nntpwrite 0(1)
Mar 24 21:02:54 jail-0 nnrpd[639]: ? reverse lookup for 10.0.1.13 
failed: Unknown host -- using IP address for access
Mar 24 21:02:54 jail-0 nnrpd[639]: 10.0.1.13 (10.0.1.13) connect
Mar 24 21:02:54 jail-0 nnrpd[639]: 10.0.1.13 rejected no matching entry 
in storage.conf storing article -- throttling
Mar 24 21:02:54 jail-0 nnrpd[639]: 10.0.1.13 times user 0.030 system 
0.030 idle 0.000 elapsed 0.062
Mar 24 21:02:54 jail-0 nnrpd[639]: 10.0.1.13 time 63 nntpwrite 0(1)



Damn, this sucks :-(


Michael

Re: Feeding all articles to new server doesn't work properly
#68781
Author: Russ Allbery
Date: Wed, 24 Mar 2004 20:27
21 lines
2106 bytes
Michael Meyer <nomail@mail.org> writes:

> Now it says:

> Mar 24 21:01:23 jail-0 innd: SERVER changed -c 0
> Mar 24 21:02:05 jail-0 innd: 10.0.0.2 connected 18 streaming allowed
> Mar 24 21:02:05 jail-0 innd: 10.0.0.2:18 NCmode "mode stream" received
> Mar 24 21:02:07 jail-0 innd: SERVER bad_newsgroup misc.bookmarks
> Mar 24 21:02:07 jail-0 innd: SERVER cant store overview for
> @0500000000080000000A0000000000000000@

Does the new server have the same active file as the old server (apart
from article numbers)?  You can't feed articles into groups that don't
exist on the new server.

-- 
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: Feeding all articles to new server doesn't work properly
#68782
Author: Michael Meyer
Date: Wed, 24 Mar 2004 21:14
13 lines
1718 bytes
Russ Allbery schrieb:

> Does the new server have the same active file as the old server (apart
> from article numbers)?  You can't feed articles into groups that don't
> exist on the new server.

Yes, it does. That's what's the funny part here. The guy who has 
maintained the old server has renamed one group without changing the 
headers of the old postings. I guess that causes the transfer 
problems!??? How can I fix this?

Jochen
Re: Feeding all articles to new server doesn't work properly
#68783
Author: Jeffrey M. Vinocur
Date: Wed, 24 Mar 2004 21:19
24 lines
1947 bytes
In article <c3stmq$2c1ohv$1@ID-223401.news.uni-berlin.de>,
Michael Meyer  <nomail@mail.org> wrote:
>
>The guy who has maintained the old server has renamed one group
>without changing the headers of the old postings. I guess that
>causes the transfer problems!??? How can I fix this?

Well, there's a FAQ about renaming newsgroups on an existing
server:

    http://www.eyrie.org/~eagle/faqs/inn.html#S6.5

It may actually be slightly easier in your case, if you're lucky
and someone besides me can help out a bit.

You have the opportunity -- while feeding the articles across --
to make changes to the Newsgroups header and let INN take care of
getting the article in the right place.  I'm just not sure the
best way to edit the articles in transit.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Feeding all articles to new server doesn't work properly
#68785
Author: Michael Meyer
Date: Wed, 24 Mar 2004 22:39
21 lines
1573 bytes
I added the old groups, too. But Inn still complains with:

---
Mar 24 23:23:42 jail-0 innd: SERVER cant store article: no matching 
entry in storage.conf
---

I guess this is not the correct error message, is it? Storage.conf looks 
as follows:


---
method tradspool {
     newsgroups: *
     class: 0
     size: 0,100000
}
---

Michael
Re: Feeding all articles to new server doesn't work properly
#68786
Author: Jeffrey M. Vinocur
Date: Wed, 24 Mar 2004 22:41
22 lines
1606 bytes
In article <c3t2n8$2bo7ci$1@ID-223401.news.uni-berlin.de>,
Michael Meyer  <nomail@mail.org> wrote:
>
>Mar 24 23:23:42 jail-0 innd: SERVER cant store article: no matching 
>entry in storage.conf
>
>method tradspool {
>     newsgroups: *
>     class: 0
>     size: 0,100000
>}

Well, do you have articles larger than 100 KB?

(And if you want to be discarding those articles, use a "junk"
storage method with a wildcard.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Feeding all articles to new server doesn't work properly
#68787
Author: Michael Meyer
Date: Wed, 24 Mar 2004 23:06
12 lines
1593 bytes
Jeffrey M. Vinocur schrieb:

> Well, do you have articles larger than 100 KB?

Actually not, but there may be a few. I just need to know if this is all 
caused by the the wrong headers in the old articles! If so, then I will 
  replace all headers myself to get it clean again. If I only accept 
messages not older then 10 days, the transfer works perfectly.


Thanks, Jochen
Re: Feeding all articles to new server doesn't work properly
#68788
Author: Remco Blaakmeer
Date: Wed, 24 Mar 2004 23:28
43 lines
1998 bytes
Michael Meyer <nomail@mail.org> wrote in news:c3t2n8$2bo7ci$1@ID-
223401.news.uni-berlin.de:

> I added the old groups, too. But Inn still complains with:
> 
> ---
> Mar 24 23:23:42 jail-0 innd: SERVER cant store article: no matching 
> entry in storage.conf
> ---
> 
> I guess this is not the correct error message, is it? Storage.conf looks 
> as follows:
> 
> 
> ---
> method tradspool {
>      newsgroups: *
>      class: 0
>      size: 0,100000
> }
> ---

Delete the line with the "size" keyword. Leaving it out means "all sizes".

You should always have a storage method for every article imaginable. If an 
article arrives that doesn't match any storage class, which would be any 
article over 100000 bytes in your case, you'll get the error you mentioned.

If you want to discard all articles larger than 100000 bytes, add this to 
the end of storage.conf:

method trash {
  newsgroups: *
  class: 1
}

See also `man storage.conf`

Remco
-- 
Honda XL650V TransAlp
Suzuki DR350S "GetAlife"
Re: Feeding all articles to new server doesn't work properly
#68790
Author: Jeffrey M. Vinocur
Date: Thu, 25 Mar 2004 01:53
22 lines
1862 bytes
In article <c3t496$278lau$1@ID-223401.news.uni-berlin.de>,
Michael Meyer  <nomail@mail.org> wrote:
>Jeffrey M. Vinocur schrieb:
>
>> Well, do you have articles larger than 100 KB?
>
>Actually not, but there may be a few. I just need to know if this is all 
>caused by the the wrong headers in the old articles! If so, then I will 
>  replace all headers myself to get it clean again. If I only accept 
>messages not older then 10 days, the transfer works perfectly.

I'm not sure what the "all" you're talking about is.

With a storage.conf that has only size: 0,100000, you're always
going to throttle if you get an article larger, regardless of
what the newsgroup is named.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Feeding all articles to new server doesn't work properly
#68804
Author: Michael Meyer
Date: Fri, 26 Mar 2004 14:57
5 lines
1315 bytes
I correted the headers by hand and accepted any size in storage.conf.
Anything worked after this :-)

Thanks, Michael
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