tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mike Grau <mikeg () wildcat ! kcc ! state ! ks ! us>
To: tru64-unix-managers
Subject: SUMMARY: daemons failing to start from init.d scripts
Date: Tue, 25 Jun 1996 14:53:18 +0000	[thread overview]
Message-ID: <96076333621554.tru64-unix-managers.marc@archive.invalid> (raw)


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     |
---------------------------------------------------------------------

                 reply	other threads:[~1996-06-25 14:53 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