🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Nat Tue, 16 Dec 2003 14:56
moving from one newsgroup to another
#67447
Author: Nat
Date: Tue, 16 Dec 2003 14:56
14 lines
1318 bytes
Hello,

I has been using a remotely hosted newsgroup and now want to host newsgruop
in my own server. I want to sync the old newsgroup with new newsgruop for
some period and then end the remotely hosted newsgruop, is it possible to do
that with inn 2.4? Thank you.

Note that i can only access the remote newsgruop by nntp.

-- 
Sincerely,
bluebubble

Re: moving from one newsgroup to another
#67446
Author: Jeffrey M. Vinocur
Date: Tue, 16 Dec 2003 17:01
30 lines
2217 bytes
In article <brn6eh$4g5371@imsp212.netvigator.com>,
Nat <bluebubble@hkem.com> wrote:
>
>I has been using a remotely hosted newsgroup and now want to host newsgruop
>in my own server. I want to sync the old newsgroup with new newsgruop for
>some period and then end the remotely hosted newsgruop, is it possible to do
>that with inn 2.4? Thank you.

Sure.  Not too complicated.

You want to do something *similar* to these directions

    How do I...
    - Feed all articles on a server to another server
      http://www.eyrie.org/~eagle/faqs/inn.html#S6.4


>Note that i can only access the remote newsgruop by nntp.

Ok, so instead of the innxmit command, you'll need to do
something a little bit different.  In the FAQ answer above, skip
the part that says "Then try these commands" and instead use the
pullnews tool (which is installed with INN -- read the manpage
for configuration options) to transfer the articles from the old
server to the new server.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving from one newsgroup to another
#67478
Author: Sasko Stefanovski
Date: Sat, 20 Dec 2003 04:12
98 lines
5423 bytes
I also need to copy the article spool from machine A (rumor) to machine 
B (rumor-new) to another box.
> 
> You want to do something *similar* to these directions
> 
>     How do I...
>     - Feed all articles on a server to another server
>       http://www.eyrie.org/~eagle/faqs/inn.html#S6.4
> 

I've read the above sugestion, I setup as it was said.
I set xrefslave=true on rumor-new and executed "ctlinnd param c 0".
Then I executed:

cd /var/lib/news
perl -ne 'chomp; ($a,$b,$_) = split " "; print "$_\n" if $_' history \
         | tr . / > /var/spool/news/outgoing/rumor-new
innxmit rumor-new rumor-new

It started, but did not completed succesfully. It seems I have a problem 
with creating of overview files on the destination machine.

Here is what I have on rumor in news.notice:

Dec 19 16:44:21 rumor innxmit[6957]: rumor-new ihave failed 400 No such 
file or directory writing creating overview file -- throttling
Dec 19 16:44:33 rumor innxmit[6957]: rumor-new stats offered 1466 
accepted 1449 refused 0 rejected 1 missing 0 accsize 4232525 rejsize 53508
Dec 19 16:44:33 rumor innxmit[6957]: rumor-new times user 3.860 system 
2.350 elapsed 34.313

But here is what I have on rumor-new:
In news.err:

Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
such file or directory
Dec 19 16:44:04 rumor-new innd: SERVER cant store overview for 
@051C00000BBF000532780000000000000000@
Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: 
Bad address
Dec 19 16:44:04 rumor-new innd: SERVER cant store overview for 
@051C00000BBF000530050000000000000000@
Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: 
Bad address
Dec 19 16:44:04 rumor-new innd: SERVER cant store overview for 
@051C00000BBF000530070000000000000000@
Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
such file or directory
Dec 19 16:44:04 rumor-new innd: SERVER cant store overview for 
@051C00000BBF000530530000000000000000@
Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
such file or directory
...

In news.crit:

Dec 19 16:44:21 rumor-new innd: SERVER throttle No such file or 
directory writing creating overview file -- throttling


In news.notice:

Dec 19 16:44:04 rumor-new innd: news.richmond.edu connected 16 streaming 
allowed
Dec 19 16:44:04 rumor-new innd: news.richmond.edu:16 NCmode "mode 
stream" received
Dec 19 16:44:04 rumor-new innd: tradindexed: repacking group 
news.admin.net-abuse.usenet, offset 1761
Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
such file or directory
Dec 19 16:44:04 rumor-new innd: SERVER cant store overview for 
@051C00000BBF000532780000000000000000@
Dec 19 16:44:04 rumor-new innd: tradindexed: repacking group 
news.admin.net-abuse.usenet, offset 2388
....
Dec 19 16:44:20 rumor-new innd: SERVER throttled No such file or 
directory writing creating overview file -- throttling
Dec 19 16:44:21 rumor-new innd: SERVER throttle No such file or 
directory writing creating overview file -- throttling
Dec 19 16:44:21 rumor-new innd: SERVER cant store overview for 
@030C42554646323800000000055600000001@
Dec 19 16:44:21 rumor-new innd: SERVER cant write history 
<3B24BD99.E27E21A6@bright.net> No such file or directory
Dec 19 16:44:21 rumor-new innd: news.richmond.edu:16 closed seconds 17 
accepted 1449 refused 0 rejected 2 duplicate 0 accepted size 4265852 
duplicate size 0


