🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #65578

INN as local news server problem

#65578
From: Richard Gay
Date: Sat, 31 May 2003 15:30
207 lines
7576 bytes
----- Original Message -----
From: "Carsten Fuchs" <CarstenFuchs@T-Online.de>

> I'm currently trying to set up INN 2.3.3 on my local
> Debian GNU/Linux 3.0 computer, in order to learn more
> about it before putting it on an on-line public server.
>
> My intention is to set it up as a news server for
> "public support newsgroups". That is, I do not want to carry
> any USENET newsgroups - no incoming or outgoing feeds.
> Despite it is intended as "local news server",
> it should be accessible for everybody, worldwide.

I got the same intention to set up a local news server with INN 2.3.3, but
on a RedHat 8.0 machine. Don't know if I want to make it accessible
worldwide, but at least for my local network.
So I used the same configuration:

> control.ctl:
> all:*:*:drop

> readers.conf:
> auth all {
>      hosts: *
>      default: <user>
> }
> access all {
>      newsgroups: *
> }

> newsfeeds:
> ME:*,!control,!junk::
>
> controlchan!\
> :!*,control,control.*,!control.cancel\
> :Tc,Wnsm:/usr/lib/news/bin/controlchan

> My incoming.conf looks like
> peer ME {
>    hostname: "localhost, 127.0.0.1"
> }

> storage.conf:
> method tradspool {
>      class: 1
>      newsgroups: *
> }
>

> my expire.ctl looks like
> /remember/:10
> *:A:never:never:never

Then (after a reboot to go sure) I tried "/etc/init.d/innd start" to start
INN daemon. Everything seems to be ok:
    INND-System starten:                                       [  OK  ]
And also "/var/log/news/news.notice" says:
    innd: SERVER descriptors 1024
    innd: SERVER outgoing 1011
    innd: SERVER ccsetup control:12
    innd: SERVER lcsetup localconn:14
    innd: SERVER rcsetup remconn:4
Nonetheless trying to telnet on port 119 (on the local and a remote machine)
only seems to connect. There is no greeting and no response to any command!
The process seems to be still alive ("ps -A" shows the nnrpd).
"/etc/init.d/innd stop" does not kill the process, nor show any other
message. Newsgroup creation does not work with "ctlinnd newgroup ..." -
seems to hang, too.

When I try to call nnrpd to get a nntp server running using "nnrpd -D", I
can telnet (local and remote) and even my MUA can connect being greeted! The
pid is listed by "ps -A". No newsgroups are listed (modified readers.conf to
hide control(.*) and junk). Thus, works fine, except that I cannot use
"ctlinnd newgroup <groupname>" to create my newsgroups, since "No innd.pid
file; did server die?".

Don't know what to do anymore. Could anybody give me a hint? Is this a
configuration issue or did I miss to create files?

Thanks in advance,

    Richard


PS: I executed "makehistory" and "makedbz -i", renamed/chmoded the
"history.n.*" files as I read in some tutorials
This is my inn.conf (only changed the organization), paths should be
correct:

mta:                    /usr/sbin/sendmail -oi -oem %s
organization:           My News Server
ovmethod:               tradindexed
pathnews:               /usr/lib/news
domain:
innflags:
mailcmd:                /usr/lib/news/bin/innmail
server:                 localhost
artcutoff:              10
bindaddress:
hiscachesize:           0
ignorenewsgroups:       false
immediatecancel:        false
linecountfuzz:          0
maxartsize:             1000000
maxconnections:         50
pathalias:
pgpverify:              false
port:                   119
refusecybercancels:     false
remembertrash:          true
sourceaddress:
usecontrolchan:         true
verifycancels:          false
wanttrash:              false
wipcheck:               5
wipexpire:              10
cnfscheckfudgesize:     0
enableoverview:         true
groupbaseexpiry:        true
mergetogroups:          false
overcachesize:          15
ovgrouppat:
storeonxref:            false
useoverchan:            false
wireformat:             false
xrefslave:              false
allownewnews:           true
articlemmap:            false
clienttimeout:          1800
nnrpdcheckart:          true
nnrpperlauth:           false
nnrppythonauth:         false
noreader:               false
readerswhenstopped:     false
readertrack:            false
keywords:               false
keyartlimit:            100000
keylimit:               512
keymaxwords:            250
addnntppostingdate:     true
addnntppostinghost:     true
checkincludedtext:      false
complaints:
fromhost:
localmaxartsize:        1000000
moderatormailer:
nnrpdauthsender:        false
nnrpdposthost:
nnrpdpostport:          119
spoolfirst:             false
strippostcc:            false
backoffauth:            false
backoffdb:
backoffk:               1
backoffpostfast:        0
backoffpostslow:        1
backofftrigger:         10000
doinnwatch:             false
innwatchbatchspace:     800
innwatchlibspace:       25000
innwatchloload:         1000
innwatchhiload:         2000
innwatchpauseload:      1500
innwatchsleeptime:      600
innwatchspoolnodes:     200
innwatchspoolspace:     8000
docnfsstat:             false
logartsize:             true
logcancelcomm:          false
logcycles:              3
logipaddr:              true
logsitename:            true
nnrpdoverstats:         false
nntpactsync:            200
nntplinklog:            false
status:                 0
timer:                  0
badiocount:             5
blockbackoff:           120
chaninacttime:          600
chanretrytime:          300
icdsynccount:           10
maxforks:               10
nicekids:               0
nicenewnews:            0
nicennrpd:              0
pauseretrytime:         300
peertimeout:            3600
rlimitnofile:           -1
patharchive:            /var/spool/news/archive
patharticles:           /var/spool/news/articles
pathbin:                /usr/lib/news/bin
pathcontrol:            /usr/lib/news/bin/control
pathdb:                 /var/lib/news
pathetc:                /etc/news
pathfilter:             /usr/lib/news/bin/filter
pathhttp:               /var/log/news
pathincoming:           /var/spool/news/incoming
pathlog:                /var/log/news
pathoutgoing:           /var/spool/news/outgoing
pathoverview:           /var/spool/news/overview
pathrun:                /var/run/news
pathspool:              /var/spool/news
pathtmp:                /var/lib/news/tmp


Technical Details
Message-ID: <bbahq2$bid$00$1@news.t-online.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <b90f0a$5u8$05$1@news.t-online.com>

Show Full Headers
Complete Article Headers
Message-ID: <bbahq2$bid$00$1@news.t-online.com>
Subject: INN as local news server problem
Date: Sat, 31 May 2003 17:30:34 +0200
From: "Richard Gay" <HackerRichie@yahoo.de>
References: <b90f0a$5u8$05$1@news.t-online.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.nntp
Organization: T-Online
Lines: 206
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1054395010 00 11853 293bV15TS5F9RD 030531 15:30:10
X-Complaints-To: usenet-abuse@t-online.de
X-ID: SIHy7ZZl8e+osydEP0ZtYWQ5rwLvfuohSSaHzRRlSssLz6LFEKG4QG
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200