Cannot recover db

I cannot recover database after restore.
SQL> recover database until cancel;
ORA-00283: recovery session canceled due to errors
ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
SQL> recover database until cancel using backup controlfile;
ORA-00279: change 3412834 generated at 04/20/2008 11:09:25 needed for thread 1
ORA-00289: suggestion :
C:\ESAS\ORACLE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2008_04_22\O1_MF_1_3
4_%U_.ARC
ORA-00280: change 3412834 for thread 1 is in sequence #34
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: 'C:\ESAS\ORACLE\ORADATA\XE\SYSTEM.DBF'
ORA-01112: media recovery not started

restore database command automatically restore archivelog itself,you have missing todays archivelog and i suspect you restored old controlfile ,you didnt show up what you restored ,only recovery does not make sense?
after applying logs which you already done
-shutdown immediate
-delete the controlfiles or moved it somewhere it from OS
-startup nomount
SQL>create controlfile reuse database <yoursbsid> noresetlogs archivelog
  2  MAXLOGFILES 50
  3  MAXLOGMEMBERS 3
  4  MAXDATAFILES 300
  5  MAXINSTANCES 8
  6  MAXLOGHISTORY 500
  7  LOGFILE
  8                     GROUP 1 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo01.LOG',
  9                     GROUP 2 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo02.LOG',
10                     GROUP 3 'C:\oracle10g\oracle\oradata\orcl1\orcl1\redo03.LOG'
11  DATAFILE
12                     'C:\oracle10g\oracle\oradata\orcl1\orcl1\SYSAUX01.DBF',
13                     'C:\oracle10g\oracle\oradata\orcl1\orcl1\SYSTEM01.DBF',
14                     'C:\oracle10g\oracle\oradata\orcl1\orcl1\UNDOTBS01.DBF',
15                     'C:\oracle10g\oracle\oradata\orcl1\orcl1\USERS01.DBF'
16 
SQL> /
SQL>alter database open;Note : here is cut and paste of datafile path and log file path.Specify yours own path.
Khurram

