Is there a way to recover the spfile if I remove the spfile?

Hi,
Is there a way to recover the spfile if I remove the spfile?
I did a rman full db backup.
thanks.

You can user RMAN to recover your spfile, see Note 372996.1 Using RMAN to Restore and Recover a Database When the Repository and Spfile/Init.ora Files Are Also Lost, RMAN is able to startup the instance even when there is no spfile/pfile, then you can recover your spfile from your last backup.
RMAN> startup nomount;
connected to target database (not started)
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/u01/app/oracle/product/10.2.0/db_1/dbs/initorcl.ora'
starting Oracle instance without parameter file for retrival of spfile
Oracle instance started
Total System Global Area     159383552 bytes
Fixed Size                     1266344 bytes
Variable Size                 54529368 bytes
Database Buffers             100663296 bytes
Redo Buffers                   2924544 bytes
RMAN> set dbid=1176145568;
executing command: SET DBID
RMAN> restore spfile from autobackup recovery area '/u01/app/oracle/flash_recovery_area';
Starting restore at 05/11/2008 10:49:53
using channel ORA_DISK_1
recovery area destination: /u01/app/oracle/flash_recovery_area
database name (or database unique name) used for search: ORCL
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /u01/app/oracle/flash_recovery_area/ORCL/autobackup/2008_11_02/o1_mf_s_669748005_4jw93oyk_.bkp
channel ORA_DISK_1: SPFILE restore from autobackup complete
Finished restore at 05/11/2008 10:49:57The non-default parameters you set in your spfile are also listed in the alert.log so you can copy these values and create a pfile, then an spfile.
Starting up ORACLE RDBMS Version: 10.2.0.4.0.
System parameters with non-default values:
  processes                = 150
  nls_territory            = AMERICA
  sga_target               = 205520896
  control_files            = /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/dbca/orcl/tempControl.ctl
  db_block_size            = 8192
  compatible               = 10.2.0.3.0
  log_archive_format       = %t_%s_%r.dbf
  db_file_multiblock_read_count= 16
  db_create_file_dest      = /u02/oradata
  db_recovery_file_dest    = /u01/app/oracle/flash_recovery_area
  db_recovery_file_dest_size= 4294967296
  undo_management          = AUTO
  undo_tablespace          = UNDOTBS1
  remote_login_passwordfile= EXCLUSIVE
  db_domain                = oracle.com
  dispatchers              = (PROTOCOL=TCP) (SERVICE=orclXDB)
  job_queue_processes      = 10
  background_dump_dest     = /u01/app/oracle/admin/orcl/bdump
  user_dump_dest           = /u01/app/oracle/admin/orcl/udump
  core_dump_dest           = /u01/app/oracle/admin/orcl/cdump
  audit_file_dest          = /u01/app/oracle/admin/orcl/adump
  db_name                  = seeddata
  db_unique_name           = orcl
  open_cursors             = 300
  pga_aggregate_target     = 67108864
PMON started with pid=2, OS id=12906HTH
Enrique
PS. If your problem was solved, consider marking the question as answered

Similar Messages

  • Is there a way to recover pictures that were deleted on the i Pad 2 ??

    Is there a way to recover pictures that were deleted on the i Pad 2 ?

    Only if you have a copy of them e.g. if they were on your iPad when you last backed then you can try restoring to that backup. But unlike on a computer there is no trashcan or recycle bin on an iPad, once they are deleted from an iPad then they are gone from it.

  • Is there a way to recover a deleted calendar without deleting the rest?

    Is there a way to recover a deleted calendar without deleting the rest?

    You probably couldn't retrieve the deleted texts even if you had the phone, at least not without some expensive forensic software.
    If there is a recent back up of his phone on a computer that you legaly have access to, you might have some luck with something like BackUpExtractor.
    Note: Should you wish to use any of this information in legal proceedings, consult your attorney before doing anything.

  • Is there any way to recover lost iTune I purchased from the itunes store?

    Is there any way to recover my iTunes Library without re-purchasing all the songs-library was lost in PC problems.

    Go to the iTunes Store, log into your account, and click the Purchases link under the Quick Links. From there you should be able to re-download some or all of your purchased content. Note that not all content has been licensed for re-downloading in all countries at this time; you can see what content you can download here:
    http://support.apple.com/kb/HT5085
    You can also re-download content using an iOS device.
    For more information, see:
    http://support.apple.com/kb/ht2519
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Is there a way to recover pictures that were deleted or the messages in which the pictures were sent?

    I did not back up the iPod and then i restored it thinking my pictures should stay in the icloud but after the restore was done i realized that those pictures had been deleted but many other pictures had been kept. Also those pictures were not taken with my iPod they were taken with my bestfriends iPod but because of a situation she had to delete them so she sent them to me through imessage so I am wondering if there is a way to recover them.

    If they are not there after restoring from backup then your only hope is:
    http://www.reviewstown.com/data-recovery-for-ios.html
    http://www.video-converter-mac.org/ipad-recovery/
    A data recovery company

  • Is there any way to recover your contacts and notes in the event you inadvertently delete them?

    I inadvertently deleted my contacts and notes from my iphone 3G in an attempt to synch to Microsoft Outlook Calendar and E-mail accounts.

    Have a look at this...
    http://support.apple.com/kb/ht1414
    Look at the bottom for instructions on restoring from a previous back up

  • Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of clicking the button save I clicked the delete button at the end. Is there any way to recover it?

    Hi, I would like to know how can I recover a document from pages that I didn't save anytime and instead of saving the doc I clicked the delete button. Is there any way to recover it?

    Regardless of application, the first step that I take is to save and name the current document — even if it has no content yet. With Pages, this good habit enables autosave. As you add content, your document revision history is restorable via the File Revert To menu. The delete key has the same document foreboding as only teaching a pet raven to speak "Nevermore."

  • Is there a way to recover or remove a restriction password without retoring  a iphone 4 without restarting the phone as a new phone

    is ther a way to recover a restriction password without restarting the phone as a new phone

    No. A simple backup and restore just restores the restriction password from the backup you just made, unless you revert to a backup before the password was set.  The other option is recovery which deletes all data.

  • HT4236 Is there a way to recover photos lost when phone is accidently restored?

    I recently restored my Iphone by mistake. Is there a way to recover my lost photos?

    If the photos were not imported by your computer and your iPhone's backup was not updated to include the photos prior to restoring the iPhone, the photos are gone unless you had Photo Stream enabled with your iCloud account settings on the iPhone and all photos in the Camera Roll were copied to your Photo Stream prior to the restore.
    iTunes does not handle the import of photos/videos on the Camera Roll.
    http://support.apple.com/kb/ht4083

  • Is there any way to recover ePrinter account email by using a ePrinter e-mail address?

    My problem is as follows, I registered my printer onto ePrintCenter and set custom email address to my printer. But, I logged out from the ePrintCenter and sine that time I couldn't login into the ePrintCenter any more as the system says that the e-mail address I set for ePrinterCenter is not used in the system.
    So, I have my ePrinter e-mail, is there any way to recover ePrintCenter email address by using the printer email?
    Thank you, Agrifert.

    Hi Agrifert,
    Unfortunately its not possible to retrieve the email address you used to create your ePrintCenter account from the printer's ePrint email address. Are you still unable to log in to your ePrintCenter account? I'll wait to hear back from you before suggesting any further actions.
    Best.
    If my reply helped you, feel free to click on the Kudos button (hover over the "thumbs up").
    If my reply solved your problem please click on the Accepted Solution button so other Forum users may benefit from viewing the post.
    I am an HP employee.

  • Is there any way to recover deleted videos from iPhone 5?

    I deleted a video off my iPhone 5. Is there any way to recover this? I have read the Wondershare is a file recovery program that my work, but its $100 USD and I was wondering if there was any other way?

    No.
    There is no Apple supported way to recover video that you delete if you have not made a backup of it.

  • Is there any way to recover a voice memo that was not backed up but accidentally deleted?

    Today I accidentally deleted a very important voice memo in the blink of an eye. As I forgot to back it up I know this is probably not possible and I understand that. Is there any way to recover this?

    I had exactly the same problem, I was trying with some software of wondershare but wasn't possible, so, it seems like we lost that important info!.

  • HT201269 Just updated my iPhone to latest IOS but unable to match security code entered during update.  Phone now locked.  Is there some way to recover password?Is there

    Just updated my iPhone 4 to latest IOS but unable to match password security nbr. Phonoe now locked.
    Is there a way to recover password?

    Hi, thanks for the suggestion. I have tried as you suggested, and when opening the "purchased" apps some have the icloud logo next to them, but I only have "OPEN" against "Find My iPhone". When opening it up, it goes through the same routine; needs to be updated before proceeding, and wouldn't update because I don't have IOS8.
    Anything else I could try, or am I doomed!
    All of your help is much appreciated, thanks

  • I  have an iphone 4 with IOS 7.  Is there a way to recover imessages I inadvertently deleted?

    I have an iphone 4 with IOS 7.  Is there a way to recover imessages I inadvertently erased?The new OS didn't let me delete individual messages, so I ended up deleting all the messages from one person.

    Only by restoring from a backup that contains the deleted messages.

  • Had to refresh Windows 8, Firefox was removed and I lost my bookmarks, browser history, and cookies. Is there any way to recover?

    Due to recurring problems with Windows 8, I had to "refresh" my laptop. As a result, my computer was reset to its factory settings, and Mozilla Firefox was stripped out. I have lost my bookmarks, browser history, and cookies.
    Is this lost information still present somewhere on my computer's hard drive? (I did get a list of removed apps afterwards.) Is there any way to recover and restore my bookmarks, at the very least?
    I have yet to reinstall Firefox, because I do not want to overwrite anything that might still be present.

    Hold on before installing. Firefox isn't going to look in the C:\Windows.old folder.
    To show hidden files, see: http://windows.microsoft.com/en-us/windows/show-hidden-files
    Then look for:
    C:\Windows.old\Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles
    Can you find a folder there named something gibberish.default?

Maybe you are looking for