🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Bob Dushok Fri, 12 Jan 2001 12:47
Simple newsfeed with INND
#49814
Author: Bob Dushok
Date: Fri, 12 Jan 2001 12:47
18 lines
1400 bytes
I need to setup a small news server for internal use only.  We will not
be receiving a feed from another site.

I've been looking through the INND docs, but am not finding what I'm
looking for.  All docs appear to be stating I should pull an active and
newsgroup file from the upsteam site.  I don't have one of these :)

Can anyone point me to some docs on setting up a simple, local only,
INND server?  I really only need a small number (<10) of local groups
only.

Thanks,
Bob


Sent via Deja.com
http://www.deja.com/
Re: Simple newsfeed with INND
#49815
Author: Russ Allbery
Date: Fri, 12 Jan 2001 13:03
28 lines
2110 bytes
Bob Dushok <bobd11@my-deja.com> writes:

> I need to setup a small news server for internal use only.  We will not
> be receiving a feed from another site.

> I've been looking through the INND docs, but am not finding what I'm
> looking for.  All docs appear to be stating I should pull an active and
> newsgroup file from the upsteam site.  I don't have one of these :)

> Can anyone point me to some docs on setting up a simple, local only,
> INND server?  I really only need a small number (<10) of local groups
> only.

<http://www.eyrie.org/~eagle/faqs/inn.html#3.5>

Subject: 3.5. Setting up a server with no external feeds, just local groups

The basic steps are to set up a newsfeeds file empty except for "internal"
feeds like overchan and the like, not worry about either nntpsend or
innfeed, have only localhost in incoming.conf (hosts.nntp in older
versions), create the minimal active file (see 4.2) before starting the
server, and then after starting the server create the groups you want to
carry with ctlinnd newgroup.  Set up reading permissions using
readers.conf (or nnrp.access) as appropriate for your organization.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Simple newsfeed with INND
#49914
Author: Bob Dushok
Date: Wed, 17 Jan 2001 13:43
119 lines
5088 bytes
Russ,
   Thanks for the help.  I've read the docs and think I'm following them
correctly, but am still having a problem.  When I attempt to start INND
the following errors appear in /var/log/news.all:

Jan 17 06:14:41 lists inndstart: Reading config from /etc/news/inn.conf
Jan 17 06:14:41 lists innd: SERVER descriptors 1024
Jan 17 06:14:41 lists innd: SERVER outgoing 1011
Jan 17 06:14:41 lists innd: SERVER ccsetup control:11
Jan 17 06:14:41 lists innd: SERVER lcsetup localconn:13
Jan 17 06:14:41 lists innd: SERVER rcsetup remconn:4
Jan 17 06:14:41 lists innd: SERVER bad_newsfeeds no feeding sites
Jan 17 06:14:41 lists innd: SERVER bad_active  ...

I've setup my files as follows:

/var/state/news/active:
control 0000000000 0000000001 y
control.cancel 0000000000 0000000001 y
control.checkgroups 0000000000 0000000001 y
control.newgroup 0000000000 0000000001 y
control.rmgroup 0000000000 0000000001 y
control.sendsys 0000000000 0000000001 y
junk 0000000000 0000000001 y

/var/state/news/newsgroups:
control            	Pseudo-group where news system directives are
filed.
control.cancel          Pseudo-group where news system directives are
filed.
control.checkgroups     Pseudo-group where news system directives are
filed.
control.newgroup        Pseudo-group where news system directives are
filed.
control.rmgroup         Pseudo-group where news system directives are
filed.
control.sendsys         Pseudo-group where news system directives are
filed.
junk                    Pseudo-group where non-standard messages are
placed.

/etc/news/expire.ctl:
(empty for troubleshooting)

/etc/news/newsfeeds:
controlchan!\
	:!*,control,control.*,!control.cancel\
	:Tc,Wnsm:/usr/libexec/inn/bin/controlchan

/etc/news/incoming.conf:
streaming:              true   # streaming allowed by default
max-connections:        8      # per feed

peer ME {
  hostname:         "localhost, 127.0.0.1"
}

I didn't place any local groups in active and newsgroups for
troubleshooting purposes.  I thought it might be easier to troubleshoot
without groups present.  When I attempt to place a group in these files,
the errors in news.all change to:

Jan 17 06:43:42 lists ctlinnd[24127]: Reading config from
/etc/news/inn.conf
Jan 17 06:43:46 lists inndstart: Reading config from /etc/news/inn.conf
Jan 17 06:43:46 lists innd: SERVER descriptors 1024
Jan 17 06:43:46 lists innd: SERVER outgoing 1011
Jan 17 06:43:46 lists innd: SERVER cant dbzinit /var/state/news/history
Numerical argument out of domain

I've looked at my config and am having a problem locating my mistake.
Is there something obvious I'm doing wrong?

