🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Simon Karpen Fri, 28 Aug 1998 00:00
Problem with INN 2.1: Innfeed keeps restarting
#30875
Author: Simon Karpen
Date: Fri, 28 Aug 1998 00:00
37 lines
2450 bytes
I just upgraded our server from INN 2.0 to 2.1, to take advantage
of the bugfixes. It's a Sparcstation running Redhat Linux 4.2.

The reader side works fine, and it's accepting a feed just fine.
Feeding via innxmit works just fine.

However, innfeed (using the same innfeed.conf as 2.0, and basically
the same newsfeeds file) keeps on restarting. 

Aug 28 01:58:55 netra-news innfeed[20849]: ME starting innfeed v. 0.10.1 (Thu Au
g 27 12:21:06 EDT 1998) at Fri Aug 28 01:58:55 1998
Aug 28 01:58:55 netra-news innfeed[20849]: loading /news/etc/innfeed.conf
Aug 28 01:58:56 netra-news innd: innfeed! exit 0 elapsed 13 pid 20849
Aug 28 01:58:56 netra-news innd: innfeed!:182:proc:20849 closed
Aug 28 01:58:56 netra-news innd: innfeed! spawned innfeed!:182:proc:20850
Aug 28 01:58:56 netra-news innd: innfeed! restarted
Aug 28 01:59:09 netra-news innfeed[20850]: ME starting innfeed v. 0.10.1 (Thu Au
g 27 12:21:06 EDT 1998) at Fri Aug 28 01:59:08 1998
Aug 28 01:59:09 netra-news innfeed[20850]: loading /news/etc/innfeed.conf
Aug 28 01:59:18 netra-news innd: innfeed! exit 0 elapsed 13 pid 20850
Aug 28 01:59:18 netra-news innd: innfeed!:182:proc:20850 closed
Aug 28 01:59:18 netra-news innd: innfeed! spawned innfeed!:182:proc:20855
Aug 28 01:59:18 netra-news innd: innfeed! restarted

Innfeed is started with startinnfeed, and the newsfeeds entry is the
same as with 2.0. I'm trying to figure out what broke.

For now I've switched to innxmit while I figure this out. Any help
would be appreciated.

-- 
Simon Karpen			slk@ntrnet.net
#include <std_disclaimer.h>	My opinions are my own.
Technology is like fish: the longer you leave it on the shelf,
the less attractive it is.  --Andy Heller, IBM RS/6000 architect

Re: Problem with INN 2.1: Innfeed keeps restarting
#30862
Author: Fluffy
Date: Fri, 28 Aug 1998 00:00
18 lines
1392 bytes
Simon Karpen <slk@shell.ntrnet.net> wrote:
>I just upgraded our server from INN 2.0 to 2.1, to take advantage
>of the bugfixes. It's a Sparcstation running Redhat Linux 4.2.

[...]

>However, innfeed (using the same innfeed.conf as 2.0, and basically
>the same newsfeeds file) keeps on restarting. 

{chomp logs of continually dying/restarting innfeed}

If it's dying, there may be some kl00z in ~news/log/errlog.  If
nothing's there, try running [start]innfeed interactively from the
shell, using exactly the same command you've got listed in newsfeeds.
It should just sit there and wait for token/ID pairs on stdin if
everything's okay.

Re: Problem with INN 2.1: Innfeed keeps restarting
#30877
Author: Chris A. Epler
Date: Fri, 28 Aug 1998 00:00
18 lines
1692 bytes
Simon Karpen <slk@shell.ntrnet.net> wrote:

> I just upgraded our server from INN 2.0 to 2.1, to take advantage
> of the bugfixes. It's a Sparcstation running Redhat Linux 4.2.

I have a similar setup here but I came from 1.7.x->2.1...  It seems like
there might be a problem with the innfeed in the release 2.1 tarball for
Sparc Linux on RedHat 4.2.  I believe innfeed is dumping core on you, try
running it manually and see if it dies on you (innfeed -y).  If so, try
getting one of the CVS snapshots and compiling innfeed and giving that copy
a shot, it worked for me...

-----------------------------------------------------------------------------
Chris A. Epler - K4UNX - ESInet System Admin - (804) 974-7308
Linux - Operating System for a GNU Generation - http://www.linux.org
99 SL2m MRd AC SP CC ABS TC AU+++ F PW PL KE T2N SR L NG ODO: 1107 miles

Re: Problem with INN 2.1: Innfeed keeps restarting
#30886
Author: Fluffy
Date: Fri, 28 Aug 1998 00:00
18 lines
1391 bytes
Chris A. Epler <cepler@Stormhaven.org> wrote:
> Simon Karpen <slk@shell.ntrnet.net> wrote:
> 
> > I just upgraded our server from INN 2.0 to 2.1, to take advantage
> > of the bugfixes. It's a Sparcstation running Redhat Linux 4.2.
> 
> I have a similar setup here but I came from 1.7.x->2.1...  It seems like
> there might be a problem with the innfeed in the release 2.1 tarball for
> Sparc Linux on RedHat 4.2.  I believe innfeed is dumping core on you, try
> running it manually and see if it dies on you (innfeed -y).  If so, try
> getting one of the CVS snapshots and compiling innfeed and giving that copy
> a shot, it worked for me...

