Undo Datafile deleted, How to startup database?

Hi
I was getting that message when startup database
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218292 bytes
Variable Size 83888396 bytes
Database Buffers 75497472 bytes
Redo Buffers 7168000 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
ORA-01110: data file 7: '/u01/app/oracle/oradata/impl2pk/undotbs02.dbf'
Later on got to know that a datafile was deleted.
Anybody help me how to start database now?
Thanks

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5669213349582Khurram

Similar Messages

  • 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.

  • How to get undo datafile number without opening the database ?

    I cannot open the database because the my undotbs01.dbf file is corrupted :
    SQL> connect sys/... as sysdba
    Connected to an idle instance.
    SQL> startup mount;
    ORACLE instance started.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Process ID: 6627
    Session ID: 170 Serial number: 5
    SQL>
    I tryed several solutions but I failed. So I want to use RMAN :
    set newname for datafile X to '/location/undotbs01.dbf';
    But how can I get X which is the file number for my undo tablespace ? I cannot call
    SELECT tablespace_name,file_id,file_name FROM dba_data_files;
    because my database cannot be opened.

    hi,
    hi have this problem and i cannot solve it, the customer has not backup data base
    can you help me ?
    thanks
    can you send me the note you are talking about ?
    thanks
    regards
    I cannot open the database because the my undotbs01.dbf file is corrupted :
    SQL> connect sys/... as sysdba
    Connected to an idle instance.
    SQL> startup mount;
    ORACLE instance started.
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL>

  • Undo Datafile Deletion(Drop)

    Hi
    I m working in oracle 11G in Lunix. I have created two datafiles for undo tablespace. Due to space crunch, i need to drop a lesser sized datafile from undo tablespace. Is there any way to drop it?
    Thanks

    As mentioned earlier, it can not be dropped once added, but there is a workaround which can be useful in your case..
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:515222144417

  • How to startup database after shutdown abort

    Hi.
    I had a havy load transaction, coudn't kill, so I run shutdown abort,
    now I can't open database, that is massage I get:
    "ORA-16038: log 3 sequence# 52 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 3 thread 1:
    '/u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_3_48fpv6q1_.log'
    ORA-00312: online log 3 thread 1:
    '/u01/app/oracle/flash_recovery_area/ORCL/onlinelog/o1_mf_3_48fpv95v_.log'
    What to do?

    Upss sorry:
    Check your flashrecovery area directory, it's full and your redo logs cannot be archived
    release the space..
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    Edited by: Kamran Agayev A. on Mar 5, 2009 8:27 PM

  • Please assist I have lost undo datafile

    Hi ,please advice me ,the filesystem that contantain undo datafile is lost while the database is was down for OS maintenance,now when I have to start database I found that undo datafile is lost and they can't even see it from OS side,how can I start the database.

    P. Forstmann wrote:
    If you didn't shutdown your database cleanly and you have no backup for undo tablespace then there is no documented way to restart your database instance and you should contact Oracle Support.Yes,that is right,if database was not cleanly shutdown(with abort option) then actually in next instance startup will need recover and its instance recovery(must be perform).But performing instance recovery need undo tablespace,actually this is lost ,so with simple operations you can not open database.Of course the best way is report Oracle Support.However you can implement hidden parameter to opening database(_offline_rollback_segments).I do not recommend this way,just can try this.Before doing this you have to full backup database.

  • Deleted undo datafile before dropping the tablespace.

    i had accidently deleted a undo datafile which was no more needed before dropping the tablespace.
    i started up the database in mount stage by making that datafile offline.
    now while dropping the database it is giving an error.
    SQL> drop tablespace UNDOTBS1 ;
    drop tablespace UNDOTBS1
    ERROR at line 1:
    ORA-01548: active rollback segment '_SYSSMU1$' found, terminate dropping tablespace
    Do someone have a resolution. I dnt need this tablespace anymore.

    http://www.my-whiteboard.com/oracle-dba/how-to-drop-and-recreate-oracle-undo-tablespace-and-its-data-files.html may be helpful to you.

  • HOW TO DELETE THE ROW FROM DATABASE

    hI,
    Iam pasting my code below.My problem isi retrieve rows from database and display them in jsp page in rows.For each row there is delete hyperlink.Now when i click that link i should only delete the row corresponding to that delete link temporarily but it should not delete the row from database now.It should only delete the row from database when i click the save button.How can i do this can any one give some code.
    thanks
    naveen
    [email protected]
    <%@ page language="java" import="Utils.*,java.sql.*,SQLCon.ConnectionPool,java.util.Vector,java.util.StringTokenizer" %>
    <html>
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>Item Details</title>
    <script>
    function submitPage()
    document.details.action = "itemdetails.jsp" ;
    document.details.submit();
    </script>
    </head>
    <body>
    <form name="details" action="itemdetails.jsp" method="post">
    <%
    ConnectionPool pool;
    Connection con = null;
    Statement st;
    ResultSet rs =null;
    %>
    <table border="0" cellpadding="0" cellspacing="0" width="328">
    <tr>
    <td width="323" colspan="4"><b>Reference No :</b> <input type="text" name="txt_refno" size="14">
    <input type="submit" value="search" name="search" ></td>
    </tr>
    <tr>
    <td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Item Code</b></font></td>
    <td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Item No</b></font></td>
    <td width="81" bgcolor="#000099"><font color="#FFFFFF"><b>Amount </b></font></td>
    <td width="80" bgcolor="#000099"> </td>
    </tr>
    <%
    pool= new ConnectionPool();
    Utils utils = new Utils();
    double total =0.00;
    String search =utils.returnString(request.getParameter("search"));
    if(search.equals("search"))
    try
    String ref_no =utils.returnString(request.getParameter("txt_refno"));
    String strSQL="select * from ref_table where refno='" + ref_no + "' ";
    con = pool.getConnection();
    st=con.createStatement();
    rs = st.executeQuery(strSQL);
    while(rs.next())
    String itemcode=rs.getString(2);
    int item_no=rs.getInt(3);
    double amount= rs.getDouble(4);
    total= total + amount;
    %>
    <tr>
    <td width="81"><input type=hidden name=hitem value=<%=itemcode%>><%=itemcode%></td>
    <td width="81"><input type=hidden name=hitemno value=<%=item_no%>><%=item_no%></td>
    <td width="81"><input type=hidden name=hamount value=<%=amount%>><%=amount%></td>
    <td width="80"><a href="delete</td>
    </tr>
    <%
    }catch(Exception e){}
    finally {
    if (con != null) pool.returnConnection(con);
    %>
    <tr>
    <td width="323" colspan="4">
    <p align="right"><b>Total:</b><input type="text" name="txt_total" size="10" value="<%=total%>"></td>
    </tr>
    <tr>
    <td width="323" colspan="4">                   
    <input type="button" value="save" name="save"></td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    You mean when you click on the hyperlink you want that row to disappear from the page, but not delete the row from the database until a commit/submit button is pressed?
    Personally, I think I'd prefer that you have a delete checkbox next to every row and NOT remove them from the display if I was a user. You give your users a chance to change their mind about their choice, and when they're done they can see exactly which rows will be deleted before they commit.
    You know your problem, of course, so you might have a good reason for designing it this way. But I'd prefer not removing them from the display. JMO - MOD

  • 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.

  • TS1702 how do i delete from the startup disk? I am trying to get Mountain Lion from the App store and it says that the purchase was not complete because i need 4.06 GB space to download OS x 10.8. and to remove items from my startup disk to increase space

    how do i delete from the startup disk? I am trying to get Mountain Lion from the App store and it says that the purchase was not complete because i need 4.06 GB space to download OS x 10.8. and to remove items from my startup disk to increase space. How?
    Thanks

    You can use iCloud with 10.7.5. You do not need to upgrade to Yosemite. You should provide a minimum of 15 GBs of free space or 10% of the hard drive's capacity, whichever is greater.
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • How to let database(10.2) auto startup when linux reboot?

    Hi all,
    I installed oracle database 10.2 in linux (x86),and created a database.
    I can startup the database manually. But database can not be started up automatic when linux starts up.
    How to let database startup automatic when OS starts up?
    the details shell scripts for auto startup would be appreciated!
    Thanks

    I don't know LINUX but I know Solaris. In Solaris, you have a startup and shutdown script in $ORACLE_HOME/bin. Setting the field to Y in oratab means you startup/shutdown the instance when executing the scripts. However, it does not mean the startup script will be
    executed upon reboot. In solaris, we place a script in /etc/rc3.d. Then the script will be executed upon reboot. Guess you have similar features in Linux.

  • How to delete a record in database it should be effect in XML

    In my application wheni insert a record in database it automatically inserted in XML now my problem is when i delete a record in database it should also effect in XML
    plz anybody anything knows about this reply me

    First up all, when u insert a record in database, how the data is inserted in xml file. Is there any application written for that?
    So when u delete the record from database,and want that same data should be deleted from the xml file, write a application to delete data from xml, and call that when u delete record from database.
    U can Write application using DocumentBuilderFactory.
    And using XQuery, you can delete data from xml.
    Hope this will help u.
    .....yogesh

  • How to startup the database from pfile?

    Hi guys.
    hope all of you fine.
    how to startup the database from pfile?
    Thanks.

    You can create pfile from spfile
    SQL>create pfile='/tmp/pfile.ora' from spfile;
    then
    SQL>startup pfile='/tmp/pfile.ora';
    You can edit pfile.ora file and startup your database with this newly changed database parameter using pfile
    And you can define you're using pfile or spfile by issuing:
    SQL> show parameter spfile;

  • How do i delete items from startup disk

    how do i delete items from startup disk

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • How do you undo a delete on the iPad on notes

    Help, have just selected all and pressed delete on notes, can you undo this and if so how?

    From more like this on the right side of the page.
    Demo      Pittsburgh, PA
    This solved my questionRe: How do i undo a delete from trash a lost note?
    Jan 16, 2012 1:41 PM (in response to Deeponion)
    There is no way to undelete a note. If you delete it, it is gone. The only possible way to retrieve it would be to restore the iPad from a backup that contains that note.
    Report post Like (1) Reply

Maybe you are looking for

  • How can I limit the number of simultaneous downloads on my Mac?

    Hi Everyone, I'm using an old Powerbook G4 runnnig 10.4.11. Whenever I'm downloading a large number of files simultaneously, my OS insists on downloading them all at the same time. When I've got 50+ files coming in, it gets kind of messy and makes it

  • Safari wont open new tab

    I have Safari set to open links "in a new tab in the current window" but for some reason whenever I click a link it opens a new window....what am I doing wrong? Also, cant I set up a new tab to open with a web page instead of a blank page?

  • Abandoned InterAkt customer looking for InterAkt staff

    Hi Just back from the deserted interAkt forums where I posted but no echo. It would be great if some of the staff in the discontinued InterAkt products can support me over here. Somehow,I didnt pay attention during the upgrade time to DDT,then I trie

  • Using Pages to create iBooks or magazine for newsstand...

    Has anyone used Pages to create for iBooks or created a magazine for the newsstand?  I realize there is iBooks Author, but it seems restrictive in that it's only sold in iBookstore.  I'm not specifically interested in creating publications that must

  • How to "PREPONE" Business partner Valid from date (Role: TR0600)

    Hi Experts, I created BP on 4/03/2011 and using this BP I created one Commercial Lease in Contract but while activating the contract system showing Warning message as mentioned below. Role Obsolete: Master Tenant with Customer Account is only valid i