🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86094

Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu

#86094
From: Daniel Webster
Date: Thu, 10 Jul 2014 04:54
69 lines
4001 bytes
On Wed, 09 Jul 2014 09:11:13 +0000, Steve Crook wrote:

> Are you sure you don't already have something listening on port 119?
> You can check with:
> netstat -lt

$ netstat -lt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:gsigatekeeper *:*                     LISTEN     
tcp        0      0 dan:domain              *:*                     LISTEN     
tcp        0      0 localhost:8118          *:*                     LISTEN     
tcp        0      0 localhost:ipp           *:*                     LISTEN     
tcp6       0      0 ip6-localhost:ipp       [::]:*                  LISTEN   

I must admit two things, (1) I have no idea how to interpret that output, 
and (2) nothing seems to be on port 119.


> Also, check you don't have any stray stunnel processes that might still
> be active:
> ps -ef | grep stunnel

Oh, I have stunnel processes galore.
How many do you have, by the way?
I have six stunnel processes running:
$ ps -ef | grep stunnel
stunnel4 1104 1 0 Jul08 ? 00:00:06 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
stunnel4 1105 1 0 Jul08 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
stunnel4 1106 1 0 Jul08 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
stunnel4 1107 1 0 Jul08 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
stunnel4 1108 1 0 Jul08 ? 00:00:00 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf
stunnel4 1109 1 0 Jul08 ? 00:00:26 /usr/bin/stunnel4 /etc/stunnel/stunnel.conf

> Another thing to try is starting stunnel manually and seeing if you get
> any errors.  You'll need to do this as root (or using sudo) as users
> can't bind to ports <1024:
> stunnel4 /etc/stunnel/nntp.conf

$ sudo stunnel4 /etc/stunnel/stunnel.conf
Clients allowed=500
stunnel 4.53 on x86_64-pc-linux-gnu platform
Compiled with OpenSSL 1.0.1c 10 May 2012
Running  with OpenSSL 1.0.1e 11 Feb 2013
Update OpenSSL shared libraries or rebuild stunnel
Threading:PTHREAD SSL:+ENGINE+OCSP Auth:LIBWRAP Sockets:POLL+IPv6
Reading configuration from file /etc/stunnel/stunnel.conf
Compression enabled: 2 algorithm(s)
Snagged 64 random bytes from /home/dan/.rnd
Wrote 1024 new random bytes to /home/dan/.rnd
PRNG seeded successfully
Initializing service section [nntp]
Certificate: /etc/stunnel/stunnel.pem
Certificate loaded
Key file: /etc/stunnel/stunnel.pem
Private key loaded
SSL options set: 0x01000004
Configuration successful
Error binding service [nntp] to 127.0.0.1:119
bind: Address already in use (98)
Service [nntp] closed (FD=12)
str_stats: 14 block(s), 1221 data byte(s), 812 control byte(s)

Again, I'm not sure *how* to interpret this. 
Did it work?

BTW, I just realized from that output that an old stunnel.conf 
might be used so I will have to wipe it out and try again.
Technical Details
Message-ID: <lpl69t$ggc$2@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lpeqhc$ae3$1@speranza.aioe.org> <lpia75$klb$1@speranza.aioe.org> < slrnlrq1ph.a1l.steve@snorky.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <lpl69t$ggc$2@speranza.aioe.org>
Subject: Re: Can't seem to get mixmin nntp newsserver to work on Ubuntu
Date: Thu, 10 Jul 2014 04:54:21 +0000
From: Daniel Webster <daniel@webster.com>
References: <loikqq$lgi$1@speranza.aioe.org> <lokou8$pe4$1@solani.org> < lpeqhc$ae3$1@speranza.aioe.org> <lpia75$klb$1@speranza.aioe.org> < slrnlrq1ph.a1l.steve@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!news.stack.nl!aioe.org!.POSTED!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers,alt.os.linux.ubuntu
Organization: Aioe.org NNTP Server
Lines: 69
NNTP-Posting-Host: A2BNq1Kn49Gyo8TapTxMxA.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.2