Something I remembered just now while the makefile stuff was scrolling
by.  Startinnfeed has to be setuid root.


Re: Problem with INN 2.1: Innfeed keeps restarting
#30943
Author: DIODE
Date: Sun, 30 Aug 1998 00:00
16 lines
1474 bytes
Simon Karpen <slk@shell.ntrnet.net> said:
> gdb says:
> #0  0x2ca5c in yyparse () at /usr/lib/bison.simple:457
> 457	  *++yyvsp = yylval;
> (gdb) where
> #0  0x2ca5c in yyparse () at /usr/lib/bison.simple:457
> Script done on Sun Aug 30 10:53:43 1998

	Recompile innfeed. Watch out the warning. Gcc would tell you
	that size of yylval mismatches or something like that. That's
	because there is another 'yylval' present in libinn.so. Replace
	'yylval' in innfeed with another variable name, say yylval2.
	This is my workaround. Hope it helps.


Re: Problem with INN 2.1: Innfeed keeps restarting
#30964
Author: Simon Karpen
Date: Sun, 30 Aug 1998 00:00
38 lines
2412 bytes
On Fri, 28 Aug 1998 06:42:58 GMT, Fluffy <sendsys@meow.org> wrote:
>{chomp logs of continually dying/restarting innfeed}
>
>If it's dying, there may be some kl00z in ~news/log/errlog.  If
>nothing's there, try running [start]innfeed interactively from the
>shell, using exactly the same command you've got listed in newsfeeds.
>It should just sit there and wait for token/ID pairs on stdin if
>everything's okay.

~news/log/errlog shows nothing. It appears to be dumping core at startup.

gdb says:

Script started on Sun Aug 30 10:53:02 1998
[root@netra-news articles]# gdb /news/bin/innfeed core.innfeed
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `/news/bin/innfeed'.
Program terminated with signal 10, Bus error.
Reading symbols from /news/lib/libstorage.so.2...done.
Reading symbols from /news/lib/libinn.so.2...done.
Reading symbols from /lib/libc.so.5.3.12...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0  0x2ca5c in yyparse () at /usr/lib/bison.simple:457
457	  *++yyvsp = yylval;
(gdb) where
#0  0x2ca5c in yyparse () at /usr/lib/bison.simple:457
Script done on Sun Aug 30 10:53:43 1998

-- 
Simon Karpen			slk@ntrnet.net
#include <std_disclaimer.h>	My opinions are my own.
Technology is like fish: the longer you leave it on the shelf,
the less attractive it is.  --Andy Heller, IBM RS/6000 architect

Re: Problem with INN 2.1: Innfeed keeps restarting
#30973
Author: Simon Karpen
Date: Sun, 30 Aug 1998 00:00
15 lines
1291 bytes
On 28 Aug 1998 14:15:50 GMT, Fluffy <sendsys@MEOW.org> wrote:

>Something I remembered just now while the makefile stuff was scrolling
>by.  Startinnfeed has to be setuid root.

startinnfeed is setuid root. I hade sure of that already.

--Simon
-- 
Simon Karpen			slk@ntrnet.net
#include <std_disclaimer.h>	My opinions are my own.
Technology is like fish: the longer you leave it on the shelf,
the less attractive it is.  --Andy Heller, IBM RS/6000 architect

Re: Problem with INN 2.1: Innfeed keeps restarting
#30980
Author: Simon Karpen
Date: Sun, 30 Aug 1998 00:00
23 lines
1781 bytes
On 28 Aug 1998 13:42:36 GMT, Chris A. Epler <cepler@Stormhaven.org> wrote:

>I have a similar setup here but I came from 1.7.x->2.1...  It seems like
>there might be a problem with the innfeed in the release 2.1 tarball for
>Sparc Linux on RedHat 4.2.  I believe innfeed is dumping core on you, try
>running it manually and see if it dies on you (innfeed -y).  If so, try
>getting one of the CVS snapshots and compiling innfeed and giving that copy
>a shot, it worked for me...

I'll give that a shot. It does appear that innfeed is dumping core (I
already posted the output from gdb). 

Speaking of innfeed... innxmit seems to actually be feeding faster than
innfeed, for some reason. 

--Simon, currently using innxmit while figuring out this problem...
-- 
Simon Karpen			slk@ntrnet.net
#include <std_disclaimer.h>	My opinions are my own.
Technology is like fish: the longer you leave it on the shelf,
the less attractive it is.  --Andy Heller, IBM RS/6000 architect

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