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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Where is Oracle 9.2 init.ora?

RE: Where is Oracle 9.2 init.ora?

From: Freeman, Robert <Robert_Freeman_at_csx.com>
Date: Fri, 12 Jul 2002 10:58:24 -0800
Message-ID: <F001.00496975.20020712105824@fatcity.com>


The creation of the spfile by the DBCA is optional, BTW, in 9iR1 and 9iR2. There is a checkbox where you can disable the use of the SPFILE.

Robert G. Freeman - Oracle OCP
Oracle Database Architect
CSX Midtier Database Administration
Author
Oracle9i RMAN Backup and Recovery (Oracle Press - Oct 2002) Oracle9i New Features(Oracle Press)
Mastering Oracle8i (Sybex)

Clark Griswold: Eddie,has anyoneever told you that you're bad luck? Cousin Eddie: Those were my mother's dying words. But I guess if your body's covered in third degree burns, and your foot's caught in a bear trap, you tend to start talkin' crazy.

-----Original Message-----
Sent: Thursday, July 11, 2002 12:40 PM
To: Multiple recipients of list ORACLE-L

Dennis,
 the info you are looking for can be found in the IOUG "Select Nov 2001" magazine.
" Spfile is a new form of the INIT.ORA file, which is a binary file. the default location is in $ORACLE_HOME/dbs/spfileSID.ora. The spfile contains all of the initialization parameters that are currently set in the online database. When setting a dynamic initialization parameter, you have the option of setting it's scope, i.e. Memory memory only, spfile only, or both.
The spfile can be recreated from the pfile and vice versa.

=== ALTER SYSTEM SET parameter
===COMMENT='This is the reason for setting it'
===SCOPE=[MEMORY,SPFILE,BOTH];

The default behavior is to use the SPFILE instead of the pfile. ===CREATE SPFILE[='....'] FROM PFILE[='...'] ===CREATE PFILE[='...'] FROM SPFILE[='....'] additional information can be found in
V$SPFILE
V$SPPARAMETER
V$PARAMETER &
V$PARAMETER2    "

 From what I have read and understand you have to "activate" the changes in the pfile by creating the spfile and then bouonce the DB to activate it.
HTH
ROR mm

>>> charliem_at_mwh.com 07/11/02 12:09PM >>> GOTCHA! The dbca also created an "SP" file for you. I was stumped by it too after doing my initial V9.2 install. I forget the actual name, but this should give you enough of a clue so you can get moving again.

HTH & YMV! DENNIS WILLIAMS wrote:
>
> For Oracle 9.2 (Solaris), can anyone tell me where Oracle is
expecting the
> init.ora file?
>
> I created the database using dbca. It created an init.ora in
> admin/{db_name}/pfile. I moved this to $ORACLE_HOME/dbs and renamed
the
> original init.ora file. Then I discovered that Oracle is not reading
the new
> init.ora. The database starts fine, with no errors. I tried moving
the
> init.ora file back to the original pfile location, but it is still
not
> reading it. Specifically, I am trying to set LOG_ARCHIVE_START =
true, but I
> have made other changes and they are not taking effect either.
>
> I have searched the documentation, and while there is the new SPFILE,
there
> is no indication how this might affect my problem.
>
> Any insights from someone that has turned archiving on with 9.2 would
be
> appreciated.
>
> Dennis Williams
> DBA, 20% OCP
> Lifetouch, Inc.
> dwilliams_at_lifetouch.com
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: DENNIS WILLIAMS
> INET: DWILLIAMS_at_LIFETOUCH.COM
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing
Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).

-- 
Charlie Mengler                                  Maintenance Warehouse 

charliem_at_mwh.com                                 10641 Scripps Summit
Ct.
858-831-2229                                     San Diego, CA 92131   

Lack of planning on your part doesn't constitute an emergency on my
part!
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Charlie Mengler
  INET: charliem_at_mwh.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Freeman, Robert
  INET: Robert_Freeman_at_csx.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jul 12 2002 - 13:58:24 CDT

Original text of this message

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