Thanks again,
Bob

In article <yln1cw3osi.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Bob Dushok <bobd11@my-deja.com> writes:
>
> > I need to setup a small news server for internal use only.  We will
not
> > be receiving a feed from another site.
>
> > I've been looking through the INND docs, but am not finding what I'm
> > looking for.  All docs appear to be stating I should pull an active
and
> > newsgroup file from the upsteam site.  I don't have one of these :)
>
> > Can anyone point me to some docs on setting up a simple, local only,
> > INND server?  I really only need a small number (<10) of local
groups
> > only.
>
> <http://www.eyrie.org/~eagle/faqs/inn.html#3.5>
>
> Subject: 3.5. Setting up a server with no external feeds, just local
groups
>
> The basic steps are to set up a newsfeeds file empty except for
"internal"
> feeds like overchan and the like, not worry about either nntpsend or
> innfeed, have only localhost in incoming.conf (hosts.nntp in older
> versions), create the minimal active file (see 4.2) before starting
the
> server, and then after starting the server create the groups you want
to
> carry with ctlinnd newgroup.  Set up reading permissions using
> readers.conf (or nnrp.access) as appropriate for your organization.
>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com
http://www.deja.com/
Re: Simple newsfeed with INND
#49924
Author: Russ Allbery
Date: Wed, 17 Jan 2001 15:31
43 lines
2733 bytes
Bob Dushok <bobd11@my-deja.com> writes:

> Thanks for the help.  I've read the docs and think I'm following them
> correctly, but am still having a problem.  When I attempt to start INND
> the following errors appear in /var/log/news.all:

> Jan 17 06:14:41 lists inndstart: Reading config from /etc/news/inn.conf
> Jan 17 06:14:41 lists innd: SERVER descriptors 1024
> Jan 17 06:14:41 lists innd: SERVER outgoing 1011
> Jan 17 06:14:41 lists innd: SERVER ccsetup control:11
> Jan 17 06:14:41 lists innd: SERVER lcsetup localconn:13
> Jan 17 06:14:41 lists innd: SERVER rcsetup remconn:4

This is all normal.

> Jan 17 06:14:41 lists innd: SERVER bad_newsfeeds no feeding sites

This is normal unless you have outgoing feeds.  I should change that
message to something slightly more informative.

> Jan 17 06:14:41 lists innd: SERVER bad_active  ...

This sounds like you have a blank line in your active file.  Make sure you
don't have any blank lines in the active file.

> I didn't place any local groups in active and newsgroups for
> troubleshooting purposes.  I thought it might be easier to troubleshoot
> without groups present.  When I attempt to place a group in these files,
> the errors in news.all change to:

> Jan 17 06:43:42 lists ctlinnd[24127]: Reading config from
> /etc/news/inn.conf
> Jan 17 06:43:46 lists inndstart: Reading config from /etc/news/inn.conf
> Jan 17 06:43:46 lists innd: SERVER descriptors 1024
> Jan 17 06:43:46 lists innd: SERVER outgoing 1011
> Jan 17 06:43:46 lists innd: SERVER cant dbzinit /var/state/news/history
> Numerical argument out of domain

Did you create history?  See "Creating the Database Files" in INSTALL.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Simple newsfeed with INND
#49933
Author: Bob Dushok
Date: Wed, 17 Jan 2001 18:43
69 lines
3471 bytes
Russ,
   Thanks!  That was it!  After I removed the blank line innd reported a
syntax error in another file.  I forget which file it was, but it was a
simple error.  After correcting that the server started fine.
   I'm noticing when I try to subscribe to newsgroups through my reader
control and junk show up.  Is there a way I can make these groups not
show?
   Thanks again for your help.
   Bob

In article <ylhf2ymbz2.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Bob Dushok <bobd11@my-deja.com> writes:
>
> > Thanks for the help.  I've read the docs and think I'm following
them
> > correctly, but am still having a problem.  When I attempt to start
INND
> > the following errors appear in /var/log/news.all:
>
> > Jan 17 06:14:41 lists inndstart: Reading config from
/etc/news/inn.conf
> > Jan 17 06:14:41 lists innd: SERVER descriptors 1024
> > Jan 17 06:14:41 lists innd: SERVER outgoing 1011
> > Jan 17 06:14:41 lists innd: SERVER ccsetup control:11
> > Jan 17 06:14:41 lists innd: SERVER lcsetup localconn:13
> > Jan 17 06:14:41 lists innd: SERVER rcsetup remconn:4
>
> This is all normal.
>
> > Jan 17 06:14:41 lists innd: SERVER bad_newsfeeds no feeding sites
>
> This is normal unless you have outgoing feeds.  I should change that
> message to something slightly more informative.
>
> > Jan 17 06:14:41 lists innd: SERVER bad_active  ...
>
> This sounds like you have a blank line in your active file.  Make sure
you
> don't have any blank lines in the active file.
>
> > I didn't place any local groups in active and newsgroups for
> > troubleshooting purposes.  I thought it might be easier to
troubleshoot
> > without groups present.  When I attempt to place a group in these
files,
> > the errors in news.all change to:
>
> > Jan 17 06:43:42 lists ctlinnd[24127]: Reading config from
> > /etc/news/inn.conf
> > Jan 17 06:43:46 lists inndstart: Reading config from
/etc/news/inn.conf
> > Jan 17 06:43:46 lists innd: SERVER descriptors 1024
> > Jan 17 06:43:46 lists innd: SERVER outgoing 1011
> > Jan 17 06:43:46 lists innd: SERVER cant dbzinit
/var/state/news/history
> > Numerical argument out of domain
>
> Did you create history?  See "Creating the Database Files" in INSTALL.
>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com
http://www.deja.com/
Re: Simple newsfeed with INND
#49935
Author: Jeffrey M. Vinocur
Date: Wed, 17 Jan 2001 19:14
17 lines
1613 bytes
In article <944p4l$b2h$1@nnrp1.deja.com>,
Bob Dushok  <bobd11@my-deja.com> wrote:
>
>   I'm noticing when I try to subscribe to newsgroups through my reader
>control and junk show up.  Is there a way I can make these groups not
>show?

Sure, take a look at .../etc/readers.conf, the "newsgroups" (or
"read" and "post") parameters.

(Although you may want to leave control readable -- I subscribe
to it sometimes, or at least grep through it occasionally.)

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Simple newsfeed with INND
#49934
Author: Russ Allbery
Date: Wed, 17 Jan 2001 19:16
15 lines
1553 bytes
Bob Dushok <bobd11@my-deja.com> writes:

>    Thanks!  That was it!  After I removed the blank line innd reported a
> syntax error in another file.  I forget which file it was, but it was a
> simple error.  After correcting that the server started fine.
>    I'm noticing when I try to subscribe to newsgroups through my reader
> control and junk show up.  Is there a way I can make these groups not
> show?

Sure, in readers.conf for your newsgroups pattern instead of * use
something like "*, !control*, !junk".

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Simple newsfeed with INND
#49937
Author: Bob Dushok
Date: Wed, 17 Jan 2001 19:58
35 lines
2060 bytes
This may sound strange, but I don't have a readers.conf file.  I'm not
using the latest version of INND, I'm using 2.2.1.  Was this file added
to a more recent version?

I'm going to check the isc site for more info as well.

Bob

In article <ylhf2ygfb1.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Bob Dushok <bobd11@my-deja.com> writes:
>
> >    Thanks!  That was it!  After I removed the blank line innd
reported a
> > syntax error in another file.  I forget which file it was, but it
was a
> > simple error.  After correcting that the server started fine.
> >    I'm noticing when I try to subscribe to newsgroups through my
reader
> > control and junk show up.  Is there a way I can make these groups
not
> > show?
>
> Sure, in readers.conf for your newsgroups pattern instead of * use
> something like "*, !control*, !junk".
>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com
http://www.deja.com/
Re: Simple newsfeed with INND
#49938
Author: Russ Allbery
Date: Wed, 17 Jan 2001 20:05
10 lines
1311 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:

> (Although you may want to leave control readable -- I subscribe to it
> sometimes, or at least grep through it occasionally.)

Yeah, generally you want them all available except maybe control.cancel.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Re: Simple newsfeed with INND
#49939
Author: Bob Dushok
Date: Wed, 17 Jan 2001 20:08
32 lines
2028 bytes
Found it!  nnrp.access seemed to allow me to do what you're mentioning.
Maybe nnrp.access was renamed/replaced by readers.conf in v2.3?

Bob

In article <ylhf2ygfb1.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> Bob Dushok <bobd11@my-deja.com> writes:
>
> >    Thanks!  That was it!  After I removed the blank line innd
reported a
> > syntax error in another file.  I forget which file it was, but it
was a
> > simple error.  After correcting that the server started fine.
> >    I'm noticing when I try to subscribe to newsgroups through my
reader
> > control and junk show up.  Is there a way I can make these groups
not
> > show?
>
> Sure, in readers.conf for your newsgroups pattern instead of * use
> something like "*, !control*, !junk".
>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com
http://www.deja.com/
Re: Simple newsfeed with INND
#49941
Author: Russ Allbery
Date: Wed, 17 Jan 2001 20:59
10 lines
1281 bytes
Bob Dushok <bobd11@my-deja.com> writes:

> Found it!  nnrp.access seemed to allow me to do what you're mentioning.
> Maybe nnrp.access was renamed/replaced by readers.conf in v2.3?

Right.

-- 
Russ Allbery (rra@stanford.edu)             <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