🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by F. Cody Casterline Wed, 19 Aug 1998 00:00
INN 2.0 installation
#30612
Author: F. Cody Casterline
Date: Wed, 19 Aug 1998 00:00
30 lines
1814 bytes
I'm running RedHat 5.1 and after numerous installations I ended up
downloading INN instead of using the RPM.  After many
config/compile/installs and playing with settings I finally got PINE to
report a newsgroup to me.

My goal at the moment is to just use the server for local newsgroups, with
the option of adding single newsgroups to our list as they're requested.
So, I don't have a feed site.  I shouldn't need one, right?

Also, my inetd.conf line looks like this:  
nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/news/bin/nnrpd

That's just what I found yielded a response after much trial and error.
(I haven't been able to access the FAQ on the web)
Shouldn't it be referencing innd?  When I do that, the connection is
instantly closed.

Last question:  With the current setup, I've posted an article to the
local newsgroup I had created.  It's been about 30 minutes and the
newsgroup is still empty.  Is this related to the nnrpd vs. innd thing?
Or is yet another setting incorrect?  

Thanks to ANYone who can help.

 - Cody Casterline

"Mathematics is music for the mind;  Music is mathematics for the soul."


Re: INN 2.0 installation
#30596
Author: F. Cody Casterline
Date: Wed, 19 Aug 1998 00:00
27 lines
1564 bytes

On 19 Aug 1998, Fluffy wrote:

> You don't want to have anything at all in inetd.  INN stays running and
> does its own listening.  If it sees that there's a reader on the line,
> it starts up nnrpd for you.

alright, then how do I get innd started?  I read somewhere that you should
have the following rc.local  entry:
su news -c /usr/local/news/bin/rc.news
but when I boot I never see innd listed in my processes.   When I try to
start it manually, I get:
---
usenet... user unknown.
/root/dead.letter... cannot open: Permission denied
Starting innd.
Scheduled start of /usr/local/news/bin/innwatch.
---

... but yet again I see no innd in my processes.
(secondary Q: Why would rc.news be trying to read a dead.letter? ) 




Re: INN 2.0 installation
#30601
Author: Steinar Haug
Date: Wed, 19 Aug 1998 00:00
16 lines
1284 bytes
[Fluffy]

|   You don't want to have anything at all in inetd.  INN stays running and
|   does its own listening.  If it sees that there's a reader on the line,
|   it starts up nnrpd for you.

Starting nnrpd from inetd (or similar) can actually work quite well - you
avoid the overhead of fork/exec'ing a huge innd process.

We run nnrpd from tcpserver (part of Dan Bernstein's ucspi-tcp package),
and have been doing this for about a years now. We're very pleased with
the results.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: INN 2.0 installation
#30603
Author: Fluffy
Date: Wed, 19 Aug 1998 00:00
10 lines
1189 bytes
Steinar Haug <sthaug@nethelp.no> wrote:

> Starting nnrpd from inetd (or similar) can actually work quite well - you
> avoid the overhead of fork/exec'ing a huge innd process.

Yeah I know, but this is a firs-timer.  Going and messing around with
differnt posrt numbers and stuff about now is just going to confise
that matter.  Get it running first, then play =)

Re: INN 2.0 installation
#30614
Author: Fluffy
Date: Wed, 19 Aug 1998 00:00
23 lines
1703 bytes
F. Cody Casterline <codyc@ccwf.cc.utexas.edu> wrote:

> Also, my inetd.conf line looks like this:  
> nntp stream tcp nowait news /usr/sbin/tcpd /usr/local/news/bin/nnrpd
> 
> That's just what I found yielded a response after much trial and error.
> (I haven't been able to access the FAQ on the web)
> Shouldn't it be referencing innd?  When I do that, the connection is
> instantly closed.

You don't want to have anything at all in inetd.  INN stays running and
does its own listening.  If it sees that there's a reader on the line,
it starts up nnrpd for you.

> Last question:  With the current setup, I've posted an article to the
> local newsgroup I had created.  It's been about 30 minutes and the
> newsgroup is still empty.  Is this related to the nnrpd vs. innd thing?

Yes.  The article will never go anywhere until innd is running. Nnrpd
is just the part that lets you read news; innd is the actual news
server.

Re: INN 2.0 installation
#30631
Author: Michael J. Bennett
Date: Thu, 20 Aug 1998 00:00
67 lines
3055 bytes
It sounds like you may not have an active file, I was getting this behavior
when I accidentally edited
my active file to remove all the group heirarchies I wasn't interested in
since I am running news local
without a feed and only wanted my locally created groups... in my case, I
accidentally removed
control and junk along with the rest ;)

Check your syslog (or wherever you have syslog entries from news going)... and
see if
you have any error messages about missing active file or control/junk groups.
You might also want to check the logs under /usr/local/news/log and make sure
nothing
shows up there.

Answer to your secondary question: It's not... what is happening, is that innd
is trying to send
email to the usenet user on your system to report what went wrong with your
startup... and
when it doesn't find usenet as a user, it writes the message to dead.letter
... since you were
starting rc.news from /root, the news user probrably can't write to that
dirtectory.
The simple solution is to add an alias for usenet to /etc/aliases, and run
newaliases.

ie:
# vi /etc/aliases
{Add a new line like such}
usenet: root
:wq!
# newaliases

A question of my own to someone else reading this thread:
Where do you change the username that those status/error messages get sent to
is it a compile-time option - or do you all usually alias usenet or create a
usenet account?

Mike Bennett

F. Cody Casterline wrote:

> On 19 Aug 1998, Fluffy wrote:
>
> > You don't want to have anything at all in inetd.  INN stays running and
> > does its own listening.  If it sees that there's a reader on the line,
> > it starts up nnrpd for you.
>
> alright, then how do I get innd started?  I read somewhere that you should
> have the following rc.local  entry:
> su news -c /usr/local/news/bin/rc.news
> but when I boot I never see innd listed in my processes.   When I try to
> start it manually, I get:
> ---
> usenet... user unknown.
> /root/dead.letter... cannot open: Permission denied
> Starting innd.
> Scheduled start of /usr/local/news/bin/innwatch.
> ---
>
> ... but yet again I see no innd in my processes.
> (secondary Q: Why would rc.news be trying to read a dead.letter? )




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