SPFILE problem [message #67563] |
Mon, 11 October 2004 00:03 |
Naveen
Messages: 75 Registered: June 2001
|
Member |
|
|
I have a small problem with creating the SPFILE, can someone help me ?
These are the commands i had issued :-
1. startup nomount
2. create SPFILE from PFILE ;
Then i got an error :-
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file 'C:ORACLEORA92DATABASEINITORCL.ORA'
Ever since this happened i am unable to connect to ORACLE under any schema !
I get the following error : -
SQL> conn scott/tiger
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Warning: You are no longer connected to ORACLE.
WHY DOES THIS HAPPEN AND HOW CAN I OVERCOME IT ?
|
|
|
creating server parameter file [message #316595 is a reply to message #67563] |
Sat, 26 April 2008 02:05 |
elsherbiny.ahmed
Messages: 2 Registered: September 2007
|
Junior Member |
|
|
Dear Neveen
you are try to create spfile without determine the path of input pfile to deal with.
to continue without receiving any errors
SQL>create spfile from pfile='full path here';
or like you did
SQL> create SPFILE from PFILE ; "but in this case you must start the database 1st with any pfile (startup nomount pfile='full path';)so no error return.
----------------------------------------------------------
----------------------------------------------------------
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
The cause is the database is down & the SGA components does't allocated in the memory.
The default path for the parameter file
|
|
|
|
Re: SPFILE problem [message #316615 is a reply to message #67563] |
Sat, 26 April 2008 09:24 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
>2. create SPFILE from PFILE ;
The spfile can be created in any database state; down, mount, open ; as long as Oracle can find or is explicitly told where to find the appropriate pfile.
create SPFILE from PFILE='$ORACLE_HOME/dbs/newpfile.ora';
corrected minor typo in previous post
[Updated on: Sat, 26 April 2008 09:38] by Moderator Report message to a moderator
|
|
|
|
|
|
|
Re: SPFILE problem [message #513347 is a reply to message #513333] |
Sun, 26 June 2011 23:22 |
|
Michel Cadot
Messages: 68732 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
1/ Do not post in UPPER case
2/ Use SQL*Plus and copy and paste your session, the WHOLE session.
3/ Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Make sure that lines of code do not exceed 80 characters when you format.
Indent the code, use code tags and align the columns in result.
Use the "Preview Message" button to verify.
4/ Always post your Oracle version, with 4 decimals.
5/ You have an invalid chr(0) character in your file
Regards
Michel
|
|
|