Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: A bit of Linux advice yet again??

Re: A bit of Linux advice yet again??

From: Howard J. Rogers <howardjr2000_at_yahoo.com.au>
Date: Sun, 2 Feb 2003 00:14:40 +1100
Message-ID: <BCP_9.38244$jM5.96620@newsfeeds.bigpond.com>

"Noons" <nsouto_at_optusnet.com.au.nospam> wrote in message [lots of good stuff snipped, which I shall return to in the morning]
>
> > Oh -one other thing. I know all about oratab, and I *do* get both my
> > instances starting automatically at reboot. But how does one automate
> > the intelligent agent and listener? oratab doesn't seem syntactically
> > capable of doing these, so I guess I must look elsewhere. Am I deep into
> > shell scripting at this point??
>
> Yes, you are. The equivalent of Windows "Startup" folder in
> Unix is a reasonably complex thing called "rc" scripts and init()
> process.

Oh God. I feel run levels coming on.

>Scripts live in "/etc/rcnn" where "nn" may start at 0.
> They are directories that contain scripts for starting up groups of
> software depending on which run level you're going to.
>
> Unix has this quaint concept of run levels.

Oh dear.

>5 is multi-user,
> 1 is single user, a lot of things in between. Each run level
> corresponds to one of the numbers in the rc(nn) directories.
> Each directory will contain the startup files for what you want
> to run in those levels. You put the corresponding startup
> scripts for Oracle stuff in those.
>

Isn't there an 'OK' button somewhere???

> Those scripts you write yourself, or you stick to standards
> and use the "dbstart" and "dbshut" stuff from Oracle.
> For starting the listener, you add it to the top of dbstart
> for example, with something like "lsnrctl start" right at
> the top of that script.
>
> Read all about it by looking at the "init()" man pages,

Have you *read* those man pages?

Personally, I think they were all written by French people looking for revenge for Agincourt, and deciding that mangling the English language was the best way forward.

>that's
> the process that controls startup and run levels in Unix.
>
> Shutdown is also handled by same mechanism, BTW.

It's now gone midnight. I will have to review your post in some greater detail sometime after midday tomorrow. But something tells me that you've answered my question in spades anyway, so thanks a million.

God, I like Windows.

Regards
HJR Received on Sat Feb 01 2003 - 07:14:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US