Unable to create SPFILE. 2005-10-12 - By Chirag DBA
Thanx to all, this is done now. startup/shutdown couple of times with create pfile, create spfile. Regards -Chirag
On 10/12/05, O'Donnell, Kevin <Kevin.ODonnell@(protected)> wrote: > > Try this > > Startup > > Show parameter spfile > > Create pfile='file name' from spfile='file name' > > Shutdown immediate > > Edit your pfile > > Startup pfile='file name' > > Show parameter audit > > Create spfile='file name from show pram' from pfile='file name that you > used for startup' > > Shutdown immediate > > Startup > > Show parameter audit > > That should do it > > -- ---- ---- ---- ---- ---- -- > > *From:* oracle-l-bounce@(protected) [mailto: > oracle-l-bounce@(protected)] *On Behalf Of *Chirag DBA > *Sent:* Wednesday, October 12, 2005 10:19 AM > *To:* Marquez, Chris > *Cc:* Oracle-L Freelists > *Subject:* Re: Unable to create SPFILE. > > I have started with pfile, by changing audit_trail=DB. > > startup pfile='file name'. > > show parameter audit. > > audit_trail=DB > > create spfile='location' from pfile; > > File created..!! > > but when see the spfile, *.audit_trail='OS'; > > I was thinking that while you do the create spfile, it is creating a > binary copy of pfile matching exactly with pfile. > > but this is something unexpected I am getting. > > regards - chirag > > On 10/12/05, *Marquez, Chris* <cmarquez@(protected)> wrote: > > Sorry meant to say; > > SQL> startup pfile ='/[your changed pfile]'; > SQL> show parameter audit > SQL> create spfile='.....' from pfile='....'; > SQL> shutdown; > SQL> startup spfile ='/[your new spfile]'; > SQL> show parameter audit > > If this is a bug or feature this will show it. > > > Chris Marquez > Oracle DBA > > > > -- --Original Message-- -- > From: oracle-l-bounce@(protected) on behalf of Marquez, Chris > Sent: Wed 10/12/2005 10:06 AM > To: chiragdba@(protected) ; Oracle-L Freelists > Subject: RE: Unable to create SPFILE. > > > You sure you are using the right (default) pfile on startup? > > do this; > SQL> startup; [as you normaly would] > SQL> show parameter audit > > ??? > > Something got to be a miss on your end...or this would be a scary > (documented) bug? > > Chris Marquez > Oracle DBA > > -- --Original Message-- -- > From: oracle-l-bounce@(protected) on behalf of Chirag DBA > Sent: Wed 10/12/2005 9:45 AM > To: Oracle-L Freelists > Subject: Unable to create SPFILE. > > I have started my Database with pfile and now want to create spfile. > I am using create spfile='location' from pfile; > When I see the audit parameters in pfile, it is AUDIT_TRAIL=DB, > but in SPFILE it is showing as AUDIT_TRAIL=OS, set previously but changed > now. > same with few other parameters. > I changed my init file, bounce DB with pfile and now creating spfile. > This is 9i with Solaris. > regards - chirag > > >
<div>Thanx to all,</div> <div> </div> <div>this is done now.</div> <div> </div> <div>startup/shutdown couple of times with create pfile, create spfile.</div> <div> </div> <div>Regards -Chirag <br><br> </div> <div><span class="gmail_quote">On 10/12/05, <b class="gmail_sendername">O 'Donnell, Kevin</b> <<a href="mailto:Kevin.ODonnell@(protected)">Kevin .ODonnell@(protected)</a>> wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0 .8ex; BORDER-LEFT: #ccc 1px solid"> <div> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Try this </span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial"> </span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Startup</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Show parameter spfile</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Create pfile='file name' from spfile='file name'< /span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Shutdown immediate</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Edit your pfile</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Startup pfile='file name'</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Show parameter audit</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Create spfile='file name from show pram' from pfile= 'file name that you used for startup'</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Shutdown immediate</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Startup</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">Show parameter audit</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial"> </span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial">That should do it</span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial"> </span></font></p> <p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR : navy; FONT-FAMILY: Arial"> </span></font></p> <div> <div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> <hr align="center" width="100%" size="2"> </span></font></div> <p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"> <span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js .OpenExtLink(window,event,this)" href="mailto:oracle-l-bounce@(protected)" target="_blank"> oracle-l-bounce@(protected)</a> [mailto:<a onclick="return top.js.OpenExtLink (window,event,this)" href="mailto:oracle-l-bounce@(protected)" target="_blank" >oracle-l-bounce@(protected)</a>] <b><span style="FONT-WEIGHT: bold"> On Behalf Of </span></b>Chirag DBA<br><b><span style="FONT-WEIGHT: bold">Sent:< /span></b> Wednesday, October 12, 2005 10:19 AM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> Marquez, Chris<br><b><span style="FONT-WEIGHT: bold"> Cc:</span></b> Oracle-L Freelists<br><b><span style="FONT-WEIGHT: bold">Subject :</span></b> Re: Unable to create SPFILE.</span></font></p></div> <div><span class="e" id="q_106e538e24321f58_1"> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I have started with pfile, by changing audit_trail=DB.</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">startup pfile='file name'.</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">show parameter audit.</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">audit _trail=DB</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">create spfile='location' from pfile;</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">File created..!!</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">but when see the spfile, *.audit_trail='OS';</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I was thinking that while you do the create spfile, it is creating a binary copy of pfile matching exactly with pfile.</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">but this is something unexpected I am getting.</span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></div> <div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">regards - chirag <br><br> </span></font></p></div> <div> <p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 10/12/05, <b><span style="FONT-WEIGHT: bold">Marquez, Chris</span></b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cmarquez @(protected)" target="_blank"> cmarquez@(protected)</a>> wrote:</span></font></span> </p> <p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="2"><span style="FONT-SIZE: 10pt">Sorry meant to say;<br><br>SQL> startup pfile ='/ [your changed pfile]';<br>SQL> show parameter audit<br>SQL> create spfile= '.....' from pfile='....'; <br>SQL> shutdown;<br>SQL> startup spfile ='/[your new spfile]'; <br>SQL > show parameter audit<br><br>If this is a bug or feature this will show it. <br><br><br><span>Chris Marquez</span><br><span>Oracle DBA</span> <br><br><br><br><span>-- --Original Message-- --</span><br><span>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:oracle-l -bounce@(protected)" target="_blank">oracle-l-bounce@(protected)</a> on behalf of Marquez, Chris</span><br><span>Sent: Wed 10/12/2005 10:06 AM< /span><br><span>To: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:chiragdba@(protected)" target="_blank">chiragdba@(protected) </a>; Oracle-L Freelists</span><br><span>Subject: RE: Unable to create SPFILE.< /span><br><br><br><span>You sure you are using the right (default) pfile on startup?</span><br><br><span>do this;</span><br><span>SQL> startup; [as you normaly would] </span><br><span>SQL> show parameter audit </span><br><br><span>???</span> <br><br><span>Something got to be a miss on your end...or this would be a scary (documented) bug?</span><br><br><span>Chris Marquez</span><br><span> Oracle DBA</span><br><br><span>-- --Original Message-- --</span><br><span>From: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:oracle-l -bounce@(protected)" target="_blank">oracle-l-bounce@(protected) </a> on behalf of Chirag DBA</span><br><span>Sent: Wed 10/12/2005 9:45 AM</span ><br><span>To: Oracle-L Freelists</span><br><span>Subject: Unable to create SPFILE.</span><br><br><span>I have started my Database with pfile and now want to create spfile. </span><br><span> I am using create spfile='location' from pfile;</span> <br><span> When I see the audit parameters in pfile, it is AUDIT_TRAIL=DB,< /span><br><span>but in SPFILE it is showing as AUDIT_TRAIL=OS, set previously but changed </span><br><span>now.</span><br><span>same with few other parameters. </span> <br><span>I changed my init file, bounce DB with pfile and now creating spfile.< /span><br><span> This is 9i with Solaris.</span><br><span> regards - chirag </span><br><br><br></span></font></p></div> <p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> < /span></font></p></span></div></div></blockquote></div><br>
|
|