🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by digitsix Sat, 29 Jan 2000 00:00
newsfeeds in inn
#43776
Author: digitsix
Date: Sat, 29 Jan 2000 00:00
57 lines
2216 bytes
Hi
im getting an error when i start the server-

Jan 28 18:58:26 newnews innd:  else bad_newsfeeds missing field 2
Jan 28 18:58:26 newnews innd: innfeed! bad_newsfeeds unknown field 3
flag
Jan 28 18:58:26 newnews innd: news.domain.net/ bad_newsfeeds missing
field 2
Jan 28 18:58:26 newnews innd: bad_newsfeeds. Must have exactly one ME
entry
Jan 28 18:58:26 newnews innd: SERVER syntax_error
/usr/local/news/etc/newsfeeds
Jan 28 18:58:26 newnews /kernel: pid 164 (innd), uid 8: exited on
signal 11 (co

ok and my newsfeeds file looks like this

#ME/!alt.*\
#       :chi.*,rec.radio.swap.*\
#       :Tm:innfeed!

##  News overview
# use this flag if storage api is used
overview!:*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
 else
overview!:*:Tc,WO,S30000:/usr/local/news/bin/overchan

# Feed all local non-internal postings to the world; sent off-line via
# nntpsend or send-nntp.
#news.urbancom.net\
#       :!junk/!foo\
#       :Tf,Wnm:news.urbancom.net

# Innfeed funnel master; individual peers feed into the funnel.
# Note that innfeed with "-y" and no peer in innfeed.conf
# would cause a problem that innfeed drops the first article.
innfeed!:\
        :chi.*,rec.radio.swap\
        :Tc,Wnm*,S30000:/usr/local/news/bin/startinnfeed

# A real-time feed through innfeed.
news.urbancom.net/
        :chi.*,rec.radio.swap\
        :Tm:innfeed!

# Use an external program to handle control messages, except cancel
controlchan!\
        :!*,control,control.*,!control.cancel\
        :Tc,Wnsm:/usr/local/news/bin/controlchan



any help would be breatly appreciated

rick

Re: newsfeeds in inn
#43768
Author: Russ Allbery
Date: Sat, 29 Jan 2000 00:00
53 lines
2619 bytes
digitsix <whichnews@urbancom.net> writes:

> I now get this following error:
> newnews innd: innfeed! bad_newsfeeds unknown field 3 flag
> newnews innd: news.myfeedsite.net/ bad_newsfeeds missing field 2
> newnews innd: SERVER syntax_error /usr/local/news/etc/newsfeeds
> newnews /kernel: pid 164 (innd), uid 8: exited on signal 11 (core
> dumped)

> and my config file now looks like this:

> ME/!alt.*\
>       :chi.*,rec.radio.swap.*\
>       :Tm:innfeed!

I think what you want here is:

        ME:!alt.*,chi.*,rec.radio.swap.*::

ME entries shouldn't have feed information and !alt.* is a newsgroups
restriction, not a Path restriction.

> innfeed!:\
>       :chi.*,rec.radio.swap\
>       :Tc,Wnm*,S30000:/usr/local/news/bin/startinnfeed

Don't ever feed articles directly to innfeed; you'll confuse it badly.

The other problem you have here is that you've got a stray extra colon.
Kill the colon on the first line after "innfeed!".

> news.myfeedsite.net/
>       :chi.*,rec.radio.swap\
>       :Tm:innfeed!

Forward slash instead of backslash on the first line.

> Basically, my server gets its news from a feeder site, and then has
> nnrpd access at the other end, we do not feed any larger sites, I just
> want to set it up so that the only groups it downloads from the feeder
> site is chi.* and rec.radio.swap - for testing purposes at this point.
> If anyone can help me achieve this i would be greatly appreciated.

Ah... and you've got the wrong file to begin with.  :/  newsfeeds doesn't
control what you download.  Your upstream needs to configure what they
send you on their end, or if you only have reader access to your upstream
you need to configure it in the software that you use to suck down your
feed (INN doesn't do that itself).

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

Re: newsfeeds in inn
#43773
Author: digitsix
Date: Sat, 29 Jan 2000 00:00
38 lines
2061 bytes
On 29 Jan 2000 09:47:34 -0800, Russ Allbery <rra@stanford.edu> wrote:
ok i realized that i did that about 2 seconds after i posted that
message, but now i have a better question...

I now get this following error:
newnews innd: innfeed! bad_newsfeeds unknown field 3 flag
newnews innd: news.myfeedsite.net/ bad_newsfeeds missing field 2
newnews innd: SERVER syntax_error /usr/local/news/etc/newsfeeds
newnews /kernel: pid 164 (innd), uid 8: exited on signal 11 (core
dumped)

and my config file now looks like this:

ME/!alt.*\
        :chi.*,rec.radio.swap.*\
        :Tm:innfeed!
overview!:*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
innfeed!:\
        :chi.*,rec.radio.swap\
        :Tc,Wnm*,S30000:/usr/local/news/bin/startinnfeed
news.myfeedsite.net/
        :chi.*,rec.radio.swap\
        :Tm:innfeed!
# Use an external program to handle control messages, except cancel
controlchan!\
        :!*,control,control.*,!control.cancel\
        :Tc,Wnsm:/usr/local/news/bin/controlchan


Basically, my server gets its news from a feeder site, and then has
nnrpd access at the other end, we do not feed any larger sites, I just
want to set it up so that the only groups it downloads from the feeder
site is chi.* and rec.radio.swap - for testing purposes at this point.
If anyone can help me achieve this i would be greatly appreciated.

rick 

Re: newsfeeds in inn
#43778
Author: Russ Allbery
Date: Sat, 29 Jan 2000 00:00
34 lines
1879 bytes
digitsix <whichnews@urbancom.net> writes:

> im getting an error when i start the server-

> Jan 28 18:58:26 newnews innd:  else bad_newsfeeds missing field 2
> Jan 28 18:58:26 newnews innd: innfeed! bad_newsfeeds unknown field 3
> flag
> Jan 28 18:58:26 newnews innd: news.domain.net/ bad_newsfeeds missing
> field 2
> Jan 28 18:58:26 newnews innd: bad_newsfeeds. Must have exactly one ME
> entry
> Jan 28 18:58:26 newnews innd: SERVER syntax_error
> /usr/local/news/etc/newsfeeds
> Jan 28 18:58:26 newnews /kernel: pid 164 (innd), uid 8: exited on
> signal 11 (co

> ok and my newsfeeds file looks like this

> ##  News overview
> # use this flag if storage api is used
> overview!:*:Tc,Ao,WhR,S30000:/usr/local/news/bin/overchan
>  else
> overview!:*:Tc,WO,S30000:/usr/local/news/bin/overchan

If you have that "else" there on a line by itself without a comment or
anything, that would be the problem.  You want to put *one* of those two
overview lines, not both, into your newsfeeds file depending on whether
you're using the storage API, and you definitely don't want the word
"else" there outside a comment.

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

Re: newsfeeds in inn
#43780
Author: digitsix
Date: Sat, 29 Jan 2000 00:00
41 lines
2195 bytes
On 29 Jan 2000 10:55:41 -0800, Russ Allbery <rra@stanford.edu> wrote:
wow man your great, thanx for all the help -

so what you are saying is in my newsfeeds file, to forward all of my
reader postings to my upstream news provider, all I need is the one
line:

ME:!alt.*,chi.*,rec.radio.swap.*::

but if that is true, what about the controlchan and overchan lines the
default configuration has? as far as sucking the news down, i am using
cnfs over a 200GB RAID 0  i already created my cycbuff files so is
there a suck program that supports that?

Thank you for all the help!
rick

PS I had this following line in when i fixed the errors i was getting
with the extra colon and the forward slash -

# Use an external program to handle control messages, except cancel
controlchan!\
       :!*,control,control.*,!control.cancel\
       :Tc,Wnsm:/usr/local/news/bin/controlchan

And when the server rebooted, it started freaking out on me ill paste
some of the syslog here.

Jan 29 12:52:14 newnews innd: controlchan! exit 2 elapsed 1 pid 195
Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 267
Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 272
Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 277
Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 282

i commented that line out and it worked fine.

as ususal all help is appreciated =]

rick

Re: newsfeeds in inn
#43832
Author: Russ Allbery
Date: Tue, 01 Feb 2000 00:00
59 lines
3260 bytes
digitsix <whichnews@urbancom.net> writes:

> so what you are saying is in my newsfeeds file, to forward all of my
> reader postings to my upstream news provider, all I need is the one
> line:

> ME:!alt.*,chi.*,rec.radio.swap.*::

No, if you want to forward all your reader postings to your upstream, you
do need at least one real feed.  Probably something like:

upstream.site:!alt.*,chi.*,rec.radio.swap.*:Tf,Wnm:

which will create a batch file called "upstream.site" (replace with the
actual name of your upstream site) in /usr/local/news/spool/outgoing.
That batch file can be processed by nntpsend if you have transfer
permission on your upstream's server, or I believe rpost (part of the suck
package) will process it for you.

> but if that is true, what about the controlchan and overchan lines the
> default configuration has?

You need the overchan line if you want to be able to read from the server;
it's an internal thing for INN.  Ditto for the controlchan line if you
want to honor any control messages for newsgroup creation and removal
(well, there are other ways, but controlchan is the best).

> as far as sucking the news down, i am using cnfs over a 200GB RAID 0 i
> already created my cycbuff files so is there a suck program that
> supports that?

suck should hopefully use rnews to inject messages, which will work
regardless of your storage mechanism.

> PS I had this following line in when i fixed the errors i was getting
> with the extra colon and the forward slash -

> # Use an external program to handle control messages, except cancel
> controlchan!\
> :!*,control,control.*,!control.cancel\
> :Tc,Wnsm:/usr/local/news/bin/controlchan

> And when the server rebooted, it started freaking out on me ill paste
> some of the syslog here.

> Jan 29 12:52:14 newnews innd: controlchan! exit 2 elapsed 1 pid 195
> Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 267
> Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 272
> Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 277
> Jan 29 12:52:15 newnews innd: controlchan! exit 2 elapsed 0 pid 282

It sounds like controlchan couldn't run for some reason.  The most common
reason is that you're missing some .ph parsed Perl headers; see the
INSTALL file.  There could be other reasons, though.

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

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