Thread View: news.software.nntp
2 messages
2 total messages
Started by Dave Smith
Thu, 17 Aug 2000 00:00
Why aren't I getting any news?
Author: Dave Smith
Date: Thu, 17 Aug 2000 00:00
Date: Thu, 17 Aug 2000 00:00
192 lines
5672 bytes
5672 bytes
Folks,
Apologies to those who've already seen this on the mailing list, but I
thought I'd try spreading the net a bit wider, while I've still got some
hair left!!
I'm new to this business of setting up a news server, and to INN, but
not to Unix. I've built and installed Inn 2.2.3 on Solaris 2.6. I'm
intending to use CNFS to store the news. This is only a small server,
with one reader, intended basically for me to work out procedures for
supporting our main news readers.
I thought I'd got it working, but found yesterday that I'd got
storageapi set to "false" in inn.conf. I stopped innd, corrected that,
and restarted innd (using rc.news).
Now I don't get any news at all and when I look at the system log I see
masses of messages saying:
innd: SERVER can't store article: no matching entry in storage.conf.
Here's my storage.conf:
# This file is used to determine which storage method articles are sent
to
# to be stored and which storage class they are stored as.
#
# Sample for the ``timehash'' storage method:
#
# method <methodname> {
# newsgroups: <wildmat>
# class: <storage class #>
# size: <minsize>[,<maxsize>]
# expires: <mintime>[,<maxtime>]
# options: <options>
# }
#
#method timehash {
# newsgroups: *
# class: 0
#}
#method timehash {
# newsgroups: alt.binaries.*
# class: 1
# size: 2,32000
#}
#method timehash {
# newsgroups: alt.*
# class: 2
# size: 1
#}
#
# Sample for the ``cnfs'' storage method:
#
# methodname:wildmat:storage class #:minsize:maxsize:metacycbuffname
# method cnfs {
# newsgroups: <wildmat>
# class: <storage class #>
# size: <minsize>[,<maxsize>]
# expires: <mintime>[,<maxtime>]
# options: <metacycbuffname>
# }
#
method cnfs {
newsgroups: alt.*,control.cancel
class: 1
size: 0,3999
expires: 4d1s
options: ALTERNATE
}
method cnfs {
newsgroups: comp.*,rec.*
class: 2
size: 0,3999
expires: 4d1s
options: REMAINDER
}
#method cnfs {
# newsgroups: *
# class: 3
# size: 4000,1000000
# options: BIGAREA
#}
And the relevant stanza from newsfeeds on the system that provides my
feed:
cs71/cs71.esoc.esa.de\
:alt.*,rec.*,comp.*\
:Tf,Wnm:
And here's my newsfeeds:
## $Revision: 1.3.2.3 $
## newsfeeds - determine where Usenet articles get sent
##
## This file is complicated -- see newsfeeds.5!
## This is the local site.
## The "pattern" field gives the initial subscription list for
## all other sites. You might want to put "!control,!junk,!<local>.*"
## there. The "distrib" subfield limits incoming articles.
##
## Default of everything to everybody except for junk, control,
anything
## with "local" as the newsgroup prefix (i.e. matches "localhost.stuff")
or
## groups under foo. Articles posted to any group under
alt.binaries.warez
## will not get propagated, even if they're cross posted to something
that
## is.
ME\
:*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*,!*.jobs*\
/world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
::
## Create the links for cross posted articles
## If you use this you MUST add -L option to innflags in inn.conf.
## see innd(8)
crosspost:*:Tc,Ap,WR:/usr/local/news/bin/crosspost
# Feed all moderated source postings to an archiver
#source-archive!:!*,*sources*,!*wanted*,!*.d\
# :Tc,Wn:/usr/local/news/bin/archive -f -i
/usr/local/news/spool/archive/INDEX
## 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 nearnet; sent off-line via
# nntpsend or send-nntp.
#nic.near.net\
# :!junk/!foo\
# :Tf,Wnm:nic.near.net
# A real-time nntplink feed
# If you turn on storageapi, you cannot to use nntplink since it cannot
handle
# token.
#uunet\
# :/!foo\
# :Tc,Wnm:/usr/local/news/bin/nntplink -i stdin news.uu.net
# Capture all Foo, Incorporated, postings
#capture\
# :*/foo\
# :Tp,H2:/usr/local/news/bin/capture %s
# A UUCP feed, where we try to keep the "batching" between 4 and 1K.
#ihnp4\
# :!junk,!control/!foo\
# :Tf,Wnb,B4096/1024:
# 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!:\
!*,\
:Tc,Wnm*,S30000:/usr/local/news/bin/startinnfeed
# A real-time feed through innfeed.
#news.uu.net/uunet\
# :!junk,!control/!foo\
# :Tm:innfeed!
# Use an external program to handle control messages, except cancel
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/local/news/bin/controlchan
# news to mail gateway
#n2m!:!*:Tc,Ac,Wn*:/usr/local/news/bin/news2mail
#news-software@localhost.our.domain.com:rec.pets.redants.*:Tm:n2m!
Any and all help very gratefully received.
Dave Smith
--
David O Smith
Somerford Consultancy Ltd.
Re: Why aren't I getting any news?
Author: Anonymous Meoward
Date: Thu, 17 Aug 2000 00:00
Date: Thu, 17 Aug 2000 00:00
39 lines
2216 bytes
2216 bytes
On Thu, 17 Aug 19100, Dave Smith wrote:
> innd: SERVER can't store article: no matching entry in storage.conf.
>
> method cnfs {
> newsgroups: alt.*,control.cancel
> size: 0,3999
> newsgroups: comp.*,rec.*
> size: 0,3999
> expires: 4d1s
> And the relevant stanza from newsfeeds on the system that provides my
> feed:
> cs71/cs71.esoc.esa.de\
> :alt.*,rec.*,comp.*\
> :Tf,Wnm:
Well, they don't limit the feed to you based on size, for one.
I liberally snipped your config to point out that you only are
set up to store articles smaller than 4k in size, with nowhere
to put anything larger.
Unless you want to change things at your end to put larger articles
somewhere, which is what most people probably would do, you should
ask the site feeding you to add `<3999' to the last line of their
newsfeeds flags. (I'm not sure if it should be smaller by a fudge
factor to allow for your locally-added data that will increase the
size of a received article by your path entry)
And you have an `expire' entry for your two storage methods; try
reading the man page to see if that's what you want (I don't remember
offhand since I haven't used this at all) -- most articles have no
`Expires:' header
Yr Humble Meow
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