🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #1707

NNTPD 1.5.11t locks up on HP 9000/375 (HP-UX 7.05 B)

#1707
From: Malcolm Carlock
Date: Fri, 19 Feb 1993 16:08
46 lines
2685 bytes
I recently compiled the nntpd 1.5.11t source from agate.berkeley.edu
on an HP 9000/375 running HP-UX 7.05 B, and ran into the following
problems:


1.	With USG (SYSV support) defined, timer.c fails to compile due
	to a reference to "timeoutp", which should not be referenced
	under USG.  I "fixed" the problem by adding the following lines,
	beginning on line 118 of server/timer.c:

 118:	#ifdef EXCELAN
        	n = select(fileno(stdin) + 1, &readfds, (long*)0, timeout);
	#else
 me -->	# ifdef USG
 me -->        	n = select(fileno(stdin) + 1, &readfds, (long*)0, timeout);
 me -->	# else  /* USG */
        	n = select(fileno(stdin) + 1,
            	&readfds, (fd_set*)0, (fd_set*)0, timeoutp);
 me -->	# endif /* USG */
	#endif /* EXCELAN */


Then, the big problem:

2.	Though nntpd compiles with this change, it hangs forever once an NNTP
	connection is opened to the installed binary (whether via [t]rrn or
	via "telnet newsserver nntp".)  The usual banner message is printed
	and typed characters are echoed, but no response ever appears.  The
	client must close the connection in order to quit.


I've tried compiling with and without AUTH defined, and get the same results.
This doesn't appear to be related to inetd, since I can put the plain 1.5.11
binary back in place and everything works again.

Has anyone gotten nntpd 1.5.11t to run successfully on this platform?  If so,
can you tell me what I need to do to get things going?

Thanks in advance for any info.  Please respond via email and I will summarize
to the net.
-- 
Malcolm L. Carlock                    Internet:   malc@unr.edu
                                      UUCP:       unr!malc
                                      BITNET:     malc@equinox
                                      Voice:      702-784-4637
Technical Details
Message-ID: <1993Feb19.160842.1176@physics.unr.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!news.unomaha.edu!nevada.edu!jimi!physics.unr.edu!equinox!malc

Show Full Headers
Complete Article Headers
Message-ID: <1993Feb19.160842.1176@physics.unr.edu>
Subject: NNTPD 1.5.11t locks up on HP 9000/375 (HP-UX 7.05 B)
Date: Fri, 19 Feb 1993 16:08:42 GMT
From: malc@equinox.uucp (Malcolm Carlock)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!sparky!uunet!ferkel.ucsb.edu!taco!gatech!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!news.unomaha.edu!nevada.edu!jimi!physics.unr.edu!equinox!malc
Newsgroups: news.software.nntp,comp.sys.hp
Sender: usenet@physics.unr.edu (Usenet login account)
Nntp-Posting-Host: equinox.unr.edu
Organization: University of Nevada, Reno Campus Computing Services
Lines: 45