Cannot open the database, stuck in mount mode

Someone please shed some lights on this problem.
I ran into some media failure, and ended up restoring the database from the offline whole backup.
The database is in the nonarchivelog mode (I know, it is not good), so there is no archive log files and
restore database is the only solution.
. startup mount
. restore database <== ran ok
. ALTER DATABASE CLEAR LOGFILE GROUP 1 <== ran ok
. ALTER DATABASE CLEAR LOGFILE GROUP 2 <== alter failed
ORA-01624: log 2 needed for crash recovery of instance orcl (thread 1)
Alter failed with group 2 and 3 because one was CURRENT,
and one was ACTIVE.
SQL> select group#, sequence#, members, status from v$log;
GROUP# SEQUENCE# MEMBERS STATUS
1 0 2 UNUSED
3 189 2 CURRENT
2 188 2 ACTIVE
I also tried 'alter database open resetlogs', and got:
ORA-01139: RESETLOGS option only valid after an incomplete database recovery
I don't think I can recover the datafile since there is no archive log file here.
Besides, if the restore database ran fine, why did I get SYSTEM01.DBF datafile needs media recovery message?
Right now, the database is in mount mode, and I cannot open it. How do I solve the problem with
ALTER DATABASE CLEAR LOGFILE GROUP for group 2 and 3?
Any suggestion? Thank you for the input.
The database is 11G running on Window.

I would think the cold backup ran successfully. Here is the backup record:
RMAN> run {
2> shutdown immediate;
3> startup mount;
4> allocate channel c1 type disk;
5> backup as backupset database;
6> alter database open;
7> }
8>
using target database control file instead of recovery catalog
database closed
database dismounted
Oracle instance shut down
connected to target database (not started)
Oracle instance started
database mounted
Total System Global Area 535662592 bytes
Fixed Size 1348508 bytes
Variable Size 331353188 bytes
Database Buffers 197132288 bytes
Redo Buffers 5828608 bytes
allocated channel: c1
channel c1: SID=156 device type=DISK
Starting backup at 29-NOV-09
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
input datafile file number=00002 name=C:\APP\DAVECW\ORADATA\ORCL\SYSAUX01.DBF
input datafile file number=00001 name=C:\APP\DAVECW\ORADATA\ORCL\SYSTEM01.DBF
input datafile file number=00003 name=C:\APP\DAVECW\ORADATA\ORCL\UNDOTBS01.DBF
input datafile file number=00005 name=C:\APP\DAVECW\ORADATA\ORCL\EXAMPLE01.DBF
input datafile file number=00006 name=C:\APP\DAVECW\ORADATA\ORCL\INVENTORY01.DBF
input datafile file number=00004 name=C:\APP\DAVECW\ORADATA\ORCL\USERS01.DBF
channel c1: starting piece 1 at 29-NOV-09
channel c1: finished piece 1 at 29-NOV-09
piece handle=C:\APP\DAVECW\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_11_29\O1_MF_NNNDF_TAG20091129T230
632_5K6VQY0W_.BKP tag=TAG20091129T230632 comment=NONE
channel c1: backup set complete, elapsed time: 00:01:55
channel c1: starting full datafile backup set
channel c1: specifying datafile(s) in backup set
including current control file in backup set
including current SPFILE in backup set
channel c1: starting piece 1 at 29-NOV-09
channel c1: finished piece 1 at 29-NOV-09
piece handle=C:\APP\DAVECW\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_11_29\O1_MF_NCSNF_TAG20091129T230
632_5K6VVNJR_.BKP tag=TAG20091129T230632 comment=NONE
channel c1: backup set complete, elapsed time: 00:00:03
Finished backup at 29-NOV-09
database opened
released channel: c1
Recovery Manager complete.

