tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: What's wrong with this daemon
@ 1995-11-28  9:52 Jesus Rodriguez Castro
  0 siblings, 0 replies; only message in thread
From: Jesus Rodriguez Castro @ 1995-11-28  9:52 UTC (permalink / raw)
  To: tru64-unix-managers

	Hi all,

	Some days ago I asked you about a daemon I wasn't able to execute 
from a script. When it was executed from the script and I closed the 
window, the daemon went down.

	Many of you asked me and I got a solution thanks to all your 
ideas: At last, I had to do the following:

	I my script I wrote:

	nohup <daemon> </dev/null >/dev/null 2>&1 &
	sleep 15

	The first line executes the daemon using nohup and preventing the 
daemon from accessing the terminal.

	After doing this, my script worked on and off, so I had to send a 
second mail, what was ansered by Andrew Osterman, who had had the same 
problem before. His answer:

-----------------------------------
	Does the daemon have enough time to start up before you exit the 
window ?
Try adding a sleep 10 on the line after the nohup line.
I had a simmilar problem before trying to get SYBASE started at boot time
and had to get the script to sleep 15 seconds to allow the SYBASE server
to complete startup before the system startup processes completed.
-----------------------------------

	Thanks to everybody.

           ,,,
          (o o)
  ====oOO--( )--OOo========================================================
  JESUS RODRIGUEZ CASTRO                       Applications Systems Manager
  -------------------------------------------------------------------------
  Centro de Investigaci'ons Lig"u'isticas _/ e-mail: jcastro@cirp.es
  e Literarias "Ram'on Pi~neiro".         _/         suso@udc.es 
  Estrada Santiago-Noia km. 3             _/ phone : +34 (9)81 542691 
  15896 Santiago, A Coru~na, Spain        _/ fax   : +34 (9)81 543553 
  =========================================================================

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

only message in thread, other threads:[~1995-11-28  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-28  9:52 SUMMARY: What's wrong with this daemon Jesus Rodriguez Castro

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