🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2254

nnmaster dies

#2254
From: Jeffery Small
Date: Tue, 19 Nov 1991 21:33
49 lines
2362 bytes
Conditions:  UNIX-PC/3B1 with 2-Mb Ram running 3.51m OS
	     cnews 
	     nn version 6.4.13

In /etc/rc, I have the following:

	if [ -d /etc/daemons ] ; then
		DAEMONS=`ls /etc/daemons/*`
		if [ $? != 0 ] ; then DAEMONS=""; fi
		for i in $DAEMONS ; do
			if [ -x $i ] ; then
			    nohup $i > /dev/null 2>&1 &
			fi
		done
	fi

and the file /etc/daemons/nnmaster.init contains:

	rm -f /usr/llib/nn/MPID
	/usr/llib/nn/nnmaster -l -r -C


Every time this machine boots, /etc/rc fires up nnmaster, and then nnmaster
dies almost immediately.

Now, as root, I enter the keyboard command:  /etc/daemon/nnmaster.init &
and nnmaster starts up and runs just fine, setting itself up to be the
child of PID 1 (init) as it is supposed to be.

	(Well almost fine ... it does still die unexpectedly and silently,
	 every once in a while and has been doing that since way back with
	 version 6.3, but once started manually, it *usually* runs for weeks
	 without fail.)

I have a number of other daemons in /etc/daemons and they all run just fine.
I have experimented with a number of /etc/rc configurations including:

    * Starting nnmaster.init directly from /etc/rc
    * Eliminating the 'nohup' and output redirections so that it is started
	just as done manually
    * Changing the command to:  /usr/llib/nn/nnmaster -l  -r -C &

Nothing has worked - nnmaster still dies.  Does anyone have a similar
setup that is working or can anyone offer a suggestion as to what might
be happening here?  Thanks for any insights you may be able to offer.
--
Jeff Small                     C. Jeffery Small & Associates    (206) 232-3338
uunet!nwnexus!cjsa!jeff        7000 E Mercer Way,  Mercer Island, WA     98040
Technical Details
Message-ID: <1991Nov19.213317.1044@cjsa.wa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.3b1.mbox.zip!gmdzi!unido!mcsun!uunet!ogicse!milton!sumax!quick!cjsa!jeff

Show Full Headers
Complete Article Headers
Message-ID: <1991Nov19.213317.1044@cjsa.wa.com>
Subject: nnmaster dies
Date: Tue, 19 Nov 1991 21:33:17 +0000
From: jeff@cjsa.wa.com (Jeffery Small)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.3b1.mbox.zip!gmdzi!unido!mcsun!uunet!ogicse!milton!sumax!quick!cjsa!jeff
Newsgroups: comp.sys.3b1,news.software.nn
Summary: nnmaster dies when started from /etc/rc
Keywords: nnmaster dies
Organization: C. Jeffery Small and Associates
Lines: 48