Ask a Question related to AIX, Design and Development.
-
Jeff Mulliken #1
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
-
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.... -
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... -
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... -
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"... -
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... -
Nick H (UK) #2
Re: System Startup Script Question
Jeff Mulliken wrote:
Personally, I would interpret 'system startup script' as 'part of the> 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.
>
>
/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
-
Nicholas Dronen #3
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
-
RobH #4
Re: System Startup Script Question
"Nick H (UK)" <spamtrap@mridangam.com> wrote in message
news:3F6D6F8C.8010706@mridangam.com...manual> Jeff Mulliken wrote:> > Greetings one and all,
> >
> > I am installing some software on a test bed AIX/5L machine. The'system> > for the software instructed me to place a specific command into thethey> > startup script'. Now the software itself has a startup script, andthat to> > even provided instructions for placing an entry in /etc/inittab forcommand in> > be started up with runlevel 2. But it didn't read as though thethink they> > question should have been put in thier startup script, or I would'system> > would have referred to it by name.
> >
> > From the Googling I've done, I can't find any reference to seven> > startup script' in AIX. Is there one? My particular system doesn'tmanual.> > have an /etc/rc.shutdown, which I did see referenced in the samesome> > That led me to the suspicion that there maybe an /etc/rc.startup inThe /etc/rc.d directory structure is a relatively new "feature" that IBM> Personally, I would interpret 'system startup script' as 'part of the> > 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.
> >
> >
> /etc/rc.d directory structure'.
first sneaked into AIX in an 4.3.3 ML so a third party vendor may not be
aware of it.
boot> 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 theIBM always advise the use of chitab, lsitab, rmitab and mkitab commands> process with an /etc/rc script, but it is harder to do!
>
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
-
Nick H (UK) #5
Re: System Startup Script Question
RobH wrote:Ahh yes. But it has been around generally for a long time -- isn't it> "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
> news:3F6D6F8C.8010706@mridangam.com...
>> manual>>Jeff Mulliken wrote:
>>>>>>>Greetings one and all,
>>>
>>> I am installing some software on a test bed AIX/5L machine. The
>> 'system>>>>>for the software instructed me to place a specific command into the
>> they>>>>>startup script'. Now the software itself has a startup script, and
>> that to>>>>>even provided instructions for placing an entry in /etc/inittab for
>> command in>>>>>be started up with runlevel 2. But it didn't read as though the
>> think they>>>>>question should have been put in thier startup script, or I would
>> 'system>>>>>would have referred to it by name.
>>>
>>> From the Googling I've done, I can't find any reference to s
>> even>>>>>startup script' in AIX. Is there one? My particular system doesn't
>> manual.>>>>>have an /etc/rc.shutdown, which I did see referenced in the same
>> some>>>>>That led me to the suspicion that there maybe an /etc/rc.startup in
>>>>>>>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.
the Berkley way of doing things? My memory only vague on this.
Good Point!! Something I always forget and will try to remember next time.>
>>>>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.
>
>
--
Nick H (UK)
Nick H (UK) Guest
-
RobH #6
Re: System Startup Script Question
"Nick H (UK)" <spamtrap@mridangam.com> wrote in message
news:3F6EBDEA.6050700@mridangam.com...<SNIP>>
>
> RobH wrote:> > "Nick H (UK)" <spamtrap@mridangam.com> wrote in message
> > news:3F6D6F8C.8010706@mridangam.com...
> >
the> >>Personally, I would interpret 'system startup script' as 'part ofIBM> >> >>/etc/rc.d directory structure'.
> > The /etc/rc.d directory structure is a relatively new "feature" thatnot be> > first sneaked into AIX in an 4.3.3 ML so a third party vendor mayThey've been there for every Unix system I've work with exception of AIX>> > 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.
but then AIX == Ain't unIX.
am> >>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 Iplace> >>unaware of. Otherwise I would say that either is an appropriatesyntax> >>to start software on system startup.
> >>
> >>However I am shy of editing /etc/inittab, as a mistake, even acommands> >> >>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 mkitabtime.>> > 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
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



Reply With Quote

