Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* starting software at boot
@ 1994-02-10 23:31 Paul A. Scowen
  1994-02-11 23:29 ` David Boyce
  0 siblings, 1 reply; 2+ messages in thread
From: Paul A. Scowen @ 1994-02-10 23:31 UTC (permalink / raw)


Help!

OK, I think I'm starting to lose my mind over this one.  I am trying to start
software at boot time much in the same way we used to be able to with BSD by
adding a line to rc.local.

Now I am aware of the /sbin structures init.d and rc1.d, rc2.d and rc3.d that
contain symbolic links to the former for scripts to run for each task required
at boot time.  I am also aware that all these scripts use /sbin/sh to run.

My question then is does all software that is run at boot have to statically
linked instead of dynamically?  I ask since all efforts to get new software
to run at boot have resulted in simple non-running of the software, no errors
just not run, period.  And yes the scripts are executable, etc..

Does anybody have any sage advice with this - what's the simple thing I'm 
missing?  I mean it can't be that tough?!  Email responses please.

-------------------------------------------------------------------------------
Paul A. Scowen				INTERNET: scowen@tycho.la.asu.edu
Department of Physics & Astronomy		  paul.scowen@asu.edu
Arizona State University		DECnet:   PHYAST::SCOWEN
Box 871504				Bitnet:   scowen@asu
Tempe, AZ 85287-1504			Tel:      (602) 965-0938
USA					FAX:      (602) 965-7954
-------------------------------------------------------------------------------


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

* Re: starting software at boot
  1994-02-10 23:31 starting software at boot Paul A. Scowen
@ 1994-02-11 23:29 ` David Boyce
  0 siblings, 0 replies; 2+ messages in thread
From: David Boyce @ 1994-02-11 23:29 UTC (permalink / raw)


  >> OK, I think I'm starting to lose my mind over this one.  I am trying to start
  >> software at boot time much in the same way we used to be able to with BSD by
  >> adding a line to rc.local.

  >> Now I am aware of the /sbin structures init.d and rc1.d, rc2.d and rc3.d that
  >> contain symbolic links to the former for scripts to run for each task required
  >> at boot time.  I am also aware that all these scripts use /sbin/sh to run.

  >> My question then is does all software that is run at boot have to statically
  >> linked instead of dynamically?  I ask since all efforts to get new software
  >> to run at boot have resulted in simple non-running of the software, no errors
  >> just not run, period.  And yes the scripts are executable, etc..

  >> Does anybody have any sage advice with this - what's the simple thing I'm 
  >> missing?  I mean it can't be that tough?!  Email responses please.

Put the following line in the scripts that are giving you trouble:

  exec >/tmp/`basename $0`.out 2>&1 && set -x

This will direct the stdout/stderr from the script and its children to
the temp file, and turn on verbosity within the script.  You should be
able to figure out what the problem is after examining the result.
--
David Boyce	dsb@osf.org	617-621-8963


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

end of thread, other threads:[~1994-02-11 23:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-02-10 23:31 starting software at boot Paul A. Scowen
1994-02-11 23:29 ` David Boyce

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