From: smith@heliotrope.bucknell.edu (Greg Smith)
Subject: Why do I get SIGHUP during bootup?
Date: 12 Aug 1994 16:07:43 -0400 [thread overview]
Message-ID: <32gkqf$1nd@heliotrope.bucknell.edu> (raw)
I'm migrating from Ultrix to OSF/1 2.0. In the process of setting up some
of the standard daemons we use to start when we boot, I've run into an odd
problem. (Odd to me, anyway.)
I made the script in /sbin/init.d and made the appropriate S90file links
in rc3.d. My script gets run and reports that it started the process.
When I check with ps after the system comes up, the process isn't there.
I've tracked this to the fact that my dying processes are receiving a
SIGHUP signal. What is sending SIGHUP to processes started by the init
process and why? If I run the script by hand after the system has
fully booted and I've logged in, everything works perfectly. It's just
that after booting the system, something sends a SIGHUP to the newly
created process. Not knowing what to do with that signal, it dies.
I was able to add SIGHUP handling code to the program that I had written
and it now works. However, I can't do that for every program that I want
to start at boottime. They aren't all mine. ;-)
Can you give me an explanation of what is happening? I couldn't find it
in a FAQ or in the OSF/1 manuals (System Administration or the Migration
Guide). Without knowing what's going on with the HUP, I'm not really
very comfortable having it ignored.
Thanks in advance for any help anyone can give me!
Sincerely,
Greg Smith
--
==========================================================================
Greg Smith Computer and Communication Services
Systems Integrator Bucknell University
smith@bucknell.edu (717) 524-1795 Lewisburg PA 17837 USA
==========================================================================
next reply other threads:[~1994-08-12 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-12 20:07 Greg Smith [this message]
1994-08-12 23:57 ` Why do I get SIGHUP during bootup? Steven Noyd Jones
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