Similar Messages

  • I have a problem with Canon PowerShot SX 60 Hs-camera with Camera Raw, I cannot open the pictures taken in raw mode. How can I update Camera Raw? I also tried with Photoshop Elements 13, but it was the same, I could not open raw pictures.ts 13

    I have a problem with Canon PowerShot SX 60 HS-vamera wirh Camera Raw in Photoshop Elements 12, cannot open raw files. I have the newest version of camera Raw plug in, whats is the problem?

    It is on our radar and hoping to add it in an upcoming update.
    As soon as it is available, it will be update in the below article.
    http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    ~ Arpit

  • Problem with Opening the Database

    Dear All,
    I am learning myself Backup And Recovery.
    I messed up with Redo Log files and now the database is not opening.
    What actually I did is
    1) I got 2 redo log groups with I member file in each group.
    Group 1 (redo1) & Group 2(redo 2)
    2) Then I shutdown the database "Shutdown Normal"
    3) Then I removed the one redo log files. (redo 1) "rm redo1"
    4) Now I tried to open the database. It didnot opened as redo 1 is not available
    5) Now I Added one group 3 when the database is in mount mode (alter database add logfile group 3 ...)
    6) Now when I tried to drop the redo log file, I am getting the below error
    ORA-01623 log 1 is current log for instance orcl (thread 1) - cannot drop.
    7) So Now I am not able to open the database
    Can Anyone please help me out.
    Appreciate any help
    Thanks & Regards
    Madhu K

    Madhu,
    Can you try recreating the controlfile ? All it does is resets the redologs (reinitializes them). There wont be any dataloss. You can open the database using "alter database open resetlogs" after you recreate the controlfile.
    Have you looked into the backup and recovery case scenarios. They covered loss of redologs also.
    Since you are learning by yourself, i hope you are following Official Oracle guides. They are your bible when you practice things for the first time.
    http://www.oracle.com/pls/db102/portal.portal_db?selected=4 => Backup and Recovery Section => Backup and Recovery Basics and Backup and Recovery Advanced User's Guide
    -Srinivas

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

  • I forgot my ipad passcode.  I tried to restore ipad using the recovery mode option.  However when I try this iTunes askes me to turn off the "find my ipad" option (which of course I cannot do as I cannot open the ipad).

    I forgot my ipad passcode.  I tried:
    1. Simply to restore the ipad on the computer it is normally synced with, but it askes me to enter the passcode.
    2. to restore ipad using the recovery mode option.  However when I try this iTunes askes me to turn off the "find my ipad" cloud option (which of course I cannot do as I cannot open the ipad).
    3. to remotely erase my ipad, but as it is locked down it does not seem to be connecting to the internet and hence cannot seen through my "find my ipad".
    I am completely stuck!  Any suggestions please?!?!?

    I forgot my ipad passcode.  I tried:
    1. Simply to restore the ipad on the computer it is normally synced with, but it askes me to enter the passcode.
    2. to restore ipad using the recovery mode option.  However when I try this iTunes askes me to turn off the "find my ipad" cloud option (which of course I cannot do as I cannot open the ipad).
    3. to remotely erase my ipad, but as it is locked down it does not seem to be connecting to the internet and hence cannot seen through my "find my ipad".
    I am completely stuck!  Any suggestions please?!?!?

  • SSIS package "The Microsoft Jet database engine cannot open the file"

    Dear all,
    I am trying to import data from an excel spreadsheet which is save on application sharing server. When I try to save same file locally (On my desktop) my package has no problem to read it.  Problem comes when I change the file path to the share location
    I am getting below error message,
    "Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  13:26:46  Error: 2014-12-05 13:26:50.30     Code: 0xC0202009     Source: Incremental MasterStyle DL
    Connection manager "Excel Connection Manager"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft JET Database
    Engine"  Hresult: 0x80004005  Description: "The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.".  End Error  Error:
    2014-12-05 13:26:50.30     Code: 0xC020801C     Source: Data Flow Task 1 Excel Source [36]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection
    manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.  End Error  Error: 2014-12-05 13:26:50.30
        Code: 0xC0047017     Source: Data Flow Task 1 SSIS.Pipeline     Description: Excel Source failed validation and returned error code 0xC020801C.  End Error  Error: 2014-12-05 13:26:50.30     Code: 0xC004700C
        Source: Data Flow Task 1 SSIS.Pipeline     Description: One or more component failed validation.  End Error  Error: 2014-12-05 13:26:50.30     Code: 0xC0024107     Source: Data Flow Task 1    
     Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  13:26:46  Finished: 13:26:50  Elapsed:  3.401 seconds.  The package execution
    failed.  The step failed."
    I am trying to run this package as an sql server agent job and  server is installed on my Machine. I have created proxy account with my own credential to execute it. I have full excess to the spread sheet and can open it in an excel program. Please
    suggest what could be the reason why sql job is not able to access this spreadsheet. I can think of below reasons
    File is password protected and I am not using its password to unlock it?
    My domain account is a part of It Admin group with high previllages
    when I installed my SQL server I installed it as a standalone instance of SQL server?
    please advise.
    regards
    JKH

    Hi Jahangir,
    Based on the error message that "The Microsoft Jet database engine cannot open the file ''.  It is already opened exclusively by another user, or you need permission to view its data.", there are two causes:
    The account that SQL Agent is using does not have the correct permissions for the file or for the folder that contains the file.
    Another process or user has the file open.
    The following resolutions correspond to the previous list of causes:
    Since you use a network path to the file (UNC), check the account permissions on the share, the file, and the folder.
    The "another user" may be Microsoft Visual InterDev. Close any Visual InterDev projects that contain a data connection to the file. Please close all instances of excel file and re-run the package.
    Besides, we can use a tool like
    SQL Server Profiler to see what is happening when you run the package.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • What are all scenarios we will open the database in open resetlog mode

    what are all scenarios we will open the database in open resetlog mode..please advise

    Another situation I could think of is that when the active/current online redo logs are lost.
    Regards,
    Jaffar

  • Cannot open aperture-There was an error opening the database for the library "/Volumes/TKR HITACHI /HI12.aplibrary".

    When I try to open Aperture 3- I get this message : There was an error opening the database for the library...(name of library).
    The last time I tried to open the library I got a window requesting a conflict in library data. It ask if I wanted to resolve it. So I pushed the repair button.
    Thanks in advance for your help !!

    William,
    Thanks so much for your reply.
    When first hooked up I reformatted the external as Mac OS Extended Journaled within Disk Utility.
    I am not sure what HFS+ means. Can you help me there ?
    Tom Rodgers

  • En-Countering Error While trying to Open the Database

    Hi Everybody,
    Database Version:Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    Os: Solaris9
    This is one of our Test Database which is running in No-Archivelog Mode and having no backup of Physical Datafiles.
    Due to some Server issues the Database was Shutdown Abnormally after which when we are trying to open our DB it showing the following Error......
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed....
    we are also not able to perform a media recovery since the database is running in No-Archivelog Mode....
    The only way we know to bring up the Database is making the Datafile=216 offline and opening the Database...
    In there any workaround in order to resolve the Block corruption of Data-File 216........Since we will be needing the data located in datafile 216.
    Any help Appreciated,
    Thanks & Regards,
    Prosenjit Mukherjee

    DBVERIFY: Release 9.2.0.4.0 - Production on Thu Feb 26 15:37:47 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    DBVERIFY - Verification starting : FILE = /sts/oradata/npm/sts/STPUSER10.dbf
    DBVERIFY - Verification complete
    Total Pages Examined : 98304
    Total Pages Processed (Data) : 97673
    Total Pages Failing (Data) : 0
    Total Pages Processed (Index): 1
    Total Pages Failing (Index): 0
    Total Pages Processed (Other): 570
    Total Pages Processed (Seg) : 0
    Total Pages Failing (Seg) : 0
    Total Pages Empty : 60
    Total Pages Marked Corrupt : 0
    Total Pages Influx : 0
    This is the Output of the Dbverify Utility,but as i can see "Total Pages Marked Corrupt : 0"
    its telling me that neither of the blocks are corrupted......
    Earlier when i was trying to do a Recovery it was giving me the Following Error....
    ORA-01172: recovery of thread 1 stuck at block 13447 of file 216
    ORA-01151: use media recovery to recover block, restore backup if needed.........

  • Error while opening the database.--urgent---pls help...

    Hi,
    Got the below error while opening the database.
    Database version is :10.1.0.4.0
    database is in noarchive log mode.
    the database is coming in to no-mount state and mount state quite easily but not able to open the database.
    Got the below error while opening the database.
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:39 2008
    Errors in file /xxx/udump/aaa_ora_18737.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:32:41 2008
    DEBUG: Replaying xcb 0xc0000000350c1c18, pmd 0xc0000000353b21f0 for failed op 8
    Doing block recovery for file 2 block 9483
    No block recovery was needed.
    on Sep 29 15:34:01 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    Mon Sep 29 15:34:04 2008
    Errors in file /xxx/udump/aaa/bdump/aaa_pmon_18723.trc:
    ORA-00600: internal error code, arguments: [4194], [37], [31], [], [], [], [], []
    PMON: terminating instance due to error 472
    Instance terminated by PMON, pid = 18723
    Please help me....................

    Hi..
    This ORA-600 refers to a mismatch has been detected between Redo records and rollback (Undo) records.Is better to lock a call with oracle support.Secondly, apply latest patch on the DB.
    I had expereiced the same error, but my DB was in open mode, so i created a new undo tablespace and changed the undo_tablespace parameter and it worked.
    Anand

  • Unable to open the database

    I am not able to open the database: Following are the facts and things I have done so far
    1)     database is in NONARCHIVE mode
    2)     database backed up by using datafiles, controlfile, logfiles etc
    3)     datafiles, controlfile and logfiles are out of sync because the time of disk back at night a cron job also update a datafile. So one particular datafile is out of sync.
    4)     When we start the database following error comes
    a.     ora-01207:file is more recent than controlfile - old controlfile Question1: Is it because i did a hot backup and whenever there is a write, the controlfile ...
    5)     when we try use ‘alter database recover we get following
    a.     ora-01157: connot identify/lock data file 21 – DBWR file
    b.     ora-01110: data file 21 ‘…../…/../o2_mf_sys_undo_zvt7qxkf_.dbf
    6)     http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830de9b3de878352a40c888bc8a2b521b29d5.e34QbhuKaxmMai0MaNeMb3eKaN90?messageID=1374408&#1374408
    7)     So far I have tried
    a.     RECOVER DATABASE UNTIL CANCEL & ALTER DATABASE OPEN RESETLOGS – doesn’t work
    b.     Alter database archivelog – doesn’t work
    please let know if some had any solution

    Tanwar
    Do the following and you should be fine with your database.
    The error indicates that oracle process cannot open more locks than allowed.
    I assume you are on aix/unix environment
    as oracle user run this command
    #ulimit -a
    and verify the settings. You may want to set all the setting to unlimited as below.
    Some commands may not work depending on your OS, dont worry.
    ulimit -t unlimited
    ulimit -f unlimited
    ulimit -d unlimited
    ulimit -s unlimited
    ulimit -m unlimited
    ulimit -c unlimited
    ulimit -n unlimited
    ulimit -v unlimited
    If still not resolved, ask you system adminitrator to check security setting for oracle user under /etc/security/limits.
    Change the values for oracle user to -1 which means unlimited.
    logout from oracle user session and login again, check ulimit -a. Start your instance and you are good now.
    I have seen this issue many times on many system.
    Good luck.

  • ORA-01190 while opening the database

    Hello,
    I am working on a noarchivelog database,
    I did a full database restore and recover from a full database backup and i opened the database with resetlogs. then i had falure on one data file so i restored the database again but when i tried to open it , it generates ORA-01190, and i cannot be opened, i can only be mounted.
    Knowing that i do not have a backup between the two restores.
    Any solution for this issue ?
    Thanks.
    Nael

    Hello,
    It appears on datafile 1 after the resetlogs, i did my first restore and i opened the database with reset logs and then when restored for the 2nd time i was not able to open the database because of the ORA-1190 on datafile 1.
    As for point a and b i did not do both, just a restore and then recovery for the whole database.
    thanks,
    Nael

  • Help!!  I changed my log in screen to show a blank name and pw. Now I cannot open the computer???

    Help!!  I changed my log in screen to show a blank name and pw. Now I cannot open the computer???

    1.Turn on the computer and when you hear the startup chime hold CMD+S. This boots the computer into single-user mode, giving you root access.
    2.Once single-user mode loads (it looks like a black screen with white text) mount the hard drive. So at the prompt type in:
    /sbin/mount -uw /
    3. Now that the drive is mounted we can edit the file system. We need to delete a file that tells your computer that you have completed setup. So type in:
    rm /var/db/.applesetupdone
    4.We need the system to reboot so it can check for the file and not find it. Type in:
    reboot
    5.Continue setup
    Be sure to select “DO NOT TRANSFER MY DATA”.
    6.Finish setup and login.
    7. Go to system preferences and edit that account so it HAS A NAME.

  • Cannot Start Microsoft Outlook. Cannot open the Outlook Window. The set fo folders cannot be opened. You must connect to Microsoft Exchange with the current profil

    Cannot Start Microsoft Outlook. Cannot open the Outlook Window. The set fo folders cannot be opened. You must connect to Microsoft Exchange with the current profile before you can synchronize your folders with your Outlook data file (.ost)
    OK. This is a new outlook setup on a laptop. The mail account is on a MS Exchange Server 2010. The user can log on to their laptop no problem with their AD login and password. To setup the outlook profile we have checked the name OK. When we click finish
    and try to start outlook we get the above error message. It is driving me pots as I have tried also of things. I have tried to connect without catching the files. The error message then says that the Exchange Server is down, yet we checked the name OK and
    I can log on to the MS Exchange server and see the setup.
    What else is it that I need to look at as I have tried everything. I will add that they one service I see not running is the Exchange RPC service. If I try to start it, it fails saying Some services stop automatically if they are not in use by other services
    or programs.
    What can I do?

    The major cause of this problem is a corrupted Navigation Pane settings file – profilename.xml, where “profilename” is the name of your Outlook profile. A good sign that the
    file is corrupted is when the size of the file is shown 0 KB. No one knows the precise reason why this takes place, but all versions of Outlook from 2003 to 2013 may get affected.
    Other causes may be when you run Outlook in the compatibility mode, or if you are using a profile generated in an older Outlook version, or if the Outlook data file (.pst or .ost)
    was removed or damaged as the result of faulty uninstallation or reinstallation of MS Outlook.
    Follow the steps given below to resolve this problem
    1. Recover Navigation Pane configuration file
    2. Repair your Outlook PST file using Inbox Repair tool
    3. Create a new Outlook profil and import data from the old PST file
    4. Turn off Compatibility Mode
    5. Start Outlook in Safe Mode
    For more info, you can visit http://www.ablebits.com/office-addins-blog/2013/12/06/cannot-start-microsoft-outlook-solutions/

  • What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported".

    What is the best way to copy aperture library on to external hard drive? I am getting a message that say's "There was an error opening the database. The library could not be opened because the file system of the library's volume is unsupported". What does that mean? I am trying to drag libraries (with metadata) to external HD...wondering what the best way to do that is?

    Kirby Krieger wrote:
    Hi Shane.  Not much in the way of thoughts - - but fwiw:
    How is the drive attached?
    Can you open large files on the drive with other programs?
    Are you running any drive compression or acceleration programs (some drives arrive with these installed)?
    Can you reformat the drive and try again?
    Hi Kirby,
    I attached the UltraMax Plus with a USB cable. The UltraMax powers the cable so power is not an issue. I can open other files. Also, there is 500GB of files on the drive so I cannot re-format it. Although, I noted I could import the entire Aperture Library. However, I do not want to create a duplicate on my machine because that would be defeating the purpose of the external drive.
    Thanks,
    Shane

Maybe you are looking for