🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Marco Pizzi Sat, 06 May 2000 00:00
Feeding secondary news server..
#46323
Author: Marco Pizzi
Date: Sat, 06 May 2000 00:00
143 lines
3956 bytes
Hello,

I need to set up a secondary new server.
This is the situation:
I have a news server (le't call newssrv1) that must feed
a secondary news server (newssrv2).
newssrv2 must also feeed newssrv1.
Finally, newssrv1 is feeded by msterfeeder
All the feeds must be in stream mode.
----------------------------------------
Here are the files in newsrv1:

-incoming.conf

...
peer ME
        {
        hostname:       "localhost, 127.0.0.1"
        }
 
peer msterfeeder
        {
        hostname:               masterfeeder
        max-connections:        5                
        }
 
peer newssrv2
        {
        hostname:               newssrv2
        max-connections:        5
        }
...

-innfeed.conf
...

peer masterfeeder {
        ip-name:                masterfeeder
        max-connections:        10
        streaming:              true
}
 
peer newssrv2 {
        ip-name:                newssrv2
        max-connections:        10
        streaming:              true
}
...

-newsfeeds
...

ME\
        :it.*,news.*,comp.*,microsoft.*,sci.*,gnu.*,misc.*\
        ,soc.*,rec.*,clari.*,humanities.*,talk.*,italia.*\
        ,!comp.binaries.*,@it.binari.x.*\
        ,!junk,!control*,!local*,!foo.*,\
        ::
 
overview!:*:Tc,Ao,WhR:/usr/local/news/bin/overchan
 
innfeed!:\
                !*\
                :Tc,Wnm*,S16384:/usr/local/news/bin/startinnfeed -y
 
controlchan!\
                :!*,control,control.*,!control.cancel\
                :Tc,Wnsm:/usr/local/news/bin/controlchan
 
INFLOW:*:Tf:Wsgbtp:
 
masterfeeder/masterfeeder\
        :*,!it.binari.*,!junk,!control,\
        :Tm:innfeed!
 
newssrv2/newssrv2\
        :*:Tm:innfeed!
...
-------------------------------
And here in newssrv2

-incoming.conf 

...
peer ME {
  hostname:         "localhost, 127.0.0.1"
}
 
peer newssrv1
{
        hostname:               newssrv1
        max-connections:        5                
}
...

-innfeed.conf

...
peer newssrv1 {
        ip-name:                newssrv1
        max-connections:        10
        streaming:              true
}
...

-newsfeeds
...
ME\
        :it.*,news.*,comp.*,microsoft.*,sci.*,gnu.*,misc.*\
        ,soc.*,rec.*,clari.*,humanities.*,talk.*,italia.*\
        ,!comp.binaries.*,@it.binari.x.*\
        ,!junk,!control*,!local*,!foo.*\
        ::
 
overview!:*:Tc,Ao,WhR:/usr/local/news/bin/overchan
 
innfeed!:\
                !*\
                :Tc,Wnm*,S16384:/usr/local/news/bin/startinnfeed -y
 
controlchan!\
                 :!*,control,control.*,!control.cancel\
                 :Tc,Wnsm:/usr/local/news/bin/controlchan
 
newssrv1/newssrv1\
        :*:Tm:innfeed!
...
-------------------------------
Is all above correct? 
My nntpsend.ctl files are empty: is this correct?
With this setting, sometimes I have this error in newssrv1 log:

May  6 10:46:46 londra innfeed[95673]: newssrv2:1 connection vanishing

What's happened?

Thanks again for your patience and attention.
Best regards,

Marco Pizzi.
m.pizzi@net-one.it

Re: Feeding secondary news server..
#46319
Author: Marco Pizzi
Date: Sat, 06 May 2000 00:00
20 lines
1427 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Marco Pizzi <marcolin@londra.net-one.it> writes:

>> ME\
>>         :it.*,news.*,comp.*,microsoft.*,sci.*,gnu.*,misc.*\
>>         ,soc.*,rec.*,clari.*,humanities.*,talk.*,italia.*\
>>         ,!comp.binaries.*,@it.binari.x.*\
>>         ,!junk,!control*,!local*,!foo.*,\
>>         ::

> Because all of your feeds have explicit patterns, the feed entry here is
> never actually used by anything.

Ok.

Thank you very much for your quick reply!

Marco.

Re: Feeding secondary news server..
#46320
Author: Russ Allbery
Date: Sat, 06 May 2000 00:00
29 lines
1540 bytes
Marco Pizzi <marcolin@londra.net-one.it> writes:

> ME\
>         :it.*,news.*,comp.*,microsoft.*,sci.*,gnu.*,misc.*\
>         ,soc.*,rec.*,clari.*,humanities.*,talk.*,italia.*\
>         ,!comp.binaries.*,@it.binari.x.*\
>         ,!junk,!control*,!local*,!foo.*,\
>         ::

Because all of your feeds have explicit patterns, the feed entry here is
never actually used by anything.
 
> My nntpsend.ctl files are empty: is this correct?

Yes.  You're using innfeed.

> With this setting, sometimes I have this error in newssrv1 log:

> May  6 10:46:46 londra innfeed[95673]: newssrv2:1 connection vanishing

> What's happened?

That's a normal message from innfeed; it's ignorable.  It's a bit too
aggressive about reporting the fact that it's closing connections.

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

Re: Feeding secondary news server..
#46322
Author: Marco Pizzi
Date: Sat, 06 May 2000 00:00
18 lines
1493 bytes
Russ Allbery <rra@stanford.edu> wrote:
>> With this setting, sometimes I have this error in newssrv1 log:

>> May  6 10:46:46 londra innfeed[95673]: newssrv2:1 connection vanishing

>> What's happened?

> That's a normal message from innfeed; it's ignorable.  It's a bit too
> aggressive about reporting the fact that it's closing connections.

Ok, but how it happens only with newssrv2? (there's no errors with masterfeeder).
If this is an error ignorable, does exist a way to avoid his reporting?
Thanks again for your attention.

Marco Pizzi.
m.pizzi@net-one.it

Re: Feeding secondary news server..
#46325
Author: Russ Allbery
Date: Sat, 06 May 2000 00:00
19 lines
1329 bytes
Marco Pizzi <marcolin@snake.net-one.it> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> That's a normal message from innfeed; it's ignorable.  It's a bit too
>> aggressive about reporting the fact that it's closing connections.

> Ok, but how it happens only with newssrv2? (there's no errors with
> masterfeeder).

Dunno.  Maybe it never closes connections.

> If this is an error ignorable, does exist a way to avoid his reporting?

Not currently to my knowledge.  It needs to be fixed.

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

Re: Feeding secondary news server..
#46327
Author: Marco Pizzi
Date: Sun, 07 May 2000 00:00
15 lines
1297 bytes
Russ Allbery <rra@stanford.edu> wrote:

>> Ok, but how it happens only with newssrv2? (there's no errors with
>> masterfeeder).

> Dunno.  Maybe it never closes connections.

Strange.
From 23.00 PM of last night, this error disappeared.
Thanks again for your reply.

Marco Pizzi.
m.pizzi@net-one.it

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