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

Similar Messages

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • How do I re-attach missing Illustrator files

    APOLOGIES FOR CROSSPOSTING FROM INDESIGN FORUM (where I have not gotten any responses):
    Thanks in advance for reading this!
    I am converting an InDesign document to ePub and mobi. The document also exists as a PDF file (which, as you may know, can not be converted effectively to ePub).
    The InDesign file has been supplied to me with missing Illustrator .ai links for charts and graphs. There are lo-res  images in their places.
    I could manually import individual charts from the PDF file  into Illustrator, but there are dozens of them and relinking will be a huge job as it is. Any suggestions on how to transform all charts and graphs in the PDF file to .ai files OR import them directly into InDesign?
    Many thanks

    Thanks for your reply.  My replies are in line:
    1. how do you know the links are missing?
    The "missing, click to relink" question mark appears in all InDesign charts and graphs. The ID links panel is all question marks.
    2. how do you know the there are lo-res images in their place? (are they named as such? is your page display set to 'highest')
    When I create an epub or mobi file, the graphics are blurred, placeholders for the intended artwork.  I can anchor them, but they look pretty poor.
    3. can you contact whoever made the source files to acquire the missing files?
    I have tried (and tried and tried). Alas, this is a pro bono job for a UN development agency in Beijing, and no one can figure out where the files are (even though I found the a complete directory path to where they should be on SOMEONE'S computer).
    4. you can PLACE the PDF pages diectly into indesign (crop to the charts) and then delete the lo-res files after using them as a reference for placement and size--yes a lot of work, but if you got to, then you got to.
    At this point, if I can't come up with an alternative, I think it will be easiest to select each chart and graph from the PDF, then "edit using AI...", save them individually as AI files and relink them. I was praying for a more simple solution (other than finding those missing .ai files).
    There is an extension, but it's $100 and I'll probably never need to use it again.  I'd spring for it if I was sure it would save me much time.
    Again, thanks for your reply.

  • 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 make to know when the attachment file display its visible or hidden

    Hi guys,
    sorry for my english.
    In my scenario I have two button for open or close the attachment file display with the script 'app.execMenuItem("ShowHideFileAttachment");'.
    But i don't know when the attachment file display its visible or hidden or detect when the user clicks on show/hidden in the display.
    Anybody knows?
    Thanks in advance.
    ZAMPAZAMPA.

    Thanks radzmar,
    You help me a lot, but how i make to ask to pdf is it panel of attachment its open?
    I make this:
    event.target.viewState == {overViewMode:7}
    but return false all the time when panel of attachment its open and when its close.
    ZAMPAZAMPA.

  • How to store the data instead of memoryengine to database when use XML file

    Hi Experts,
    I have doubt which is into XML to database data transfer.
    While transferring the data from XML to database the tables will be store in memory for the xml files, my aim is instead of storing this in memory engine
    is there any way to store the data in to the data base itself..
    I am assuming when the data size increases say for example huge amount data, storing this much of data is big issue here right, so to avoid this is there any way to store
    this data directly in the database level.
    Please understand my requirement or else I have the good explanation about my requirement and please assist me how do this job....
    Thx,
    Sahadeva.

    Hi Experts,
    For this job I have applied the
    jdbc:snps:xmll?f=/mydata/xml/file.xml&s=wrk_admin&dp_driver=oracle.jdbc.driver.OracleDriver&dp_url=jdbc:oracle:thin:@localhost:1521:xel&dp_user=wrk_admin&dp_password=bPyXS2eRXw8fWnKEmTYSEf&dp_schema=wrk_admin&dp_doc=Y
    my schema name is wrk_admin
    xml file name is mydata
    jdbc driver: localhost:1521:xe
    Encoded password: I have encoded the pwd from cmd:c:oracle\oracle_odi1\oracledi\agent\bin\encode wrk_admin
    The above are the details I have applied to my ODI studio for creating the dataserver.
    After applying this I got the following error.
    Could you please correct me here if I am wrong...
    jdbc:snps:xml?param1=value1&param2=value2&...
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1118)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:420)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:860)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:806)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:165)
         at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:161)
    Thx,
    Sahadeva.

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

  • 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 avoid duplicates when writing a file

    Hai all,
    I wrote a jsp program which generates html files dynamically taking particular keyword and category. In the same program i am also writing the links in xml file i.e page location (href). I page will call everday once. for the first time it is adding once if that page was called on second day it is adding agin those links are adding twice to that xml,even if those links are present in that xml file. but i need if the link is present in that xml file then it does not write again in that xml file for that i put the condition but is giving error.
    Here i am putting my xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
    <loc>http://localhost:8080/Links/debt_get out of debt plan.html</loc>
    <priority>0.6</priority>
    <changefreq>weekly</changefreq>
    </url>
    <url>
    <loc>http://localhost:8080/Links/debt_no to debt.html</loc>
    <priority>0.6</priority>
    <changefreq>weekly</changefreq>
    </url>
    <url>
    <loc>http://localhost:8080/Links/sports_football.html</loc>
    <priority>0.6</priority>
    <changefreq>weekly</changefreq>
    </url>
    </urlset>>
    below i am putting my java code
    import java.io.*;
    class FileReadTest {
    public static void main (String[] args) {
         FileReadTest f = new FileReadTest();
    f.readMyFile();
    void readMyFile() {
    DataInputStream dis = null;
    String record = null,r=null;
    int recCount = 0;
    try {
    File f = new File("MyXMLFile.xml");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis);
    dis = new DataInputStream(bis);
    while ( (record=dis.readLine()) != null )
    recCount++;
                   r=record;
    //System.out.println(recCount + ": " + record); //compareTo
              String sb=r.toString();
              int l =0;
              boolean b=sb.contains("http://localhost:8080/Links/debt_no to debt.html");
                   // l =sb.indexOf("http://www.abacapital.com/privacy/?action=print");
                   l =sb.indexOf("http://localhost:8080/Links/debt_no to debt.html");
              System.out.println(b);
    if(l!=-1)
                             System.out.println("This is equla " +l);
                        else{
                        System.out.println("Not equal");}
    } catch (IOException e) {
    // catch io errors from FileInputStream or readLine()
    System.out.println("Uh oh, got an IOException error!" + e.getMessage());
    } finally {
    // if the file opened okay, make sure we close it
    if (dis != null) {
         try {
    dis.close();
         } catch (IOException ioe) {
    error what i am getting is
    false
    Not equal
    plese help me to solve this problem. I donot want to write second time if that link was already present in that. If link was not in that file then it has to write that link in that file.

    while ( (record=dis.readLine()) != null )
       recCount++;
       r=record;
       //System.out.println(recCount + ": " + record); //compareTo
    String sb=r.toString();
    int l =0;
    boolean b=sb.contains("http://localhost:8080/Links/debt_no to debt.html");
    // l =sb.indexOf("http://www.abacapital.com/privacy/?action=print");
    l =sb.indexOf("http://localhost:8080/Links/debt_no to debt.html");
    System.out.println(b);I think the contains and indexOf checks should be done within the loop for each line; the way it is written above, i think the loop finishes after reading all the lines which means r always contains the last line. Which means the check is always made for the last line.

  • Where , how  do i find my missing music files

    all my previously purchased songs are no longer in my itunes music folder,  only  2 which i purchased today10-26 2014. how do i get them back?? do i need to repurchase them??  thank you for any  response.  ********
    <edited by host>

    Hi roy141,
    Welcome to the Apple Support Communities!
    If your purchases are no longer showing in your iTunes library, you can redownload your previously purchased content with no charge from the purchases section of iTunes on your device or computer. The items will be available for download if they are still available in the iTunes store. 
    Download past purchases
    Have a great day,
    Joe

  • How to close a jmf rtp session when the whole file is sent

    i am using jmf to Stream a video file from a one client to another, everything seems to be working fine except for the fact that i dont know how to close the prosessor and the session/datasink on the transmitting clients side when the clientis done streaming, i can close it lets say after 60 seconds of starting but i am not able to figure out how make it stop when the whole file is done streaming. i tried using the datasinklistner while sending the video and the following code
    public void dataSinkUpdate(DataSinkEvent event) {
             if (event instanceof javax.media.datasink.EndOfStreamEvent) {
                 endOfStream = true;
         }but the endofstream event is never received from the datasource.
    the problem is that it works fine if i using a 20 second video and i close the datasink and the processor in 60 seconds, the whole file does get streamed but if i have a file longer than 60 seconds then the file just gets cut at 60 seconds.
    i also tried to use a sessionmanager with a sessionlistener and a sendStreamListener and the following code
         * SessionListener.
        public synchronized void update(SessionEvent evt) {
         * SendStreamListener
        public synchronized void update( SendStreamEvent evt) {
            System.out.println(evt);
         if (evt instanceof InactiveSendStreamEvent) {
              flag=true;
              System.out.println("done");
         if (evt instanceof ActiveSendStreamEvent) {
             System.out.println("start");
        }i ran the whole code and sent files and everything but neither an activestreamevent nor a inactivestreamevent happens but the file is being streamed properly

    user13490676 wrote:
    could it be a problem with jmf itself that the endofstream doesnt get generated for the datasource being read from a fileIn this instance, that would be the problem... more than likely, there's something weird about the file, perhaps it doesn't have a duration set in the header and JMF treats it like a live stream.
    You could always write a custom DataSource that just passes through the input of a normal data source, and then generate the EndOfStream event yourself... maybe based on a timeout or failure counter? I haven't received any data in x seconds or after x attempts, so I'm assuming the file is done... Or when you've read enough data that the file can't possibly have any more (read >= file header + file data)...

  • SQL 2012 Cluster- How to or Steps to Move Tempdb Files from Local drive to Shared volume

    Hi..
     I did Installation of SQL Server 2012 Cluster. During this setup I installed Tempdb Files on Local drive. Now I want to move this tempdb files from local drive to Shared Drive . When I am trying to move I am getting below error.
    Does any one can help me or provide the steps to move this tempdb files from local drive to Shared Drive ?
    Msg 5184, Level 16, State 1, Line 1
    Cannot use file 'Z:\Tempdb\tempdb.mdf' for clustered server. Only formatted files on which the cluster resource of the server has a dependency can be used. Either the disk resource containing the file is not present in the cluster group or the cluster resource
    of the Sql Server does not have a dependency on it.
    Thanks 
    Regards..
    Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach

    Hi,
    The error message may be thrown out when you attempt to create a database on another shared cluster drive when the SQL Server resource is not dependent on that disk.
    Check if you are in the scenario which mentioned in the following article:
    How to create databases or change disk file locations on a shared cluster drive on which SQL Server was not originally installed
    http://support.microsoft.com/kb/295732/en-nz
    Here is a thread with similar issue:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c9f80af7-5b51-4c43-a2a0-f9c7d97aa41d/sql-disk-dependency-problem-on-sql-2008-cluster-including-errors
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • How to eliminate spaces while reading a file in BPEL Process

    Hi All,
    How to eliminate space when reading a file which of fixedlength and inserting into database.
    Inserting some of columns sucessfully but there is a column where there is a space n front the value, how to eliminate the that space.
    I have a custom XSD and using out in the process. How to resolve this issue to get all rows sucessfully inserted into the database.
    Anyone hod gone through this kind of functionality.
    Regards,
    CH

    Hi,
    try to use XPath functions like 'normalize-space()', 'right-trim()', 'left-trim()' in your transformation.
    Regards,
    Martin.

  • Missing directx files

    I have a HP Pavilion p-21134 desktop running windows 7
    I'm missing directx files
    when I try to instrall directx to replace missing files I can't because I have the lates version but missing files
    How can i get the missing directx files ( ddhelp.exe,dxapi.sys,d3dm.dll and d3dpmesh.dll) installed
    Thanks for any help
    Ken

    Hi Ken,
    Sometimes video card software packages will refresh DirectX files to ensure that the latest are on the PC. If the process is flawed then it's possible that the video card driver update is a problem.
    Consider going back to a known good Windows restore point before the issue started.
    Open up the Run window and enter the following:
    cmd
    sfc /scannow ----> this may take a while and it will attempt repairs if needed.
    Try this Microsoft DirectX diagnostic tool.
    If you need to re-install DirectX then the DirectX download is here.
    If all else fails then try the suggestions from this tip on how to manually install DirectX files.
    HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
    HP Photosmart Premium C309G, HP Photosmart 6520
    HP Touchpad, HP Chromebook 11
    Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
    Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
    Windows 7/8 UEFI/Legacy mode, MBR/GPT

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

Maybe you are looking for

  • How to publish my website using iWeb ? Other than FTP !

    Hello Guys ,                        I want to build my own website and I have iWeb software which I got preinstalled when I purchased my MBP. As Mobile me is out of service could anyone give an alternative way to publish my website. I have seen some

  • Can we handle the pre defined exceptions?

    Hi people, I have a simple stored procedure in oracle 9i with following code. create or replace procedure psam1( no int) is a number; b number; e exception; v varchar(10); begin select sal into a from sample where sno=no; select count(*) into b from

  • Icon on top of all applications

    I bought a laptop with Windows 8, and then on top of all applications, settings icon appears, right at the place where it should be, and not to not disappear. How can I fix this bug. In any setting I do not climb, do not do it, the bug appeared immed

  • Photoshop Elements 5:  fonts in small caps

    Please help!  I'm using Photoshop Elements 5 and all the fonts are in small caps.  I've tried different fonts, I've tried starting and restarting program.  I can't seem to get the fonts back to lowercase.  Thanks!

  • My photos kind of disappear when I scroll

    When I look through my library or albums or whatever, some photos are there for a second, but then disappear and I'm left with a dashed line around where my photo should be. But not all photos go away.