I'll appriciate any clue?

Sasko
Re: moving from one newsgroup to another
#67481
Author: Jeffrey M. Vinocur
Date: Sat, 20 Dec 2003 06:12
15 lines
1775 bytes
In article <bs0i6r$8rv$1@rumor.richmond.edu>,
Sasko Stefanovski  <sstefano@richmond.edu> wrote:
>
>Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
>/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
>such file or directory

Perhaps you ran something as root inadvertently, and left file
permissions wrong.  Try `inncheck -all -perm` for starters, or
look by hand at each of the components of the path above and see
if there's any reason the news user can't write to it.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving from one newsgroup to another
#67480
Author: Sasko Stefanovski
Date: Sat, 20 Dec 2003 14:38
41 lines
3087 bytes
/etc/news/inn.conf:98: fromhost isn't a valid FQDN
/etc/news/inn.conf:100: modmailer has bad address
/usr/bin:0: owned by root, should be news
/usr/bin:0: in group root, should be news
/usr/lib:0: owned by root, should be news
/usr/lib:0: in group root, should be news
/var/spool/news/incoming:0: mode 775, should be 755
/usr/bin/rnews:0: owned by uucp, should be news
/usr/bin/rnews:0: mode 4550, should be 10706
/usr/bin/innd:0: mode 555, should be 550
/usr/bin/rc.news:0: missing
/usr/bin/inews:0: missing
/var/lib/news/active:0: mode 644, should be 664
/usr/bin/ctlinnd:0: mode 555, should be 550
/usr/bin/expire:0: mode 555, should be 550
/usr/bin/makehistory:0: mode 555, should be 550
/usr/bin/newsrequeue:0: mode 555, should be 550
/usr/bin/overchan:0: mode 555, should be 550
/usr/bin/prunehistory:0: mode 555, should be 550

This must be wrong right? /usr/bin to be owned by news!?
And I don't see anything related to the /var/spool/news/overview..
What I have is the RedHat 9 distribution of inn.

Sasko

Jeffrey M. Vinocur wrote:
> In article <bs0i6r$8rv$1@rumor.richmond.edu>,
> Sasko Stefanovski  <sstefano@richmond.edu> wrote:
> 
>>Dec 19 16:44:04 rumor-new innd: tradindexed: packgroup cant write to 
>>/var/spool/news/overview/n/a/n/u/news.admin.net-abuse.usenet-NEW.IDX: No 
>>such file or directory
> 
> 
> Perhaps you ran something as root inadvertently, and left file
> permissions wrong.  Try `inncheck -all -perm` for starters, or
> look by hand at each of the components of the path above and see
> if there's any reason the news user can't write to it.
> 
Re: moving from one newsgroup to another
#67483
Author: Sasko Stefanovski
Date: Sat, 20 Dec 2003 14:56
28 lines
2627 bytes
Now I'm getting:

Dec 20 09:43:27 rumor-new innd: tradindexed: repacking group 
talk.politics.guns, offset 2050
Dec 20 09:43:27 rumor-new innd: tradindexed: packgroup cant write to 
/var/spool/news/overview/t/p/g/talk.politics.guns-NEW.IDX: Interrupted 
system call
Dec 20 09:43:27 rumor-new innd: SERVER throttle Interrupted system call 
writing creating overview file -- throttling
Dec 20 09:43:27 rumor-new innd: SERVER cant store overview for 
@030C42554646323200000000077100000001@
Dec 20 09:43:27 rumor-new innd: SERVER cant write history 
<IqXU6.21239$G45.1156507@news1.onlynews.com> Interrupted system call

But
ls -l /var/spool/news/overview/t/p/g
-rw-rw----    1 news     news      1007005 Dec 19 17:08 
talk.politics.guns.DAT
-rw-rw----    1 news     news       423288 Dec 19 17:08 
talk.politics.guns.IDX
-rw-rw----    1 news     news       501660 Dec 20 09:43 
talk.politics.guns-NEW.IDX

which means that the files are created. What should the mode for the 
history file? All the files in the db directory have 644.

Sasko
Re: moving from one newsgroup to another
#67485
Author: Jeffrey M. Vinocur
Date: Sat, 20 Dec 2003 15:30
19 lines
1785 bytes
In article <bs1msq$kk$1@rumor.richmond.edu>,
Sasko Stefanovski  <sstefano@richmond.edu> wrote:
>
>This must be wrong right? /usr/bin to be owned by news!?

That's an artifact of the strange way that Redhat builds the INN
package.  We recommend keeping the news binaries in a separate
directory (usually ~news/bin), and in that case it makes sense to
have the news user own $pathbin.


