.ora-code.com

Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
create pfile from spfile in RAC

create pfile from spfile in RAC

2006-03-20       - By LiShan Cheng
Reply:     1     2     3     4  

Hi

You dont need to start the instance to create pfile/spfile from
spfile/pfile. I have however found the culprit. In the beginning I thought
RAC was using a spfile but it turns out it was using a pfile which contains
a single line pointing to a spfile located in the raw device and that is why
it was saying ORA-27037 (See ORA-27037.ora-code.com): unable to obtain file status

please note how creating pfile and spfile works when instance is not
started:

Single Instance:

[oracle@(protected) oracle]$ sqlplus "/ as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 20 14:14:28 2006

Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to an idle instance.

SQL> create spfile from pfile;

File created.

SQL> create pfile = '/tmp/init.ora' from spfile;

File created.

RAC:

[oracle@(protected) oracle]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 20 14:17:23 2006

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> create spfile='/tmp/spfile.ora' from pfile;

File created.

SQL> create pfile='/tmp/pfile.ora' from spfile;
create pfile='/tmp/pfile.ora' from spfile
*
ERROR at line 1:
ORA-27037 (See ORA-27037.ora-code.com): unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3



Cheers




On 3/20/06, sol beach <sol.beach@(protected)> wrote:
>
>  >connected to an idle instance
>
> What part of the above do you NOT understand?
> The database is DOWN.
> You must have the database up & online to create a pfile.
>
>  oerr ora 4030
> 04030, 00000, "out of process memory when trying to allocate %s bytes
> (%s,%s)"
> // *Cause:  Operating system process private memory has been exhausted
> // *Action:
>
> What did you change prior to shutdown?
>
>
>
>
>  On 3/19/06, LiShan Cheng <exriscer@(protected)> wrote:
>
> >  Hi
> >
> > I have modified some SGA related parameters in a RAC installation, two
> > nodes and modified in both through spfile located in a raw device (ASM). The
> > problem is after restarting the database both instance failed to start
> > because it caused ORA-04030 (See ORA-04030.ora-code.com).
> >
> > I have tried to create pfile using pfile by performing following
> > procedure:
> >
> >
> > connect / as sysdba
> > connected to an idle instance
> >
> > create pfile from spfile;
> >
> > Error: Not logon
> >
> > This same operation works in single instance database so I guess this is
> > expected behaviour in RAC?
> >
> >
> > TIA
> >
> >
> >
>
>
>

<div>Hi</div>
<div>&nbsp;</div>
<div>You dont need to start the instance to create pfile/spfile from spfile
/pfile. I have however found the culprit. In the beginning I thought RAC was
using a spfile but it turns out it was using a pfile which contains a single
line pointing to a spfile located in the raw device and that is why it was
saying ORA-27037 (See ORA-27037.ora-code.com): unable to obtain file status
</div>
<div>&nbsp;</div>
<div>please note how creating pfile and spfile works when instance is not
started:</div>
<div>&nbsp;</div>
<div>Single Instance:</div>
<p>[oracle@(protected) oracle]$ sqlplus &quot;/ as sysdba&quot;</p>
<p>SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 20 14:14:28 2006</p>
<p>Copyright (c) 1982, 2005, Oracle.&nbsp; All rights reserved.<br>Connected to
an idle instance.</p>
<p>SQL&gt; create spfile from pfile;</p>
<p>File created.</p>
<p>SQL&gt; create pfile = '/tmp/init.ora' from spfile;</p>
<p>File created.</p>
<div><br>RAC:</div>
<div>
<p>[oracle@(protected) oracle]$ sqlplus / as sysdba</p>
<p>SQL*Plus: Release 10.2.0.1.0 - Production on Mon Mar 20 14:17:23 2006</p>
<p>Copyright (c) 1982, 2005, Oracle.&nbsp; All rights reserved.</p>
<p>Connected to an idle instance.</p>
<p>SQL&gt; create spfile='/tmp/spfile.ora' from pfile;</p>
<p>File created.</p>
<p>SQL&gt; create pfile='/tmp/pfile.ora' from spfile;<br>create pfile='/tmp
/pfile.ora' from spfile<br>*<br>ERROR at line 1:<br>ORA-27037 (See ORA-27037.ora-code.com): unable to obtain
file status<br>Linux Error: 2: No such file or directory<br>Additional
information: 3
</p>
<p>&nbsp;</p>
<p>Cheers</p>
<p>&nbsp;</p>
<p>&nbsp;</p></div>
<div><span class="gmail_quote">On 3/20/06, <b class="gmail_sendername">sol
beach</b> &lt;<a href="mailto:sol.beach@(protected)">sol.beach@(protected)</a>&gt;
wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div style="DIRECTION: ltr">
<div></div>
<div style="DIRECTION: ltr"><span class="q">&gt;connected to an idle instance
<br><br></span></div>
<div style="DIRECTION: ltr">What part of the above do you NOT understand?<br
>The database is DOWN.<br>You must have the database up &amp; online to create a
pfile.<br><br>&nbsp;oerr ora 4030<br>04030, 00000, &quot;out of process memory
when trying to allocate %s bytes (%s,%s)&quot;
<br>// *Cause:&nbsp; Operating system process private memory has been exhausted
<br>// *Action: <br><br>What did you change prior to shutdown?<br><br>&nbsp;<
/div><br><br>
<div></div>
<div style="DIRECTION: ltr"><span class="q"><span class="gmail_quote">On 3/19
/06, <b class="gmail_sendername">LiShan Cheng</b> &lt;<a onclick="return top.js
.OpenExtLink(window,event,this)" href="mailto:exriscer@(protected)" target="_blank
">
exriscer@(protected)</a>&gt; wrote:</span></span></div>
<div style="DIRECTION: ltr"><span class="e" id="q_10a1548751334677_4">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0
.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div style="DIRECTION: ltr">
<div>Hi</div>
<div>&nbsp;</div>
<div>I have modified some&nbsp;SGA related&nbsp;parameters in a RAC
installation, two nodes and modified in both through spfile located in a raw
device (ASM). The problem is after restarting the database both instance failed
to start because it caused ORA-04030 (See ORA-04030.ora-code.com).
</div>
<div>&nbsp;</div>
<div>I have tried to create pfile using pfile by performing following procedure
:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>connect / as sysdba</div>
<div>connected to an idle instance</div>
<div>&nbsp;</div>
<div>create pfile from spfile;</div>
<div>&nbsp;</div>
<div>Error: Not logon</div>
<div>&nbsp;</div>
<div>This same operation works in single instance database so I guess this is
expected behaviour in RAC?</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>TIA</div>
<div>&nbsp;</div>
<div>&nbsp;</div></div></blockquote></span></div>
<div style="DIRECTION: ltr"></div><br>&nbsp;</div></blockquote></div><br>