System Startup Script Question

Ask a Question related to AIX, Design and Development.

  1. #1

    Default System Startup Script Question

    Greetings one and all,

    I am installing some software on a test bed AIX/5L machine. The manual
    for the software instructed me to place a specific command into the 'system
    startup script'. Now the software itself has a startup script, and they
    even provided instructions for placing an entry in /etc/inittab for that to
    be started up with runlevel 2. But it didn't read as though the command in
    question should have been put in thier startup script, or I would think they
    would have referred to it by name.

    From the Googling I've done, I can't find any reference to s 'system
    startup script' in AIX. Is there one? My particular system doesn't even
    have an /etc/rc.shutdown, which I did see referenced in the same manual.
    That led me to the suspicion that there maybe an /etc/rc.startup in some
    systems, but I don't have one of those either.

    If someone can provide me with some guidance here, I would sure
    appreciate it.

    Thanks,

    Jeff.


    Jeff Mulliken Guest

  2. Similar Questions and Discussions

    1. A startup script with root permissions?
      Hello, I use Kubuntu. Upon startup, I need to run the command # chmod 777 /dev/lp0 in order to allow my girlfriend access to the printer....
    2. sendmail startup script?
      I am in the midst of reconfiguring sendmail on a box to forward the mail from the domain to another box (true mail smtp box). is there a script...
    3. Script Error on some machines on startup
      hello! ok. i did a simple conference presentation using director MX, i use for the startup video a .AVI file, and for the conference i use...
    4. Bypass Startup Script
      ....but you can't create a relationship without having a master password, so regular users couldn't use this method. -Scott "Tim Morrison"...
    5. Oracle startup script
      I have installed Oracle 9.2.1 RedHat 8.0, and it is up and running perfectly. But I need a startup script to put in /etc/rc.d/init.d to make Oracle...
  3. #2

    Default Re: System Startup Script Question

    Jeff Mulliken wrote:
    > Greetings one and all,
    >
    > I am installing some software on a test bed AIX/5L machine. The manual
    > for the software instructed me to place a specific command into the 'system
    > startup script'. Now the software itself has a startup script, and they
    > even provided instructions for placing an entry in /etc/inittab for that to
    > be started up with runlevel 2. But it didn't read as though the command in
    > question should have been put in thier startup script, or I would think they
    > would have referred to it by name.
    >
    > From the Googling I've done, I can't find any reference to s 'system
    > startup script' in AIX. Is there one? My particular system doesn't even
    > have an /etc/rc.shutdown, which I did see referenced in the same manual.
    > That led me to the suspicion that there maybe an /etc/rc.startup in some
    > systems, but I don't have one of those either.
    >
    > If someone can provide me with some guidance here, I would sure
    > appreciate it.
    >
    > Thanks,
    >
    > Jeff.
    >
    >
    Personally, I would interpret 'system startup script' as 'part of the
    /etc/rc.d directory structure'. Next on the list, I would think that it
    was /etc/inittab.

    There may be technical reasons to use one and not the other that I am
    unaware of. Otherwise I would say that either is an appropriate place
    to start software on system startup.

    However I am shy of editing /etc/inittab, as a mistake, even a syntax
    error, can render the system unbootable. OK, I have screwed up the boot
    process with an /etc/rc script, but it is harder to do!



    --
    Nick H (UK)

    Nick H (UK) Guest

  4. #3

    Default Re: System Startup Script Question

    Jeff Mulliken <mullikenNOSPAM@attbi.com> wrote:
    JM> Greetings one and all,

    JM> I am installing some software on a test bed AIX/5L machine. The manual
    JM> for the software instructed me to place a specific command into the 'system
    JM> startup script'. Now the software itself has a startup script, and they
    JM> even provided instructions for placing an entry in /etc/inittab for that to
    JM> be started up with runlevel 2. But it didn't read as though the command in
    JM> question should have been put in thier startup script, or I would think they
    JM> would have referred to it by name.

    Groups.google for "/etc/rc.local AIX."

    JM> From the Googling I've done, I can't find any reference to s 'system
    JM> startup script' in AIX. Is there one? My particular system doesn't even
    JM> have an /etc/rc.shutdown, which I did see referenced in the same manual.
    JM> That led me to the suspicion that there maybe an /etc/rc.startup in some
    JM> systems, but I don't have one of those either.

    The shutdown command will run /etc/rc.shutdown, if the file exists.

    Regards,

    Nicholas

    --
    "Why shouldn't I top-post?" [url]http://www.aglami.com/tpfaq.html[/url]
    "Meanings are another story." [url]http://www.ifas.org/wa/glossolalia.html[/url]
    Nicholas Dronen Guest

  5. #4

    Default Re: System Startup Script Question


    "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
    news:3F6D6F8C.8010706@mridangam.com...
    > Jeff Mulliken wrote:
    > > Greetings one and all,
    > >
    > > I am installing some software on a test bed AIX/5L machine. The
    manual
    > > for the software instructed me to place a specific command into the
    'system
    > > startup script'. Now the software itself has a startup script, and
    they
    > > even provided instructions for placing an entry in /etc/inittab for
    that to
    > > be started up with runlevel 2. But it didn't read as though the
    command in
    > > question should have been put in thier startup script, or I would
    think they
    > > would have referred to it by name.
    > >
    > > From the Googling I've done, I can't find any reference to s
    'system
    > > startup script' in AIX. Is there one? My particular system doesn't
    even
    > > have an /etc/rc.shutdown, which I did see referenced in the same
    manual.
    > > That led me to the suspicion that there maybe an /etc/rc.startup in
    some
    > > systems, but I don't have one of those either.
    > >
    > > If someone can provide me with some guidance here, I would sure
    > > appreciate it.
    > >
    > > Thanks,
    > >
    > > Jeff.
    > >
    > >
    > Personally, I would interpret 'system startup script' as 'part of the
    > /etc/rc.d directory structure'.
    The /etc/rc.d directory structure is a relatively new "feature" that IBM
    first sneaked into AIX in an 4.3.3 ML so a third party vendor may not be
    aware of it.
    > Next on the list, I would think that it
    > was /etc/inittab.
    >
    > There may be technical reasons to use one and not the other that I am
    > unaware of. Otherwise I would say that either is an appropriate place
    > to start software on system startup.
    >
    > However I am shy of editing /etc/inittab, as a mistake, even a syntax
    > error, can render the system unbootable. OK, I have screwed up the
    boot
    > process with an /etc/rc script, but it is harder to do!
    >
    IBM always advise the use of chitab, lsitab, rmitab and mkitab commands
    to reduce the risk of screwing up the /etc/inittab as these commands
    syntax check the entries.

    I sometimes use SRC subsystem to manage the startup and shutdown of a
    third party application but this does require careful testing and
    usually requires the creation of "wrapper" shell scripts with an exec at
    the end.

    In the early days some software vendors started their AIX code from
    /etc/rc although I haven't seen this in a while.


    --
    RobH
    The future's dim, the future's mono.


    RobH Guest

  6. #5

    Default Re: System Startup Script Question



    RobH wrote:
    > "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
    > news:3F6D6F8C.8010706@mridangam.com...
    >
    >>Jeff Mulliken wrote:
    >>
    >>>Greetings one and all,
    >>>
    >>> I am installing some software on a test bed AIX/5L machine. The
    >>
    > manual
    >
    >>>for the software instructed me to place a specific command into the
    >>
    > 'system
    >
    >>>startup script'. Now the software itself has a startup script, and
    >>
    > they
    >
    >>>even provided instructions for placing an entry in /etc/inittab for
    >>
    > that to
    >
    >>>be started up with runlevel 2. But it didn't read as though the
    >>
    > command in
    >
    >>>question should have been put in thier startup script, or I would
    >>
    > think they
    >
    >>>would have referred to it by name.
    >>>
    >>> From the Googling I've done, I can't find any reference to s
    >>
    > 'system
    >
    >>>startup script' in AIX. Is there one? My particular system doesn't
    >>
    > even
    >
    >>>have an /etc/rc.shutdown, which I did see referenced in the same
    >>
    > manual.
    >
    >>>That led me to the suspicion that there maybe an /etc/rc.startup in
    >>
    > some
    >
    >>>systems, but I don't have one of those either.
    >>>
    >>> If someone can provide me with some guidance here, I would sure
    >>>appreciate it.
    >>>
    >>> Thanks,
    >>>
    >>> Jeff.
    >>>
    >>>
    >>
    >>Personally, I would interpret 'system startup script' as 'part of the
    >>/etc/rc.d directory structure'.
    >
    > The /etc/rc.d directory structure is a relatively new "feature" that IBM
    > first sneaked into AIX in an 4.3.3 ML so a third party vendor may not be
    > aware of it.
    Ahh yes. But it has been around generally for a long time -- isn't it
    the Berkley way of doing things? My memory only vague on this.
    >
    >
    >>Next on the list, I would think that it
    >>was /etc/inittab.
    >>
    >>There may be technical reasons to use one and not the other that I am
    >>unaware of. Otherwise I would say that either is an appropriate place
    >>to start software on system startup.
    >>
    >>However I am shy of editing /etc/inittab, as a mistake, even a syntax
    >>error, can render the system unbootable. OK, I have screwed up the
    >
    > boot
    >
    >>process with an /etc/rc script, but it is harder to do!
    >>
    >
    > IBM always advise the use of chitab, lsitab, rmitab and mkitab commands
    > to reduce the risk of screwing up the /etc/inittab as these commands
    > syntax check the entries.
    Good Point!! Something I always forget and will try to remember next time.
    >
    > I sometimes use SRC subsystem to manage the startup and shutdown of a
    > third party application but this does require careful testing and
    > usually requires the creation of "wrapper" shell scripts with an exec at
    > the end.
    >
    > In the early days some software vendors started their AIX code from
    > /etc/rc although I haven't seen this in a while.
    >
    >
    > --
    > RobH
    > The future's dim, the future's mono.
    >
    >

    --
    Nick H (UK)

    Nick H (UK) Guest

  7. #6

    Default Re: System Startup Script Question


    "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
    news:3F6EBDEA.6050700@mridangam.com...
    >
    >
    > RobH wrote:
    > > "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
    > > news:3F6D6F8C.8010706@mridangam.com...
    > >
    <SNIP>
    > >>Personally, I would interpret 'system startup script' as 'part of
    the
    > >>/etc/rc.d directory structure'.
    > >
    > > The /etc/rc.d directory structure is a relatively new "feature" that
    IBM
    > > first sneaked into AIX in an 4.3.3 ML so a third party vendor may
    not be
    > > aware of it.
    >
    > Ahh yes. But it has been around generally for a long time -- isn't it
    > the Berkley way of doing things? My memory only vague on this.
    They've been there for every Unix system I've work with exception of AIX
    but then AIX == Ain't unIX.

    > >>Next on the list, I would think that it
    > >>was /etc/inittab.
    > >>
    > >>There may be technical reasons to use one and not the other that I
    am
    > >>unaware of. Otherwise I would say that either is an appropriate
    place
    > >>to start software on system startup.
    > >>
    > >>However I am shy of editing /etc/inittab, as a mistake, even a
    syntax
    > >>error, can render the system unbootable. OK, I have screwed up the
    > >
    > > boot
    > >
    > >>process with an /etc/rc script, but it is harder to do!
    > >>
    > >
    > > IBM always advise the use of chitab, lsitab, rmitab and mkitab
    commands
    > > to reduce the risk of screwing up the /etc/inittab as these commands
    > > syntax check the entries.
    >
    > Good Point!! Something I always forget and will try to remember next
    time.

    Real Unix sysadms wouldn't use the itab commands but then they use cat
    for editing files.

    ;-)


    --
    RobH
    The future's dim, the future's mono.


    RobH Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139