From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,34f1e5997471a49a,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-11-23 13:23:12 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!msuinfo!netnews.upenn.edu!taurus.fccc.edu!smrosen From: smrosen@vega.rm.fccc.edu (Steve Rosen) Newsgroups: comp.unix.osf.osf1 Subject: How to Fix Startup Problems (finally!) Date: 23 Nov 1994 21:23:12 GMT Organization: Fox Chase Cancer Center - Philadelphia, PA Distribution: world Message-ID: <3b0bs0$4v@taurus.fccc.edu> Reply-To: SM_Rosen@fccc.edu NNTP-Posting-Host: vega.rm.fccc.edu X-Newsreader: mxrn 6.18-16 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