Article View: news.software.nntp
Article #49914Re: Simple newsfeed with INND
From: Bob Dushok
Date: Wed, 17 Jan 2001 13:43
Date: Wed, 17 Jan 2001 13:43
119 lines
5088 bytes
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/
Technical Details
Message-ID:
<9447ii$qk9$1@nnrp1.deja.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!sunqbc.risq.qc.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mailReferences:
<93mud4$7bn$1@nnrp1.deja.com> <yln1cw3osi.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <9447ii$qk9$1@nnrp1.deja.com> Subject: Re: Simple newsfeed with INND Date: Wed, 17 Jan 2001 13:43:47 GMT From: Bob Dushok <bobd11@my-deja.com> References: <93mud4$7bn$1@nnrp1.deja.com> <yln1cw3osi.fsf@windlord.stanford.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!freenix!sunqbc.risq.qc.ca!cpk-news-hub1.bbnplanet.com!news.gtei.net!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail Newsgroups: news.software.nntp Organization: Deja.com Lines: 118 NNTP-Posting-Host: 199.224.108.60 X-Article-Creation-Date: Wed Jan 17 13:43:47 2001 GMT X-Http-User-Agent: Mozilla/4.7 [en] (WinNT; U) X-Http-Proxy: 1.0 x51.deja.com:80 (Squid/1.1.22) for client 199.224.108.60 X-MyDeja-Info: XMYDJUIDbobd11