🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Clay Luther Sat, 22 Dec 1990 02:44
More NNTP/NN fails to post
#885
Author: Clay Luther
Date: Sat, 22 Dec 1990 02:44
14 lines
1160 bytes
I have tracked the NN->NNTP posting problem down to the following error, 
I assume emitted by the NNTP server:

spawn: execle(/usr/lib/news/inews)/usr/lib/news/inews: Exec format error

Kim??  Anyone?  I was using NN's mini-inews at the time.


-- 
Clay Luther, Postmaster          cluther@supernet.haus.com 
  Harris Adacom Corporation      cluther@enigma.haus.com
  Voice:  214/386-2356           MS 23, PO Box 809022, Dallas, Tx 75380-9022
  Fax:    214/386-2159           Your mileage may vary.  Void where prohibited.
Re: More NNTP/NN fails to post
#881
Author: Gary Bridgewater
Date: Sun, 23 Dec 1990 06:51
32 lines
1884 bytes
In article <1990Dec22.024405.28519@supernet.haus.com> cluther@supernet.haus.com (Clay Luther) writes:
>I have tracked the NN->NNTP posting problem down to the following error, 
>I assume emitted by the NNTP server:
>
>spawn: execle(/usr/lib/news/inews)/usr/lib/news/inews: Exec format error

Presumably your execle call is as picky as ours.  A couple of things can
happen in that execle: 1) the "flag" argument can actually be NULL prematurely
ending the argv's and killing "myenviron" and/or 2) the "myenviron" pointer
can be NULL.
On my system, #2 gave me your message.
Presumably this line in server/spawn.c
		execle(path, name, flag, (char *) NULL, myenviron);
should be changed to something like
		if ( flag )
		    if ( myenviron )
			execle(path, name, flag, (char *) NULL, myenviron);
		    else
			execl(path, name, flag, (char *) NULL);
		else
		    if ( myenviron )
			execle(path, name, (char *) NULL, myenviron);
		    else
			execl(path, name, (char *) NULL);


Or at least that is the result of a few hours experimentation on my system.
-- 
Gary Bridgewater, Data General Corporation, Sunnyvale California
gary@sv.dg.com or {amdahl,aeras,amdcad}!dgcad!gary
C++ - it's the right thing to do.
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