Unix Technical Forum

Cannot create spfile from pfile

This is a discussion on Cannot create spfile from pfile within the Oracle Database forums, part of the Database Server Software category; --> Hi guru's That's it! When I type various combinations of the above command and then type show parameter spfile ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 07:52 AM
trub3101
 
Posts: n/a
Default Cannot create spfile from pfile

Hi guru's

That's it! When I type various combinations of the above command and
then type show parameter spfile the value is blank.

What gives guys?

RH Linux 4AS
Oracle 9i RAC

tb3101
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 07:52 AM
trub3101
 
Posts: n/a
Default Re: Cannot create spfile from pfile

On 9 Feb, 12:03, trub3101 <trub3...@sky.com> wrote:
> Hi guru's
>
> That's it! When I type various combinations of the above command and
> then type show parameter spfile the value is blank.
>
> What gives guys?
>
> RH Linux 4AS
> Oracle 9i RAC
>
> tb3101


Sorted!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 06:11 PM
Junior Member
 
Join Date: Feb 2008
Location: Fayetteville, GA
Posts: 4
Default

Ok - I'm going to guess you did something like this:

create spfile='/opt/oracle/admin/O901/pfile/spfileO901.ora'from pfile='/opt/oracle/admin/O901/pfile/initO901.ora'

or like this

create spfile='c:\oracle\admin\O901\pfile\spfile0901.ora' from
pfile='c:\oracle\admin\O901\pfile\initO901.ora'

Shut the database down.

Create a pfile in the $ORACLE_HOME/dbs directory for the sid you are using and put one line in it stating where the spfile is located, e.g.,

spfile='/opt/oracle/admin/O901/pfile/spfileO901.ora'


Restart the database.

If you don't specify a file location when you create the spfile it gets created in the $ORACLE_HOME/dbs directory (in unix). In windows the spfile will get created in the $ORACLE_HOME/database directory.

If you don't specify a file location for the spfile (which subsequently gets created in the default location) then you don't have to create an init file in the $ORACLE_HOME/dbs (or $ORACLE_HOME/database) directory.

Corrections welcome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:06 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com