Similar Messages

  • I cannot recover my Master Password under 10.6.8. I want to change it. I do have my admin password for my account. How can I create a new master pw?

    I cannot recover my Master Password under 10.6.8. I want to change it. I do have my admin password for my account. How can I create a new master pw?

    If you are referring the Master Password that can be set in System Preferences>Security>FileVault, then see this thread:
    How to reset FileVault master password
    http://discussions.apple.com/thread.jspa?messageID=5822772
    As explained there, and for obvious security reasons, a new master password created in this fashion way will not unlock any pre-existing FileVault accounts. Resetting the master password is therefore only useful after you turn off FileVault in all existing accounts. You can then turn FileVault back on after the new master password is in place.

  • HP ToolboxFX has encountered an error and cannot recover (HP Laserjet M1536dnf MFP)

    We have an HP Laserjet M1536dnf MFP.  Just starting receiving an error with the HP ToolboxFx on Windows 7 32 bit start-up.  We can scan and the printer test prints, but it says the HP Toolbox has encountered an error and cannot recover.  Please restart the HP Toolbox FX...or...toolbox version 006.15.01163.  In toolbox screen, it says cannot connect to device.
    I have tried a number of things and read posts, but still no luck.  I can still scan, though.  Help?

    Hi,
    Try installing the latest firmware of the printer, reboot both the printer and the PC and check for any difference:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=Im-86043-11&cc=us&dlc=en&lc=en...
    If that doesn't help, go to C:\HP Laserjet M1530 Basic Software\Utilities and follow the Scrubber.exe to uninstall the software (it may vary and may be named similar as NTScrubber for example).
    Reboot your PC, go to Drive C and remove the M1530 Basic Software folder, then download and install the latest software below:
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=Im-86005-3&cc=us&dlc=en&lc=en&...
    Hope that helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • ORA-01124: cannot recover data file 1 - file is in use or recovery

    I am trying to recover standby database, but it is giving the below error.
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery, recovery is already stated
    ORA-01110: data file 1: 'I:\ORACLE\QAS\SAPDATA1\SYSTEM_1\SYSTEM.DATA1'
    when i checked in the alert log the recovery is not started. and later i hae given "alter database recover cancel' and the command end up with the below line
    "media recovery not started".
    it seems that the recovery has stuck in between.
    please advise me how to kill the recovery session that's stuck. because i dont want to bounce the standby database.
    thanks in advance.

    Without dataguard and MRP, you are running a scripted standby.
    In a scripted standby, a RECOVER DATABASE session would have an UNTIL clause (most likely UNTIL SEQUENCE). At the end of the recovery to that point (SEQUENCE#), it exits and shuts down the database.
    Also, the scripting is such that when one RECOVER session is active, another session is not allowed to start. It may loop in wait state or exit and retry at the next scheduled interval.
    Apparently your standby scripting is not robust enough to prevent another RECOVER session from starting off even as the first is active (and/or it doesn't have a proper UNTIL clause and stop, exit, shutdown actions)
    What you have is a custom implementation of a standby database. Without complete details of the script, the "locking" between sessions (to prevent a second RECOVER from starting when one is already running) etc .... we really cannot do much to help you.
    Your scripts should be maintaing status information . It should be possible for you to discover the "other" sqlplus session that has issued a RECOVER DATABASE but not yet exited (e.g. ... how about a simple "ps -ef |grep sql" and "ps -ef | grep ora" combination ??)
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 29, 2013 5:47 PM

  • "Cannot recover" Error when opening InDesign doc

    We are a Server 2008 w/ XP/SP3 client environment. I have a user that opens an InDesign doc located on a shared network drive, does some work on it, and closes it. When the next person opens it, they get this error: "Cannot recover <<filename>>.indd. Please try to open it using the File menu. The file <<filename>>.indd has been changed since Adobe InDesign last quit (Error code: 11). They can click "OK" to this. The next window that pops up has an error: This document contains links to missing or modified files. Click Fix Links Automatically to have InDesign update this document with the modified files and help you locate missing files..." there's more about using the links panel, etc. They click "don't fix" and the document opens. To the best of my knowledge it is happening on just one file.
    I'm pretty sure the second error is because we recently took a server off-line that some of the links had been pointing to; I've informed my users they need to update the links in the files. It's the first error I'm wondering about. The first user I mention at the beginning has been having *tons* of trouble with InDesign the last week or so. It locks up, freezes panes, and needs to be ended through task manager. It's been unbearable for both her and myself trying to figure out what's wrong. My hurdle is that I don't use the software at all but I'm in IT support so so I'm in charge of troubleshooting but not sure where to begin.
    Can someone please help with the error we are receiving and also, provide some suggestions on how I can troubleshoot the performance issues?
    Her system specs:
    XP2002/SP3
    3GB RAM
    P4 2.8GHz proc.
    Not sure on the graphics card but can retrieve it will be helpful. User does use dual monitors.
    TIA!

    Reinstalling won't necessarily fix the kinds of problems you are having since they may have nothing to do with the application itself. I woud uninstall first, whenever possible, and immediately run any updates. Changing the preferences would be more productive as a first step though. Prefs are not automatically replaced on a new installation, either -- it depends on what option you chose during the uninstall.
    For your questions:
    1) When a file is opened, ID write a file with the extension .idlk in the same directory. This file tells any instance of ID that the file is already open and in use and prevents multiple users form having simultaneous access. It may or may not be deleted (usually not) during a crash scenario.
    2) Generally speaking it is not possible for mere mortals to recover a corrupt ID file. Tommy Donovan at Adobe is collecting them for study, but makes no promise of recovery. The folks at Markzware say they have some luck using their ID2Q plugin for Quark Xpress to open and save as a Quark file, then going back the other way using Q2ID to convert back. They might do a on-off for a small fee.
    3) Go to the link in the previous response, and scroll down to the part about repalcing preferences. Editing the prefs in the edit menu is not the same as replcing them with a new set. The files that need to be replaced are InDesign Defaults and InDesign SavedData.
    4) If there is something wrong on User 1's system that is corrupting the file, it would show up when User 2 opens it. Export the file to Interchange format (.inx), then open that file and save as a new .indd file. That can often clean up minor problems (i.e. those not serious enough to keep the file from opening at all).

  • Why Oracle Linux 5 cannot recover disk space after delete files ?

    Folks,
    Hello. When I create a Virtual Machine for Oracle Linux 5 to install EBS R12, I allocate 300GB to the VM. I download EBS R12 Source Files (45.7GB) and unzip the files (46GB). Total size of stage area directory(EBS_R12) is 91.7GB.
    Because some files are corrupted and cannot install, I move the folder EBS_R12 into trash but cannot empty trash. I move EBS_R12 from trash back to the directory. Then at root user, use command "rm -rf " to delete EBS_R12 completely.
    I shut down Oracle Linux 5 and restart it, 91.7GB disk space cannot recover.
    I download some other files into Oracle Linux files and then delete those files, but disk space cannot be recovered either.
    It seems that OEL5 virtual disk only can expand but cannot be reduced. The VM disk space is less than 200GB now and not enough to install EBS R12.
    Can any folks tell me how to make 91.7GB disk space and some more disk space come up ?

    Folks,
    Hello. Thanks a lot for replying.
    Host OS is Windows 7, Guest OS is Oracle Linux 5 on the top of VMPlayer 3. The VM of Oracle Linux 5 is created on the external USB drive and not on the local hard disk.
    There is a directory /tmp/VMwareDnd/376c7cae/EBS_R12 in Oracle Linux 5 file system. I copy/Paste the folder of EBS_R12 from Windows 7 into Oracle Linux 5. All of zip files and unzipped files are placed in the folder of EBS_R12.
    After EBS_R12 is deleted, the external USB drive(F:) doesn't come up 91.7GB disk space.
    My question is:
    Where to run "boot>linux rescue" command ?
    Does this command work correctly in the external USB drive ?

  • Unable to export photos, original file was emptied in Trash and cannot recover.

    Photo files are still in Lightroom, but I accidentally deleted and emptied the Trash with the original photo files. So now, as I try to export the photos, it is saying photos are offline or missing. I cannot recover the original file location because the trash was emptied. How can I still export the photos in Lightroom, it's a wedding that I HAVE to be able to export?!

    If the file is deleted, you restore it from your camera card; or
    If the file is deleted, you restore the photo from your backups.
    If you have no backups, well I can't understand why anyone would not have backups of important photos. You might want to consider developing a strategy where all your files are backed up as soon as possible after the photos are copied from camera card to computer.
    You can recover the previews from Lightroom, but these are usually small size and lower-quality versions of your photos, probably not suitable for printing. Use this plug-in to recover the previews: robcole.com - PreviewExporter
    You might also try recovering the deleted files from your computer's hard disk and/or camera card, using something known as an "undelete utility", one of which is Recuva - Undelete, Unerase, File and Disk Recovery - Free Download
    By the way, your photos are never stored in Lightroom, they are/were stored on your hard disk.

  • Cannot recover 'file' please try opening it using the file menu

    Hello,
    we have had some issues with document corruption in inDesign, a user this morning received the following error:
    Cannot recover 'filename.indd'. Please try to open it unsing the file menu.
    The file 'filename.indd' has been changed since adobe inDesign last quit (Error code: 11)
    When the user uses the file menu to open it it works fine
    I have googled this message but not found any information on it.
    Does anyone know what this means or how to resolve it? Does it give any clues as to why the users are having problems with documents getting corrupted.
    Thanks,
    Tom

    Also always worth a punt http://forums.adobe.com/thread/526990
    or
    http://forums.adobe.com/thread/526991

  • Error- isDefault SSL context init failed : Cannot recover key

    Hi,
    We are trying to run a sample HTTPS request from client to Server using SSL.
    Below is the the code we used to run Client program which will communicate with HTTPS server (Server Socket which will accept connections)
    Basically we created a server certificate inside Https server program and that will be exported and imported into Client directory.
    Finally when we run below client program means its giving below error
    Error- isDefault SSL context init failed : Cannot recover key
    Can anybody please help me to run this program successfully?If we you give some basic steps to check the settings what needs to be set before running this program.?
    Client Program
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider() );
    System.setProperty("javax.net.ssl.keyStore", "D:\\JavaR&D\\Rajiv\\server\\serverkeys");
    System.setProperty("javax.net.ssl.keyStoreType" ,"JKS"); /* ,"pkcs12" */
    System.setProperty("javax.net.ssl.keyStorePassword","welcome");
    System.setProperty("javax.net.ssl.trustStore" , "C:\\j2sdk1.5.0\\jre\\lib\\security\\cacerts");
    System.setProperty("javax.net.ssl.trustStorePassword" , "clientpass");
    System.setProperty("javax.net.ssl.trustStoreType","JKS"); /* ,"pkcs12" */
    System.setProperty("java.protocol.handler.pkgs" ,"com.sun.net.ssl.internal.www.protocol");
    com.sun.net.ssl.HostnameVerifier hv=new com.sun.net.ssl.HostnameVerifier() {
    public boolean verify(String urlHostname, String certHostname) {
    System.out.println("urlHostname >>" + urlHostname +"<<");
    System.out.println("certHostname >>" + certHostname +"<<");
    System.out.println("WARNING: Hostname is not matched for cert.");
    return true;
    com.sun.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier(hv);
    SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    // server = (SSLServerSocket) factory.createServerSocket(portNumber);
    System.out.println("above socketcreation");
    SSLSocket socket = (SSLSocket)factory.createSocket("172.16.56.227",8443);
    Server Program

    Is there some kind of timeline that I can expect 8.1 to ship in?
    I appreciate being informed that this is a known issue and all, but without giving me a timeframe to expect a fix in, how can you possibly expect me to continue to pursue your products as viable options?
    To tell me to wait for 8.1, without giving me a timeframe or any further details is simply put in one word. Amatuer.
    What kind of response is this? What am I supposed to tell my supervisor? How am I supposed to explain to upper management that the application server they're telling us to use is incapable of handling the use cases our business functions require? What do you want me to do, tell them to wait for the next release without being able to give them a ballpark figure? We're a small team, us Java guys. We've already invested months is moving to a new platform. Now that platform is failing us, and the vendor hasn't got any better response than, "Oh yeah, our bad. We'll fix it next time... whenever that is..."
    If 8.1 is as half-baked as 8.0 is (BTW your deploytool is a broken piece of junk. I can reliably crash the thing in under 10 seconds) then I don't have a lot of hope for 8.1. You can bet I sure as heck won't be holding my breath for it.
    Looks like it's time to investigate the other vendors that support J2EE 1.4. Something tells me I'll have better luck with WebSphere. The hard part there will be selling managment on the idea. At least IBM is notoriously forward with their clients, even if they are expensive.
    All I'm asking for now is a timeframe for 8.1. When can we expect it? If it's before I expect to -have- to have this stuff in production I may be able to wait... but at this point, I'm disgruntled enough to not bother.
    Maybe we should investigate moving to .net. At least then when the vendor screws me I'll be expecting it.

  • R3trans finished 0012 / cannot recover data file 1 file is in use or recove

    Hi
    After a system Cloning from PRD to SandBox, SAP doesn't start any more :
    /usr/sap/SID/SYS/exe/run/startdb: Terminating with error code 12
    DB startup failed
    On the other hand, I can start the database manually, but SAP still doesn't connect to the DB.
    The R3trans -d returns the following :
    2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/SID/SYS/exe/run') or dbms_type ('ORA')"
    R3trans finished (0012).
    DIR_LIBRARY is correctly set.
    I tought may be the databse is inconsistent, so I tried to recover the it.
    The recover command doesn't work too :
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: '/oracle/SID/sapdata1/system_1/system.data1'
    I shall be very grateful to you for any help !
    Regards

    Hi,
    DB was started with "startup"
    trans.log
    4 ETW000 R3trans version 6.14 (release 701 - 23.07.10 - 09:23:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 24.08.2011 - 14:15:28
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  wed aug 24 14:15:28 2011                                                 106  0.000106
    4 ETW000  [dev trc     ,00000]  db_con_init called                                                        11  0.000117
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                                                 30  0.000147
    4 ETW000  [dev trc     ,00000]  Loading DB library '/usr/sap/SID/SYS/exe/run/dboraslib.o' ...             37  0.000184
    4 ETW000  [dlux.c      ,00000]  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/SID/SYS/exe/run/dboraslib.o") FAILED
    4 ETW000                          "     0509-022 Cannot load module /usr/sap/SID/SYS/exe/run/dboraslib.o.
    4 ETW000                                0509-150   Dependent module libclntsh.a(shr.o) could not be loaded.
    4 ETW000                                0509-022 Cannot load module libclntsh.a(shr.o).                        1360  0.001544
    4 ETW000                                0509-026 Syste"  (errno=2,No such file or directory)
    4 ETW000  [dbcon.c     ,00000]  *** ERROR => Couldn't load library '/usr/sap/SID/SYS/exe/run/dboraslib.o'
    4 ETW000                                                                                69  0.001613
    2EETW169 no connect possible: "maybe someone set invalid values for DIR_LIBRARY ('/usr/sap/SID/SYS/exe/run') or dbms_type ('ORA')"
    Thanks

  • Cannot recover HR user(Oracle10g,winXP)

    Friends ,
    I take 11:05 am (07.04.08) a rman backup using following script :
    run
    allocate channel t1 type disk;
    backup format 'df_%t_%s_%p'
    (database);}
    After the backup , Accidently I have deleted HR user And using the following script I cannot recover my HR user . The script with the error is the following :
    RMAN> run {
    2> set until time "TO_DATE('04/07/08
    3> 11:10:00','MM/DD/YY HH24:MI:SS')";
    4> allocate channel t1 type disk;
    5> restore database;
    6> recover database;
    7> }
    executing command: SET until clause
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of set command at 04/07/2008 14:15:18
    RMAN-20207: UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time
    Plz tell me where is the problem ?

    The problem is you executed an
    alter database open resetlogs
    command after taking the backup.
    This resulted in a new incarnation of the database.
    You don't post a version, and the answer is version dependent.
    In 9i you can only recover from this situation when you are using a recovery catalog.
    In that case you can reset the incarnation of the database with the rman reset incarnation command.
    When you are not using a recovery catalog one can only hope you have an export.
    In 10g the possibilities are different.
    In both cases the procedures are documented and you are kindly requested to read the documentation.
    Sybrand Bakker
    Senior Oracle DBA

  • HP CM 1415fnw multifunction printer. "HP ToolBox FX has encountered an error & cannot recover

    The lower right tray icon has disappeared. I've downloaded latest drivers. The messages below have appeared.
    Using Windows XP.
    Unable to communicate with Device. The device is disconnected or powered off.
    HP Toolbox FX encountered an error & cannot recover. Message on up left of screen at start up in am. Clk OK and lower right icon in Start box disappears. Try to open HP Toolbox FX on lower rt screen icon & get message. HP Toolbox FX encountered an error & cannot recover.
    “HP LaserJet Director Error. Unable to communicate with the device. The device is disconnected or powered off”
    “HP ToolBox FX has encountered an error & cannot recover. Please Restart HP Toolbox FX or restart your PC.”
    Do I need to reinstall HP Toolbox FX from disk & if so, how do I proceed?
    Thanks,

    Hello @FSport14 , and welcome to the HP Forums, I hope you enjoy your experience!
    I see you're having software issues.  I would like to help.
    I would recommend performing a power reset on the printer.  Disconnect the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug the printer back in. Ensure you plug the printer directly to a wall outlet. Make sure to bypass any sort of surge protector or power bar.
    I would then suggest downloading and running the HP Print and Scan Doctor.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Cannot recover Pocket Informant backup data

    I set up for backing up my iPhone 4 to my local PC.
    After a fatal crash of Pocket Informant app I cannot recover the data file.
    iTune Help suggests highlighting the filename in Apps File Sharing & clicking "Choose" BUT "Choose" button not shown.
    Also, cannot find file on PC using Winfows 7 search.

    I have tried doing all of this.  I had backed up via itunes and went to restore...I didnt get all of the contacts...well any of the at all..I didnt get.

  • InCopy cannot recover 'unkown document'

    Hello,
    I tried openong a document I made earlier in InCopy, but it now alerts me that it 'Cannot recover 'unknown document'. Please try opening it using the file menu. The file 'unkown document' is damaged and cannot be recovered.' Error code: 0
    Does anyone know what his is and if I can rectify it?
    Thank you!

    Also always worth a punt http://forums.adobe.com/thread/526990
    or
    http://forums.adobe.com/thread/526991

  • Cannot recover windows and tabs on startup

    When I start Firefox, a message comes up and says "This is embarrassing; Firefox cannot recover windows and tabs. Keeps repeating on subsequent startups.

    hello ecicci, this is currently a problem in firefox when you first close all open firefox windows and then close the application afterwards - the bug should be addressed in a later version of firefox.
    as a workaround in the meanwhile you could close firefox (through firefox > quit) while the browser window is still running or try this: enter about:config into the firefox location bar (confirm the info message in case it shows up) & search for the preference named '''browser.sessionstore.resume_from_crash'''. double-click it and change its value to '''false'''.

Maybe you are looking for

  • Why will photoshop not download on my mac

    why will photoshop not download on mac

  • Maintaining the mapping information and writing update routine to populate

    Hi, Its my requriment to get the transactional data from r/3, here in the transaction data i will get the data in following format (for example) Material no.   Sales value    quantity .. M001              100           2 M002              200        

  • Extends.java.awt.Window

    Hi I've tried the following below (/** My Code **/) and get a compilation error: Window is not public in java.awt.Window; cannot be accessed from outside package. I did set the JDK1.4 path in the autoexec.bat. The API 1.4 describes Window like: publi

  • Trying to open photos in iPhoto

    I'm trying to open pictures in my iPhoto album to be edited in Photoshop CS but can't seem to get anything. How do I do this?

  • Print with Java

    Hi, I have some documents to be printing by user. I would like to print only with on click. I explain. I have put a button in my web application that is 'Print'. That i would like to do is, when the button is clicking by user, print start automatical