[HPADM] SUMMARY: Scripts in rc4.d Do Not Run at Boot

From: Dave T. (davidlt77@hotmail.com)
Date: Fri Oct 24 2003 - 09:28:45 EDT


Thanks to the following, in the order I received their responses:

George Bodnar
Brent Cramer
Rick Starr
Leon Kazakin
Robert Rakowski
Mike Blanchette
Subu Rama

Everyone pointed out to me that I needed to change the first line in
/etc/inittab so it will go to run-level 4, if I desire to use it. I changed
the line from:

init:3:initdefault:

to:

init:4:initdefault:

Thanks for the quick response!

Dave

-----Original Message-----
From: Dave T. [mailto:davidlt77@hotmail.com]
Sent: Friday, October 24, 2003 9:12 AM
To: hpux-admin@dutchworks.nl
Subject: [HPADM] Scripts in rc4.d Do Not Run at Boot

I have several startup scripts that I had put into /sbin/rc4.d several
months ago. I did this because I didn't care if they started after
everything else. The scripts start things such as Apache, RealVNC, and
Cobol. However, these scripts have never run at boot, and I've had to
manually run the scripts. They work find when run from the command line, so
I am suspecting that they simply won't run in rc4.d.

I have done reading about this, and I've found that rc4.d is reserved for
graphical interface managers, such as HP-VUE and CDE--neither of which we
use. Does this mean that the bootup has the intelligence to determine
whether scripts in rc4.d are graphical interface managers, and it won't
start anything that isn't one? This seems odd to me, but the only scripts
in rc4.d are the ones I've put in it, and none of them start at boot. Like
I said, when I run them manually after the system is up, they work just
fine, so I don't believe there is anything wrong with the way I've written
the startup scripts. I used /sbin/init.d/template to create them, so I'm
pretty sure my scripts have the proper format for bootup to run them.

Dave

_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in
enough? Get Hotmail Extra Storage today!
http://join.msn.com/?PAGE=features/es

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:35 EDT