Article View: news.software.nn
Article #571nnmaster dies under HP-UX 7.0 -- FIX
From: Rick Low
Date: Wed, 13 Jun 1990 13:13
Date: Wed, 13 Jun 1990 13:13
48 lines
2083 bytes
2083 bytes
I built NN 6.4 patchlevel 4 on an HP 9000/350 under
HP-UX 7.0. I used the configuration file for HP-UX 6.5.
However, nnmaster, when started from /etc/rc at system
startup time ("nnmaster -l -r -C"), dies right after checking
database consistency. It reports "got hangup". This did not
occur with HP-UX 6.5.
The problem is related to DETATCH_TERMINAL in NN, setpgrp() in HP-UX, and
changes to setpgrp in HP-UX 7.0. The problem can be fixed by using the
following file "s-hpux7-0.h" in place of s-hpux6-5.h.
------------------------cut here-------------------------
/* s-hpux7-0.h -- NN definition file for HP-UX 7.0
*---------------------------------------------------------------
* 11 Jun 90 Rick Low MEL Defence Systems Ltd, Ottawa, Canada
* - used s-hpux6-5.h as distributed, but modified
* use of setprgp to correspond to changes in HP-UX 7.0
* as described in 7.0 release notes page 5-1
*---------------------------------------------------------------
*/
#include "s-hpux.h"
#define SIGNAL_HANDLERS_ARE_VOID /* */
#define EXTRA_LIB -lBSD
#ifdef DETATCH_TERMINAL
#undef DETATCH_TERMINAL
#include <sys/types.h>
pid_t setsid();
#define DETATCH_TERMINAL setsid();
#endif
------------------------cut here-------------------------
Rick Low
MEL Defence Systems Limited, Ottawa, Canada
+1 613 836 6860
mitel!melair!low@uunet.uu.net
--
Rick Low
MEL Defence Systems Limited, Ottawa, Canada
+1 613 836 6860
mitel!melair!low@uunet.uu.net
Technical Details
Message-ID:
<368@melair.UUCP>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mitel!melair!lowShow Full Headers
Complete Article Headers
Message-ID: <368@melair.UUCP> Subject: nnmaster dies under HP-UX 7.0 -- FIX Date: Wed, 13 Jun 1990 13:13:57 +0000 From: low@melair.UUCP (Rick Low) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!utzoo!utstat!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mitel!melair!low Newsgroups: news.software.nn,comp.sys.hp Keywords: nnmaster HP-UX Organization: MEL Defence Systems Ltd., Ottawa, Canada Lines: 47