>And I don't see anything related to the /var/spool/news/overview..

Yeah, I don't either.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving from one newsgroup to another
#67489
Author: Jeffrey M. Vinocur
Date: Sat, 20 Dec 2003 15:46
20 lines
1917 bytes
In article <bs1nug$228$1@rumor.richmond.edu>,
Sasko Stefanovski  <sstefano@richmond.edu> wrote:
>
>Dec 20 09:43:27 rumor-new innd: tradindexed: packgroup cant write to 
>/var/spool/news/overview/t/p/g/talk.politics.guns-NEW.IDX: Interrupted 
>system call

Hmm, is this a 2.4.x version?  Russ, surely the new
implementation handles EINTR, right?


>which means that the files are created. What should the mode for the 
>history file? All the files in the db directory have 644.

I'm not sure offhand, but that's not your problem.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving from one newsgroup to another
#67499
Author: Russ Allbery
Date: Sat, 20 Dec 2003 19:53
18 lines
2069 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Sasko Stefanovski  <sstefano@richmond.edu> wrote:

>> Dec 20 09:43:27 rumor-new innd: tradindexed: packgroup cant write to 
>> /var/spool/news/overview/t/p/g/talk.politics.guns-NEW.IDX: Interrupted 
>> system call

> Hmm, is this a 2.4.x version?  Russ, surely the new
> implementation handles EINTR, right?

It does, yes.  This looks like a Red Hat installation, though, and I don't
think Red Hat has packaged 2.4.x yet.

-- 
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: moving from one newsgroup to another
#67503
Author: Sasko Stefanovski
Date: Sat, 20 Dec 2003 20:44
12 lines
1883 bytes
> 
> It does, yes.  This looks like a Red Hat installation, though, and I don't
> think Red Hat has packaged 2.4.x yet.
> 

Yes, it is RHEL ES 2.1, I think I was wrong  saying that it was RedHat 9.
So, the best suggestions is to take the source and build it by myself.

Does anyone else have same problem?

Sasko
Re: moving from one newsgroup to another
#67504
Author: Jeffrey M. Vinocur
Date: Sun, 21 Dec 2003 02:56
26 lines
2065 bytes
In article <bs2cbj$vnp$1@rumor.richmond.edu>,
Sasko Stefanovski  <sstefano@richmond.edu> wrote:
>
>Yes, it is RHEL ES 2.1, I think I was wrong  saying that it was RedHat 9.

I don't know offhand what version of INN that is (you can check
by `telnet localhost 119` and looking at the banner message.


>So, the best suggestions is to take the source and build it by myself.

I suppose.  There's really no reason to stick to the older
version these days.


>Does anyone else have same problem?

We definitely fixed a bunch of "Interrupted system call" problems
in the not-too-distant past, because some people were reporting
the same problems.  I don't recall if 2.3.5 has all of those
fixes or if some of them only made it into 2.4.x.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: moving from one newsgroup to another
#67509
Author: Sasko Stefanovski
Date: Sun, 21 Dec 2003 15:25
36 lines
2408 bytes
FYI, it is version 2.3.2
So it is old. :-(
But that is what RH is shipping with Enterprize Linux 2.1

Sasko

Jeffrey M. Vinocur wrote:
> In article <bs2cbj$vnp$1@rumor.richmond.edu>,
> Sasko Stefanovski  <sstefano@richmond.edu> wrote:
> 
>>Yes, it is RHEL ES 2.1, I think I was wrong  saying that it was RedHat 9.
> 
> 
> I don't know offhand what version of INN that is (you can check
> by `telnet localhost 119` and looking at the banner message.
> 
> 
> 
>>So, the best suggestions is to take the source and build it by myself.
> 
> 
> I suppose.  There's really no reason to stick to the older
> version these days.
> 
> 
> 
>>Does anyone else have same problem?
> 
> 
> We definitely fixed a bunch of "Interrupted system call" problems
> in the not-too-distant past, because some people were reporting
> the same problems.  I don't recall if 2.3.5 has all of those
> fixes or if some of them only made it into 2.4.x.
> 
> 
Re: moving from one newsgroup to another
#67510
Author: Geoff Brozny
Date: Sun, 21 Dec 2003 16:38
19 lines
1995 bytes
"Sasko Stefanovski" <sstefano@richmond.edu> wrote in message
news:bs4e0g$cg1$1@rumor.richmond.edu...
> FYI, it is version 2.3.2
> So it is old. :-(
> But that is what RH is shipping with Enterprize Linux 2.1


Also for anyone interested, they are shipping  2.3.4 with RH9.

If RH enterprise sets up INN anyway like it is setup in 9, your going to
spend some time fixing things the rpm did wrong, mainly file permissions,
and for some reason you have to provide the full patch to ctlinnd and
anything else in the bin directory. So I would suggest compiling INN from
source, that's what I will do next time, makes things allot easier..

geoff

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