tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: daemons failing to start from init.d scripts
@ 1996-06-25 14:53 Mike Grau
  0 siblings, 0 replies; only message in thread
From: Mike Grau @ 1996-06-25 14:53 UTC (permalink / raw)
  To: tru64-unix-managers


In response to my question:

I am new to OSF and have inherited a DEC 3000/800S server running dUniX 3.2c.
I am trying to start the pop and httpd daemons at startup.  ....
The script executes fine, but on a reboot the script starts the daemon,
but it apparently dies.

I received the following replies virtually unanimous in their solution:

1.  start the command you want run with a "nohup", and put a sleep in for a
    few seconds at the end of the initialising script. 

2.  You will find that your daemon is getting a signal (a HUP from memory),
    when the script exits, trap this signal, and all should work.

3.  I'm probably one of many replying to your problem, so I'll keep
    it short. nohup. Check it out in the man pages. I had to do the same 
    thing you are and it worked like a charm.

4.  Have a look at 'nohup', not the one in 'csh'. Do a 'man nohup'.
    You need to place something in your init.d script where you run the 
    deamon:

    /usr/bin/nohup popd

    This makes the popd deamon ignore SIGHUP signals.



Sincere thanks to Andy Adamson, Dougal Scott, Karl Liebert, Joe Spanicek,

End of problem.

---------------------------------------------------------------------
| Michael Grau                   |                                  |
| Kansas Corporation Commission  | Tel: (913) 271-3236              |
| 1500 SW Arrowhead RD           | Fax: (913) 271-3354              |
| Topeka, KS 66606-4027          |                                  |
|                                | email: mikeg@kcc.state.ks.us     |
---------------------------------------------------------------------

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

only message in thread, other threads:[~1996-06-25 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-25 14:53 SUMMARY: daemons failing to start from init.d scripts Mike Grau

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