Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re[2]: Shooting yourself in the spfile
Jonathan,
You do not need any connection, nor any instance. Just SQL*Plus.
Alex.
-----Original Message-----
From: Jonathan Gennick [mailto:jonathan_at_gennick.com]
Sent: Wednesday, February 18, 2004 5:21 PM
To: Alexander.Feinstein_at_mitchell1.com
Subject: Re[2]: Shooting yourself in the spfile
Wednesday, February 18, 2004, 8:00:29 PM, Alexander.Feinstein_at_mitchell1.com (Alexander.Feinstein_at_mitchell1.com) wrote: AFmc> With spfile one can use followin steps: AFmc> 1. sqlplus /nolog
2. SQL>> create pfile='/tmp/pfile' from spfile='?/dbs/spfileSID.ora' 3. SQL>> host vi /tmp/pfile 4. SQL>> create spfile='?/dbs/spfileSID.ora' from pfile='/tmp/pfile' 5. SQL>> host rm /tmp/pfile 6. SQL>> startup
In my case, I couldn't start my instance at all, so I wouldn't have been able to issue the create pfile command in step 2.
Best regards,
Jonathan Gennick --- Brighten the corner where you are
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Wed Feb 18 2004 - 19:37:03 CST
-----------------------------------------------------------------
![]() |
![]() |