From: smrosen@vega.rm.fccc.edu (Steve Rosen)
Subject: How to Fix Startup Problems (finally!)
Date: 23 Nov 1994 21:23:12 GMT [thread overview]
Message-ID: <3b0bs0$4v@taurus.fccc.edu> (raw)
All this talk about having problems starting processes at boot time makes this
post well overdue. I too have had problems starting many processes including
license servers, databases servers, WWW servers, etc. on all version of OSF/1.
Cast off ye' old wrapper scripts and startup script hacks! The solution is at
hand! The fix is trivial, but certainly not obvious. I got this indirectly from
Sybase and it fixed all of my startup headaches as well as making the Sybase
server behave properly in certain circumstances.
The answer is to precede the command like which starts the process you want
with:
/usr/sbin/nohup
as an example of one line from an /sbin/init.d script which starts a license
server (and died at boot time previously):
#
# Start Z-Code Network License Server
#
case "$1" in
'start')
ZMLIB=/usr/lib/Zmail
PATH=$PATH:$ZMLIB/license/bin
/usr/bin/nohup $ZMLIB/license/bin/zcnlsd $ZMLIB/license/license.data 2722
echo ZCNLSD
;;
I am not 100% sure what the exact technical reason is for why this works, but it
does and I don't guarantee it for every process. It seems that those processes
that don't start at boot time are getting a signal (which one?) that they don't
handle properly nor do they expect and thus they terminate. Use the full path
name to get the system nohup and not the shells built-in nohup. They differ
slight, but I am not sure how. Now get back to work...
--
Steve Rosen Fox Chase Cancer Center
SM_Rosen@fccc.edu 7701 Burholme Avenue
(215) 728-3665 Philadelphia, PA 19111
reply other threads:[~1994-11-23 21:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox