🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76282

Re: Problem is, Darwin does not have a hosts.nntp file

#76282
From: Glen Bradley
Date: Fri, 03 Aug 2007 11:49
135 lines
5122 bytes
In article <87d4y5rztw.fsf@windlord.stanford.edu>,
 Russ Allbery <rra@stanford.edu> wrote:

> Glen Bradley <glen42@gmail.com> writes:
> 
> > According to one website, "If the machine is not listed in hosts.nntp, 
> > it is assumed that this machine is not a "feeder" and forks off a nnrpd 
> > to handle this connection as a "reader"
> 
> INN hasn't used hosts.nntp for quite some time.  Whatever web site you're
> looking at is very obsolete.  The configuration flie you're looking for is
> incoming.conf, which is documented in INN's installation instructions and
> manual page.
> 
> nntphost is unrelated.

Apparently I am being stupid then.  That's where I thought the problem 
was at first, and poured over incoming.conf looking for where I had done 
something wrong.  But then I am coming from Mac world into *nux world...

Here is the entire uncommented contents of my incoming.conf


##
streaming:              true   # streaming allowed by default
max-connections:        8      # per feed

peer ME {
   hostname:         "localhost, 127.0.0.1"
}

peer news-server.nc.rr.com {
   hostname: "news-server.nc.rr.com"
}
##


I have tried it without the quotes, 


##
peer news-server.nc.rr.com {
   hostname: news-server.nc.rr.com
}
##


and I have tried it like this:


##
peer news-server.nc.rr.com { }
##


I have even tried manually issuing the command "startinnfeed" in order 
to force it to write something to a log.  It wrote no news logs, but it 
DID write all of this to my syslog....  8-(

This is a stop/start INN and then manually run "startinnfeed"


innd: SERVER shutdown rc.news stop
innd: SERVER descriptors 256
innd: SERVER outgoing 243
innd: SERVER ccsetup control:14
innd: SERVER lcsetup localconn:16
innd: SERVER rcsetup remconn:3
innd: controlchan! spawned controlchan!:19:proc:21082
innd: innfeed! spawned innfeed!:20:proc:21083
innfeed[21083]: ME starting innfeed 2.4.3 at Fri Aug  3 07:33:25 2007\n
innfeed[21083]: loading /usr/local/news/etc/innfeed.conf
innd: SERVER perl filtering enabled
innd: SERVER starting
controlchan[21082]: starting\n
innfeed[21083]: roadrunner:0 connected
innfeed[21083]: roadrunner remote MODE STREAM
innfeed[21088]: ME starting innfeed 2.4.3 at Fri Aug  3 07:33:32 2007\n
innfeed[21088]: loading /usr/local/news/etc/innfeed.conf
innfeed[21088]: ME lock in-use already: 
/usr/local/news/spool/innfeed/roadrunner.lock by pid 21083
innfeed[21088]: ME lock failed for host: 
/usr/local/news/spool/innfeed/roadrunner.lock
innfeed[21088]: ME locked cannot setup peer roadrunner



So I go looking again -- "incoming.conf" is not where I have the peer 
set up named "roadrunner"  That would be "innfeed.conf" as per the log

So I dig into innfeed.conf and find this:

##
peer roadrunner {
        ip-name:                news-server.nc.rr.com
        max-connections:        10
}
##

which *looks* right to me (for whatever that's worth) but I still get 
this:

nnrpd[20877]: localhost timeout
nnrpd[20877]: localhost group news.software.nntp 0
nnrpd[20877]: localhost times user 0.003 system 0.006 idle 0.000 elapsed 
600.227
innfeed[21088]: ME lock in-use already: 
/usr/local/news/spool/innfeed/roadrunner.lock by pid 21083
innfeed[21088]: ME lock failed for host: 
/usr/local/news/spool/innfeed/roadrunner.lock
innfeed[21088]: ME locked cannot setup peer roadrunner
innfeed[21088]: ME lock in-use already: 
/usr/local/news/spool/innfeed/roadrunner.lock by pid 21083
innfeed[21088]: ME lock failed for host: 
/usr/local/news/spool/innfeed/roadrunner.lock
innfeed[21088]: ME locked cannot setup peer roadrunner
innfeed[21088]: ME lock in-use already: 
/usr/local/news/spool/innfeed/roadrunner.lock by pid 21083
innfeed[21088]: ME lock failed for host: 
/usr/local/news/spool/innfeed/roadrunner.lock
innfeed[21088]: ME locked cannot setup peer roadrunner



when manually executing "startinfeed" (sometimes 'localhost' works, and 
just gives me a bunch of zeros)


SO, 

innfeed can't setup the peer roadrunner (which is set up in innfeed.conf)
because it's in-use already.

and that's the brick wall I keep running into, and what I can't figure 
out how to get around.
Technical Details
Message-ID: <glen42-15535D.07491503082007@johnf2.biosci.ohio-state.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mail
References: <glen42-D6F068.23112302082007@johnf2.biosci.ohio-state.edu> <87d4y5rztw.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <glen42-15535D.07491503082007@johnf2.biosci.ohio-state.edu>
Subject: Re: Problem is, Darwin does not have a hosts.nntp file
Date: Fri, 03 Aug 2007 07:49:15 -0400
From: Glen Bradley <glen42@gmail.com>
References: <glen42-D6F068.23112302082007@johnf2.biosci.ohio-state.edu> <87d4y5rztw.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!post02.iad01!roadrunner.com!not-for-mail
Newsgroups: news.software.nntp
Organization: None
User-Agent: MT-NewsWatcher/3.5.2 (Intel Mac OS X)
Lines: 135
X-Complaints-To: abuse@rr.com