Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How to Fix Startup Problems (finally!)
@ 1994-11-23 21:23 Steve Rosen
  0 siblings, 0 replies; only message in thread
From: Steve Rosen @ 1994-11-23 21:23 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-11-23 21:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-23 21:23 How to Fix Startup Problems (finally!) Steve Rosen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox