How to open database when datafile of nonsystem tablespace is missing?

Hi,
I am runnig 10gR2 on Windows XP SP 2
Here my situation:
My db is running in archive mode. I have taken backup of my tablespace 'ocp' by using RMAN with Database Control.
Now I shutdown the db and removed datafile which belongs to the tablespace.
My problem is now that I am able to start db in mount only.
I can not open it and getting folowing error:
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: 'C:\ORACLE\ORADATA\ORCL\OCP.DBF'
My question is:
How to drop the tablespase and run backup?
Thanks

Hi, you must mount the database and put the datafiles in offline mode
ALTER DATABASE DATAFILE '<full_path_file_name>' OFFLINE DROP
After you must open the database.
Luck.
Have a good day.
Regards.

Similar Messages

  • How do i sing out from hotmail/ how to open camera when i chat with messenger

    how to i sing out from hotmail????????... it says coudn't sign out because web brower cookie........
    how to open camera when i chat using messenger?????????

    Thanks for your help - I am frustrated that I can't figure this out. I am not getting any error messages but here is what happes. I plug in the IPAD and it shows up in the left hand colum in itunes but it does not sync to ITUNES. When I click on the IPAD, it shows me the tabs but that nothing is actually on the IPAD hard drive. When I click on transfer files manually, the "apply" button does not work. When I turn off the transfer files, the apply button still does not work. So next, I tried the music button, and it does ask whether to "apply" but when I click on apply, nothing happens. Under the music tab, it only shows music that I purchased from ITUNES but not all the music that I purchased on CD and transfered to ITUNES.

  • How do we know when datafile was added to a tablespace

    HI experts,
    I wanted to know how do we know when datafile was added to a tablespace.
    Actually i need to monitor how much space was used for a month for a tablespace
    thanks in advance

    Which could be turned into an external table and queried at will:
    Demo of the alert log as a table at:
    http://www.psoug.org/reference/externaltab.html
    Just a quick note with respect to background_dump_dest for anyone starting into 11g. It is deprecated and BDUMP and UDUMP no longer exist: Read the docs.

  • No backup loss of non system datafile how to open database

    Hi
    i lost my datafile with out backup how to open the database or how to backup database

    Hi,
    To prevent accidental lost of datafile make sure you backup your database by having suitable backup strategy.
    To open the database you can follow the step described by chinar sir. For backup follow one strategy as a good practise.Check my below link for backup strategy:
    http://rafioracledba.blogspot.com/2010/12/scheduling-rman-jobs-in-windows-server.html
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com

  • How restart a database when missing indexdata files

    My database is in archivelog mode.
    We need to restore it but we don't have the BACKUP containing index datafile, only system and data datafiles.
    When we open the database, ther is the error ora 01113 AND ORA 01110 and we need to recovery the database.
    Is it possible to restart the database ? If yes how can i do ?

    From experience in the described situation you can drop the non-backed up data files from the database using ALTER DATABASE DROP DATAFILE and then run forward recovery on the remainder of the database. Next using the information in the dictionary you generate the index (incl PK, UK) source, drop the index tablespace(s) including contents, recreate them, and re-create the indexes.
    HTH -- Mark D Powell --

  • How to recover database when all redo logs are losted

    pls help me in recovering the database when all the redo logs are losted

    In both cases he has to open the database in RESETLOGS option. So try:
    recover database until cancel;
    Then cancel the recovery, and
    alter database open resetlogs;
    If you want to check where your database is at then mount your database and issue:
    select group#, sequence#,first_change# from v$log;
    This will tell you the sequence and SCN of all the online log files then compare it with what it prompted when you issued recovery command.
    Daljit Singh

  • How to open object,  when I use SMW0

    Hi, Expert:
    when I use to tcode SMW0. I can see some template object Z_CUST_CREATION_NOTIFICATION_ENGLISH. how to open this object.
    Thanks,

    One way is .. select that object and push the Export (Shift+F7)... and save it to local disk and view it.
    Regards,
    Naimesh Patel

  • Non Archivelog Database- Undo Data files Deleted-How to Open Database ??

    I am doing some test in Lab server.
    Unforunately Undo Tablespace datafiles are deleted from the server.
    Database is running in No archivelog Mode and I don't have any any type of Backup.
    Last one week, i was doing only read only work with database. So Not really concern how much i will loose.
    The biggest worry is How can I open the database with existing datafiles ????
    Regards ,
    Sumit
    Edited by: Sumit2 on Aug 27, 2009 12:57 PM

    If any active transaction or data needed by any of the session for rollback then it will be difficult to recover those transaction and your database data will be in inconsistent state. As you were doing only read only activity you can safely recover the database.
    just comment undo tablespace and undomanagement parameters init.ora file and restart the database.
    Once database is up create new undo tablespace and assigning it as default undo tablesapce tablespace.

  • Problems with DUPLICATE DATABASE when datafile was added after full backup

    Hi,
    I'm facing a problem when performing database duplication with the RMAN duplicate database command on a 10g database. If I preform the duplication from a full backup that is missing a datafile which was added to the database after the full backup, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43The redo log which was CURRENTat the time of the datafile's 43 creation is also available in the backups. It seems like RMAN can't use the information from the archived redo logs to reconstruct the contents of datafile 43. I suppose that because the failure is reported already in the RESTORE and not in the RECOVER phase, so the archived redo logs aren't even accessed yet. I get the same message even if I make a separate backup of datafile 43 (so a backup that is not in the same backupset as the backup of all other datafiles).
    From the script the duplicate command produces, I guess that RMAN reads the contents of the source database's controlfile and tries to get a backup which contains all the datafiles to restore them on the auxiliary database - if such a backup is not found, it fails.
    Of course if I try to perform a restore/recover of the source database it works without problems:
    RMAN> restore database;
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....The datafile 43 is recreated and then redo is applied over.
    So, does anyone know if duplicate database can't use archived redo logs to recreate the contents of a datafile as a normal restore/recover does? If it's so, then it means it's necessary to perform a full database backup before every run of duplicate database if a datafile was added after such a backup.
    Thanks in advance for any answers.
    Regards,
    Jure

    Hi Jure,
    I have hit exactly the same problem during duplication.
    Because we backup the archive logs every 6 hours with rman I added an extra run block to this script.
    run
    backup incremental level 0
    format 'bk_%d_%s_%p_%t'
    filesperset 4
    database not backed up;
    (I also than hit a bug in the catalog which was solved by patching up the catalog dbs from 11.1.0.6 to 11.1.0.7.)
    This will narrow down the datafile not being part of any rman backup to 6 hours while skipping datafiles for which a backup already exists.
    Regards,
    Tycho

  • How to open List when Page loads in SharePoint Hosted App?

    I  want to create an app same like InstantPracticeManager by InstantQuick.
    Now I want to know that in a SharePoint Hosted App How can I show the Whole List in a page. 
    Here I have added one image:
    Here there is one list and there are 4 views of that list.
    Now the App will be like when I load the page It will show like the image above. Now how can we show the list like this in sharepoint hosted app?
    I want the same scenario which is shown in the following blogs:
    http://sp2013.blogspot.in/2012/08/use-list-view-in-sharepoint-2013-apps.html
    and
    http://www.sharepointnutsandbolts.com/2013/08/working-with-web-parts-within.html
    where they add a list to an app
    Can any one suggest me the idea? I am bit confused.
    thanks in advance.

    Hi,
    According to your post, my understanding is that you want to show the different list view in a page in SharePoint Hosted App.
    We can use jQuery and cross-domain library to achieve it.
    The following articles for your reference:
    Adding a Tabbed View to A Web Part Page Using jQueryUI
    http://sympmarc.com/2011/11/09/adding-a-tabbed-view-to-a-web-part-page-using-jqueryui/
    How to: Access SharePoint 2013 data from apps using the cross-domain library
    http://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx
    SharePoint 2013: Get list items by using the cross-domain library (JSOM)
    http://code.msdn.microsoft.com/office/SharePoint-2013-Get-items-d48150ae/view/SourceCode#content
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to open iPhoto when it doesn't want to open

    After downloading 'upgrader' for iPhoto it doesn't open. How do you force open iPhoto?

    you can not
    to get help you have to provide context and details
    What do you have (version of oo and of the O)? Why won't it open? What exact error messages do you get? What has changed since it worked?
    One guess is that you have upgraded form a pre iphoto '09 version and have not yet run the iphoto library upgrader - it is in the utilities folder in your applications folder - double click on it to run and then launch iPhoto
    LN

  • How to recover database SYSTEM datafile get corrupt ?

    Database is in ARCHIVELOG mode, and the datafile belonging to SYSTEM tablespace gets corrupted. Up to what point can I recover the database ?
    A. Until last commit.
    B. Until the time you perform recovery.
    C. Until the time the datafile got corrupted.
    D. You cannot recover the SYSTEM tablespace and you must be re-create the database.
    and 1 more doubt :
    If redologfiles are not multiplexed and redolog blocks get corrupt in group 2, and archiving stops. All redolog files are filled and database activity is halted.
    DBWR has written everything to disk. What command can be used to proceed further ?
    A. recover logfile block group 2;
    B. alter database drop logfile group 2;
    C. alter database clear logfile group 2;
    D. alter database recover logfile group 2;
    E. alter database clear unarchived lofile group 2;
    Edited by: user642367 on Sep 18, 2008 8:45 PM

    1. A. Since the DB is in archivelog mode, so you can always restore and recover the whole DB including system tablespace datafile till last SCN generated provided the redo record is available in archive/online logfiles.
    2. E. Since only redolog is corrupted so archiver won't proceed and hence a db hang is obvious, So, in order to proceed further you need to clear online (un archived log file) and then db will work as usual. Care should be taken that you must take a full backkup of DB(cold backup wherever feasible) as soon as possible after issuing this command. As now you don't have redo info in archivelog files to recover the db in case of a crash.
    Please go through Oracle 10g DB Administrators guide (available on OTN) for more details.
    Thanks

  • How to autostart database when OS reboot?

    Hi,
    Each time when my OS reboot, login to the SQL*Plus showing connect to idle instance, I have to restart database manually by enter startup command.
    The ORA_SID_AUTOSTART value already set as TRUE in the regedit. What else do I miss?
    Thanks.

    Since this is highly operating system dependent, specifying the operating system would be helpful.
    Assuming "regedit" implies that you're on Windows, are the various Oracle services set to start automatically (i.e. OracleService<<ServiceName>> and the like)?
    Justin

  • How to open settings when tap to click is disabled

    How can i go to settings menu when tap to click is disabled

    Hello J3FF1,
    I assume you are talking about the touchpad on a laptop.
    It helps to give as much info as possible when asking for help.
    What is the model number of your system and the OS version?
    You can navigate to the mouse/touchpad settings via the control panel. Find the Tapping tab  or look for the Synaptics tab and locate Tapping from there to check or uncheck the box (depending on if your laptop is Synaptics or Alms based).
    If for some reason its not showing up in the Settings window, you may need to install the touchpad driver for your system.
    I would need to know what system you have in order to find the right driver in that case.

  • How to open Excel when Safari downloads

    I am using Safari 7 in Mac OS X Mavericks
    I download many Excel and Word documents during the work day. Pdf's open automatically, but not Excel or Word.
    I have searched and found a few posts that say adding com.apple.DownloadAssessment.plist to Library \ Preferences.
    The contents of this file are:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>LSRiskCategorySafe</key>
              <dict>
                        <key>LSRiskCategoryExtensions</key>
                        <array>
                                  <string>doc</string>
                                  <string>docx</string>
                                  <string>xls</string>
                                  <string>xlsx</string>
                                  <string>ppt</string>
                                  <string>pptx</string>
                        </array>
              </dict>
    </dict>
    </plist>
    I have restarted Safari and it still won't auto-open the file.
    Thanks,
    Stephen

    If the user is using a web browser you can just provide a link to the
    file and let them download, open in their preferred editor, print or
    whatever else they want to do.

Maybe you are looking for

  • Display-condition="first" doesn't work

    Hi, I'm trying to use the 'display-condition' attribute of the xdofo:inline-total element to get some boiler plate to appear on the first page only, and some other boiler-plate to appear on all subsequent pages (display-condition="first" and display-

  • HP C7200 All-in-One printer will not print through the Wifi network

    I have used the HP printing and scanning Doctor but none of the proposed solutions have solved the problem. The blue light for wirelwss 802.11g service is on and connected to the same Wifi address as my laptop is using now. My Dell laptop is running

  • Unable to see AVI files

    With OS X I cannot see AVI files with quick time 7 I had no problems with OS9 and quick time 6 in my old computer Please help MacBook Pro 2 GHz Intel Core Duo memory 1.5 GB

  • L&F for JFileChooser

    When I show an open file dialog, its L&F is set back to the windows default. The components inside of it still have the Java L&F but the dialog itself is still windows. I didn't find a JFileChooser.setDefaultLookAndFeelDecorated() method :-). Please

  • MacBook 2.1 Kernel Panic on startup

    Hi, Guys! I have a macbook that sometimes goes in Kernel panic at startup I need to power of the the mac pressing the power button for some seconds, after this it boot normally... this is the log of kernel panic: Interval Since Last Panic Report:  11