From: tom@finwds01.tu-graz.ac.at (Thomas Leitner)
Subject: Re: HELP: My process won't start from /sbin/init.d
Date: 1995/07/07 [thread overview]
Message-ID: <3tjpmk$pjm@fstgds15.tu-graz.ac.at> (raw)
In-Reply-To: werme.805130754@alingo.zk3.dec.com
Eric,
Eric Werme (werme@alingo.zk3.dec.com) wrote:
: tom@finwds01.tu-graz.ac.at (Thomas Leitner) writes:
: >I wrote a small remote tape daemon which I use to backup our OS/2
: >machines over the net to a DAT drive connected to the DEC 3000/600
: >running OSF/1 3.2
: >A listing of the rtape script is appended to that mail. Now, the problem is,
: >that during bootup everything looks fine. The "rtaped daemon started."
: >message appears. But when I log-in and check, the rtaped daemon just is
: >not running!!!
: When the rc3 script finishes, I believe the stray processes all get a signal
: that kills them. (I'm not certain of the genesis and don't have time or
: need to learn, so don't ask!)
: Our daemons usually call the BSD daemon routine (its in /usr/lib/libutil.a)
: This disconnects from controlling session to leave a process running on its
: own.
: > /usr/local/bin/rtaped $TAPE &
: ^ Get rid of the ampersand!
[...]
Well, I use the same startup script under Solaris 2.3 (which is SYSV as well)
only put in a different place of course.
: Call this early in main():
[...]
Thanks for the code. If everything else fails, I'll try to do that. But
I want to try to get it going with tricks on the shell level rather that
to change the code.
What if I just say:
/usr/local/bin/rtaped $TAPE </dev/null &
and additionally keep SIGTERM from being delivered with a
trap "" 15
: Oh yeah - I don't understand this session stuff, etiher. :-)
:-)
Thanks again -- Tom
--
Tom Leitner, tom@finwds01.tu-graz.ac.at |\ _,,,---,,_
Dept. of Communications zzz. /,`.-'`' -. ;-;;,_.
Graz University of Technology |,4- ) )-,_. ,\ ( `'-'
Inffeldgasse 12 '---''(_/--' `-'\_)
A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697
WWW home page: http://wiis.tu-graz.ac.at/people/tom.html
next prev parent reply other threads:[~1995-07-07 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-07-06 4:00 HELP: My process won't start from /sbin/init.d Thomas Leitner
1995-07-06 4:00 ` Dave Carter
1995-07-07 4:00 ` Thomas Leitner
1995-07-07 4:00 ` Peter Marksteiner
1995-07-07 4:00 ` Eric Werme
1995-07-07 4:00 ` Thomas Leitner [this message]
1995-07-11 4:00 ` Peter da Silva
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