🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Olivier Hislaire Tue, 09 Sep 1997 00:00
INN 1.4: nnrpd exits after POST - why the hell ?
#21419
Author: Olivier Hislaire
Date: Tue, 09 Sep 1997 00:00
44 lines
2003 bytes

Hi there,

just configured my first news server (INN from slackware 3.1, Linux
2.0.0). No feeds yet, just for internal use and testing.

But when I post an article, although the post was ok (posting
availlable on server for other clients), my reader (netscape as well
as agent) get an error message. Agent tells me even more: "connection
closed unexpectedly by server".

Nothing in syslog (".warn -> syslog"), and in messages:

Sep  5 11:58:15 news innd: news.msg-hq.be connected 16
Sep  5 11:58:15 news innd: news.msg-hq.be:16 closed seconds 0 accepted
1 refused 0 rejected 0
Sep  5 12:02:44 news nnrpd[2121]: bloezer.msg-hq.be connect
Sep  5 12:02:53 news nnrpd[2121]: bloezer.msg-hq.be group msg-hq.tests
1

running nnrpd in trace mode shows that the server exits at the end of
my posting (gets another pid):

-> Sep  5 14:12:40 news nnrpd[2304]: bloezer.msg-hq.be < POST
-> Sep  5 14:12:40 news nnrpd[2304]: bloezer.msg-hq.be > 340 Ok
-> Sep  5 14:12:40 news nnrpd[2304]: bloezer.msg-hq.be post_connect
(null)
-> Sep  5 14:12:40 news nnrpd[2304]: bloezer.msg-hq.be post starting
--> Sep  5 14:13:16 news nnrpd[2306]: bloezer.msg-hq.be > 200
news.msg-hq.be InterNetNews NNRP server INN 1.

using inews -h confirms everything so far:

-> No reply from server after sending the article, Invalid argument.
-> (Article not posted.)
-> Warning -- server did not reply to quit, Broken pipe

Any idea where, what and how to look for ?

Olivier.


Re: INN 1.4: nnrpd exits after POST - why the hell ?
#21388
Author: Bill Stewart-Cole
Date: Tue, 09 Sep 1997 00:00
36 lines
2016 bytes
In article <5v3i91$frm2@pluton.arcadis.be>, oh@msg-hq.be wrote:

> Hi there,
> 
> just configured my first news server (INN from slackware 3.1, Linux
> 2.0.0). No feeds yet, just for internal use and testing.
> 
> But when I post an article, although the post was ok (posting
> availlable on server for other clients), my reader (netscape as well
> as agent) get an error message. Agent tells me even more: "connection
> closed unexpectedly by server".

It's the dreaded "Slackware ships a broken INN" problem. 

The detail, I believe, is that Slackware still has an ancient unpatched
INN 1.4, and the nnrpd for 1.4 assumes that the dirent structure is
defined incorectly, as it was for quite a while in the GNU  libc. Linux 2
uses the fixed GNU libc, and when you mix the two, bad things happen.
Those bad things segfault nnrpd after it processes a post. 

You can find a patch and rebuild nnrpd if you really want, but if you are
going to go to all that trouble, just go get the source for a modern
version of INN  (see http://www.isc.org) and get all the other performance
and bug fixes. 

I get an odd sense of deaj vu... I think I've said this 2 times before
this week.

-- 
Bill Stewart-Cole                             bill@scconsult.com        
I'm not spam-blocked because I like playing the hardass net-fascist.

Cruelty to the clueless on Usenet is my way of dealing with stress.

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