🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Signal ProcEssing Work System Wed, 09 Oct 1996 00:00
INN (nnrpd) and Linux 2.0.21
#11549
Author: Signal ProcEssing Work System
Date: Wed, 09 Oct 1996 00:00
26 lines
1587 bytes

I recently installed inn1.4.sec-linux on a Linux 2.0.21 kernel.

I set it up for my system and installed it. When I tried however to post
to it although the message was getting onto the server the client was
being disconnected before sending quit to in.nnrpd.

I re-compiled nnrpd with -g flags and ran it through xxgdb and discovered
where it was segmentation faulting.

It seems for some reason in the file post.c in the ARTpost.c function
after the SendQuit in line 791 it was crashing out. With a bit of digging
I notice that SendQuit closes FromServer and ToServer within itself and
then ARTpost closes them.

I've commented out lines 792 and 793 and re-compiled and it seems to be
working o.k. now at least it is posting test articles and not seg-faulting
which is better than the original.

Question, comments, queries post or e-mail me

Dave Airlie, 9312617@ul.ie
http://skynet.ul.ie -- The Skynet Project.

Re: INN (nnrpd) and Linux 2.0.21
#11619
Author: Stephen Baxter
Date: Sun, 13 Oct 1996 00:00
39 lines
1854 bytes
spw@ul.ie (Signal ProcEssing Work System) wrote:


I know that this does not help much but we use the same kernel and inn
version and do not seem to have any problems.



>I recently installed inn1.4.sec-linux on a Linux 2.0.21 kernel.

>I set it up for my system and installed it. When I tried however to post
>to it although the message was getting onto the server the client was
>being disconnected before sending quit to in.nnrpd.

>I re-compiled nnrpd with -g flags and ran it through xxgdb and discovered
>where it was segmentation faulting.

>It seems for some reason in the file post.c in the ARTpost.c function
>after the SendQuit in line 791 it was crashing out. With a bit of digging
>I notice that SendQuit closes FromServer and ToServer within itself and
>then ARTpost closes them.

>I've commented out lines 792 and 793 and re-compiled and it seems to be
>working o.k. now at least it is posting test articles and not seg-faulting
>which is better than the original.

>Question, comments, queries post or e-mail me

>Dave Airlie, 9312617@ul.ie
>http://skynet.ul.ie -- The Skynet Project.

Stephen Baxter
steve@senet.com.au

SE Network Access Pty Ltd


Re: INN (nnrpd) and Linux 2.0.21
#11620
Author: Alan Brown
Date: Sun, 13 Oct 1996 00:00
32 lines
1890 bytes
In article <Dz14sz.M1H@ul.ie>, Signal ProcEssing Work System <spw@ul.ie> wrote:
>
>I recently installed inn1.4.sec-linux on a Linux 2.0.21 kernel.
>
>I set it up for my system and installed it. When I tried however to post
>to it although the message was getting onto the server the client was
>being disconnected before sending quit to in.nnrpd.
>
>I re-compiled nnrpd with -g flags and ran it through xxgdb and discovered
>where it was segmentation faulting.
>
>It seems for some reason in the file post.c in the ARTpost.c function
>after the SendQuit in line 791 it was crashing out. With a bit of digging
>I notice that SendQuit closes FromServer and ToServer within itself and
>then ARTpost closes them.
>
>I've commented out lines 792 and 793 and re-compiled and it seems to be
>working o.k. now at least it is posting test articles and not seg-faulting
>which is better than the original.
>
>Question, comments, queries post or e-mail me
>
>Dave Airlie, 9312617@ul.ie
>http://skynet.ul.ie -- The Skynet Project.


-- 
One net to rule them all, one net to find them, one net to bring them all,
using Unix to bind them.

Re: INN (nnrpd) and Linux 2.0.21
#11628
Author: Brad King
Date: Sun, 13 Oct 1996 00:00
14 lines
1046 bytes
I've been having the same problem, as well as various parse errors when I
try to recompile.  Does anyone have a working config.data for this
combination?

Brad King, pbking@wccs.k12.in.us
Whitley County Consolidated Schools



: Dave Airlie, 9312617@ul.ie
: http://skynet.ul.ie -- The Skynet Project.

Re: INN (nnrpd) and Linux 2.0.21
#11639
Author: Peter Bollerman
Date: Mon, 14 Oct 1996 00:00
30 lines
1616 bytes
steve@senet.com.au (Stephen Baxter) writes:

>spw@ul.ie (Signal ProcEssing Work System) wrote:


>I know that this does not help much but we use the same kernel and inn
>version and do not seem to have any problems.



>>I recently installed inn1.4.sec-linux on a Linux 2.0.21 kernel.

>>I set it up for my system and installed it. When I tried however to post
>>to it although the message was getting onto the server the client was
>>being disconnected before sending quit to in.nnrpd.

the "problem" lies not in the kernel, but in nnrpd, in combination
with a recent libc. There were two close() calls to a non assigned
file descriptor, which cause a segmentation fault with newer kernels
(as they should!)
You can either go back to an older libc, or install the new
inn-1.4unoff4, where these statements have been removed.

It can be found e.g. at ftp.funet.fi under 
/pub/linux/PEOPLE/Linus/net"something"

Peter

Re: INN (nnrpd) and Linux 2.0.21
#11793
Author: A Space Oditty
Date: Sun, 20 Oct 1996 00:00
40 lines
1783 bytes
In article <53rmq1$7n0@indy1.indy.accessindy.com>,
Brad King <pbking@news.wccs.k12.in.us> wrote:
>I've been having the same problem, as well as various parse errors when I
>try to recompile.  Does anyone have a working config.data for this
>combination?
>
>




I have a config.data that works you can ftp it from ftp.tlug.org in 
/pub/Linux/Linux-news


I should how ever warn you that the configuration is not the same as
you would get with slackware or Red Hat.  I have changed the directory
stucture someone to make life easy for my self.

All the config files such as newsfeeds, nnrp.access etc. are in a lib
directory.  The history files and active are in a db directory.  These
keeps things nice and neat and clean for me instead of dumping everything in
one directory.


regards


Adrian



-- 
 \      			 My Inablity to spell and grammatize are no
  \ /\  ziggy@innuendo.tlug.org  Reflection of the General Canadian 
  ( )   		         Intelligence...  I am a Space Oddity!!!
.( o ). Have you rubbed noses with an Eskimo today! Dont knock it till you try.

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