Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Daemon Starts (at boot up) and dies immediately
@ 1997-06-12  4:00 David C. Lyon
       [not found] ` <5o95nk$igf@emily.oit.umass.edu>
  0 siblings, 1 reply; 2+ messages in thread
From: David C. Lyon @ 1997-06-12  4:00 UTC (permalink / raw)



We have an Alpha 1000 with DEC Unix 4.0a. We also have the Radius daemon
from Livingston Enterprises (modified by Ascend Communications). Here
is a sample of the startup script.

  PATH=/sbin:/usr/sbin:/usr/bin
  export PATH

  case "$1" in

  'start')
     nohup /usr/bin/radiusd -A services; echo -n ' radiusd'
  ;;

I can see that radiusd does start. It dies almost immediately. Running
this manually works fine, the daemon stays running. I'm wondering if the
daemon itself is missing some code. It works fine Solaris 1.x. I haven't
tried it on Solaris 2. 

Does anyone have an insight? 

-- David C. Lyon



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Daemon Starts (at boot up) and dies immediately
       [not found] ` <5o95nk$igf@emily.oit.umass.edu>
@ 1997-06-19  4:00   ` Juergen Schroeder
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Schroeder @ 1997-06-19  4:00 UTC (permalink / raw)



Peter deFriesse (peter@dev.null) wrote:
: Somewhere off the top of my screen in article <33A06BCC.2EF@csupomona.edu>,
:   the esteemed dclyon@csupomona.edu said:
: 
: }is a sample of the startup script.

: }I can see that radiusd does start. It dies almost immediately. Running
: 
:   This is one of those things Digital did (baybe it is in the spec for
: OSF; I doubt it) that has pissed me off to no end!
: 
:   After your startup script is run, it is send a HUP.  I have struggled
: with several applications that respond (correctly) to HUP by exiting
: gracefully.  Makes it a bastard to start them on DU, though.  My start-
: up for lmgrd follows.  I don't really understand the timing, but it
: fails without the final "sleep" in it.

I have a similar workaround:

#!/bin/sh
echo Starte Power_mon ....
[..]
     at now + 1 min /usr/onlisave/power_mon

then it will remain alive ...

Juergen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-06-19  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-12  4:00 Daemon Starts (at boot up) and dies immediately David C. Lyon
     [not found] ` <5o95nk$igf@emily.oit.umass.edu>
1997-06-19  4:00   ` Juergen Schroeder

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