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

From: Dave T. (davidlt77_at_hotmail.com)
Date: 10/24/03

  • Next message: Sabrina Lautier: "[HPADM] RE: RE: SCSI: Read error"
    To: hpux-admin@dutchworks.nl
    Date: Fri, 24 Oct 2003 09:28:45 -0400
    
    

    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)
    

  • Next message: Sabrina Lautier: "[HPADM] RE: RE: SCSI: Read error"

    Relevant Pages

    • Meeting responses not updating calendar entry tracking feature
      ... I've searched out many posts today and played with Outlook rules and scripts, ... If I set up a rule to move meeting responses (all of them: ... complicated for me as I have not written code for years). ...
      (microsoft.public.outlook.calendaring)
    • SUMMARY: scripts not running: ^M
      ... I just pasted a couple responses due to the amount I received. ... The solution is to use dos2unix. ... The extra "^M" is the CR part of CR+LF that MS-DOS, Windows and friends use. ... you're seeing is probably from the "sh-bang" line at the top of your scripts. ...
      (SunManagers)
    • Re: HTML form generating semi- blank emails
      ... Lelu wrote: ... responses; does anyone see anything wrong with the scripts?: ... Please feel free to return when you have a question about HTML authoring for the WWW. ...
      (comp.infosystems.www.authoring.html)
    • Re: tcl/expect freeze
      ... My scripts don't bring up more ... My understanding was that expect's timeout gets reset whenever there ... there even when the expect should match until a carriage return is ... issue (also for the record on long responses, I tend to try and match ...
      (comp.lang.tcl)
    • Re: [opensuse] saving boot-time console output
      ... Try the dmesg command. ... unless they are explicitly logged to the system log. ... messages from the kernel -- not from the boot time scripts. ...
      (SuSE)