Thread View: news.software.nn
1 messages
1 total messages
Started by Rick Low
Wed, 13 Jun 1990 13:13
nnmaster dies under HP-UX 7.0 -- FIX
Author: 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
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