From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e1f062a1ac84e1b6 X-Google-Attributes: gidfee84,public 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 Message-ID: <3tjpmk$pjm@fstgds15.tu-graz.ac.at>#1/1 X-Deja-AN: 105828832 references: <3tgv3v$q71@fstgds15.tu-graz.ac.at> organization: Graz University of Technology, Austria newsgroups: comp.unix.osf.osf1 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