Database open

hi,
i issued alter database close;
then i got error
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-16196: database has been previously opened and closed
thanks
with regards

From the manual:
ORA-16196: database has been previously opened and closed
Cause: The instance has already opened and closed the database, which is allowed only once in its lifetime.
Action: Shut down the instance.
[]s,
Miguel

Similar Messages

  • ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

    Hello,
    Yesterday i did a clean install of XE on my Windows 7 64bit laptop. The installation went well. Today when i tried to connect to the database i got ORA-01033 initialization or shutdown in progress.
    So i started sqlplus as sysdba and executed
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1071333376 bytes
    Fixed Size 1388352 bytes
    Variable Size 620757184 bytes
    Database Buffers 444596224 bytes
    Redo Buffers 4591616 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    The alert log is showing the following output
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =19
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production.
    Using parameter settings in server-side pfile C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DATABASE\INITXE.ORA
    System parameters with non-default values:
    sessions = 176
    spfile = "C:\ORACLE\APP\ORACLE\PRODUCT\11.2.0\SERVER\DBS\SPFILEXE.ORA"
    memory_target = 1G
    control_files = "C:\ORACLE\APP\ORACLE\ORADATA\XE\CONTROL.DBF"
    compatible = "11.2.0.0.0"
    db_recovery_file_dest = "C:\oracle\app\oracle\fast_recovery_area"
    db_recovery_file_dest_size= 10G
    undo_management = "AUTO"
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    dispatchers = "(PROTOCOL=TCP) (SERVICE=XEXDB)"
    shared_servers = 4
    job_queue_processes = 4
    audit_file_dest = "C:\ORACLE\APP\ORACLE\ADMIN\XE\ADUMP"
    db_name = "XE"
    open_cursors = 300
    diagnostic_dest = "C:\ORACLE\APP\ORACLE"
    Wed Sep 07 09:26:50 2011
    PMON started with pid=2, OS id=4936
    Wed Sep 07 09:26:50 2011
    PSP0 started with pid=3, OS id=4756
    OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !
    Wed Sep 07 09:26:51 2011
    VKTM started with pid=4, OS id=5772 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Wed Sep 07 09:26:51 2011
    GEN0 started with pid=5, OS id=5424
    Wed Sep 07 09:26:51 2011
    DIAG started with pid=6, OS id=5928
    Wed Sep 07 09:26:51 2011
    DBRM started with pid=7, OS id=4000
    Wed Sep 07 09:26:51 2011
    DIA0 started with pid=8, OS id=3876
    Wed Sep 07 09:26:51 2011
    MMAN started with pid=9, OS id=6004
    Wed Sep 07 09:26:51 2011
    DBW0 started with pid=10, OS id=5252
    Wed Sep 07 09:26:51 2011
    LGWR started with pid=11, OS id=848
    Wed Sep 07 09:26:51 2011
    CKPT started with pid=12, OS id=2420
    Wed Sep 07 09:26:51 2011
    SMON started with pid=13, OS id=2424
    Wed Sep 07 09:26:51 2011
    RECO started with pid=14, OS id=2396
    Wed Sep 07 09:26:51 2011
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Wed Sep 07 09:26:51 2011
    MMON started with pid=15, OS id=2388
    starting up 4 shared server(s) ...
    ORACLE_BASE from environment = C:\oracle\app\oracle
    Wed Sep 07 09:26:51 2011
    ALTER DATABASE MOUNT
    Wed Sep 07 09:26:51 2011
    MMNL started with pid=16, OS id=1288
    Successful mount of redo thread 1, with mount id 2642331547
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Wed Sep 07 09:26:56 2011
    ALTER DATABASE OPEN
    Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    ORA-1589 signalled during: ALTER DATABASE OPEN...
    Wed Sep 07 09:41:54 2011
    db_recovery_file_dest_size of 10240 MB is 0.98% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Can anybody tell me what to do to solve this problem?
    Kind Regards,
    D.

    DennisV wrote:
    Starting ORACLE instance (normal)What do you have in the alert.log above that line?
    OER 7451 in Load Indicator : Error Code = OSD-04500: illegal option specified !This is one of the symptoms reported earlier when running on unsupported platform (x64) and maybe there's some connection with your issue.
    See {thread:id=2278170}.
    Errors in file C:\ORACLE\APP\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_2212.trc:What errors does trace file reveal?

  • Database Open in Read Only Mode

    Hi
    I would like to open database in read only mode
    like
    SQL> startup mount
    SQL> ALTER DATABASE OPEN READ ONLY
    this will open database for read only mode for all user
    i want to give read write access on database to one user
    any idea how i can proccess
    Thanks
    Chetan

    Hi,
    Alter database open read only;
    this should work fine and everything will be in read only mode. Hence if any auditing is going on and audit_trial=db then it fails to open the database in read only mode.
    If you want to control only users to stop writing to it, you may remove tablespace quotas for those users. Also, you may control them through grants. Remove any current grants assigned to them or to roles through which the grants are assigned.
    Several ways to do this. If you tell us the particular scenario then we might help in getting a solution.
    Regards,
    Vasu.

  • DataBase Open Problem

    Hi Gurus ,
                 I restored the online backup of our R3 server to different hardware with different file structure using brtools . But after restore the DB am not able to open the database . here with below i mentioned the error while starting the database .
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1627389952 bytes
    Fixed Size                  2004648 bytes
    Variable Size             822085976 bytes
    Database Buffers          788529152 bytes
    Redo Buffers               14770176 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    So kindly

    Hi,
    Goto sql prompt
    sqlplus u201C/ as sysdbau201D
    Execute the below commands for recovery and open reset logs.
    SQL> recover automatic database until cancel using backup controlfile;
    SQL> alter database open resetlogs;
    and try to open the Database.
    Regards
    Krishna

  • 'alter database open resetlogs' didn't reset one of the datafiles

    I've spent the last three and a half weeks recovering an oracle database (11g 64-bit linux) because of a corrupt block in an online redo log (which I thought was being written to multiple locations). I restored the files, moving some of them around in the process; recovered to the latest possible point; moved files back to their proper location; ran 'alter database open resetlogs'; and one of the datafiles (from a bigfile tablespace) didn't get reset. I checked afterward, and it was marked offline. I do not remember placing the file offline, and cannot find such a statement in my last 300 sqlplus commands, which includes commands well before I renamed this file and the commands surrounding the rename.
    Restoring/recovering the database again will take too long, and is a remarkably poor option. Even if the database had opened correctly, the affected tablespace would not have been touched in the two or three minutes the database was open. Is there any way to force oracle to reset the logs again or otherwise fix this one file to mark it with the same date? Only allowing the resetlogs option after an incomplete recovery seems a poor restriction, especially, if files can slip through like this. I'm suspecting there is someway to just fix the checkpoint values for the tablespace, but I don't know where to begin. This particular file is <5% of the database, so if I have to do some sort of backup/restore with just it, that is probably doable.

    0: 11.1.0.6.0 on SUSE Linux Enterprise Server 10 SP2
    1: rman
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_datafiles_%p' (database);
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_archivelogs_%p' archivelog all delete input;
    backup format '/opt/oracle/backup/mydatabase_%Y-%M-%D_%s_control_%p' current controlfile spfile;
    2:
    restore database; --not sure what datafiles were restored with this
    restore datafile X; --several files were restored individually
    recover database until scn 1137554504; -- I verified that all datafiles were on the same checkpoint after this finished. Not having placed any files offline, I didn't bother checking that.
    3:
    SQL> alter database open resetlogs;
    Database altered.
    Elapsed: 00:04:20.34
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    4: Nothing in the tablespace has been touched since I ran 'alter database open resetlogs;'. It also appears that oracle placed the file offline (without me telling it to do so) and left it that way through the resetlogs, leaving the tablespace unusable during the time it was opened. The only things that would be out of date are the 'RESETLOGS_CHANGE#', the 'CHECKPOINT_CHANGE#', and associated values. It's still at the last scn before the resetlogs, and the system has been in archivelog mode the entire time. This is all information that Oracle could be tracking, and from a program logic standpoint there is no reason why Oracle cannot tie together the changes before the resetlogs, the resetlogs command and the changes after the resetlogs into a new, continuous string of changes. I assume there is some such feature in a high-caliber program because I'm actually a programmer (who would have included such advanced tracking features), and I've become a DBA out of necessity. I admit to not knowing all of the oracle DBA commands, hence me posting here before doing the work of submitting a request to metalink.
    5: I consider it a poor restriction because it doesn't always reset the logs on all files, and as far as my knowledge goes it has rendered my 3.5 week recovery process WORTHLESS. I suppose it could cause numerous errors, especially if the database wasn't cleanly shut down, but having the ability to do something equivalent to datafiles that oracle skipped the process on seems quite useful in my situation. I guess the more fundamental problem to complain about is that it would apply such changes to only some of the files, while leaving others unusable, instead of just giving me an error that some files weren't going to be reset, but I think I'm done venting my Oracle frustrations for now.
    Am I stuck with a tablespace that I cannot bring online with the database open, or is there some sort of 'alter database datafile' command (or anything else) that I know nothing of that will fix the straggling file?
    Edited by: jbo5112 on Oct 5, 2009 3:33 PM -- obfuscated some file names to secure identity.

  • Queries on DATABASE OPEN RESETLOGS and lost Control Files

    Hi I have some queries on RESETLOGS I would be keen to hear some answers on
    Q1. If I am doing a PITR and I end in ALTER DATABASE OPEN RESETLOGS, what happens about any Archived Redo Log files ( still in situ ) that were from the original source database but were at a future point in time ? Are they just ignored by any future restore ( since their log sequence number will be different ? ) and eventually over written or purged out ?
    Q2. When you create a new incarnation using RESETLOGS can you Flashback Database to before this ?
    Q3. If I have lost all my Control Files and have not created a backup control file or done a backup to trace of the control file, can I simply restore one of the actual control files from my last backup and use RECOVER DATABASE USING BACKUP CONTROLFILE AUTO; or will this only work with a bonafide backup control file ( i.e. one created via ALTER DATABASE BACKUP CONTROLFILE TO ‘<file spec>’; )
    Q4. When I issue RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    Do I have to ALTER DATABASE OPEN RESETLOGS at the end of the recovery ? I have seen this documented but I am not sure why I would need to reset the redo logs and instead simply open the database ?
    Q5. If I am running the CREATE CONTROL FILE command from an ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    Do I need to use the NORESETLOGS or RESETLOGS ? How do I know which to use ?
    thanks,
    Jim

    Jimbo wrote:
    Hi I have some queries on RESETLOGS I would be keen to hear some answers on
    Q1. If I am doing a PITR and I end in ALTER DATABASE OPEN RESETLOGS, what happens about any Archived Redo Log files ( still in situ ) that were from the original source database but were at a future point in time ? Are they just ignored by any future restore ( since their log sequence number will be different ? ) and eventually over written or purged out ?
    what happens when you try it?
    Q2. When you create a new incarnation using RESETLOGS can you Flashback Database to before this ?
    what happens when you try it?
    Q3. If I have lost all my Control Files and have not created a backup control file or done a backup to trace of the control file, can I simply restore one of the actual control files from my last backup and use RECOVER DATABASE USING BACKUP CONTROLFILE AUTO; or will this only work with a bonafide backup control file ( i.e. one created via ALTER DATABASE BACKUP CONTROLFILE TO ‘<file spec>’; )
    what happens when you try it?
    Q4. When I issue RECOVER DATABASE USING BACKUP CONTROLFILE AUTO;
    Do I have to ALTER DATABASE OPEN RESETLOGS at the end of the recovery ? I have seen this documented but I am not sure why I would need to reset the redo logs and instead simply open the database ?
    what happens when you try it?
    Q5. If I am running the CREATE CONTROL FILE command from an ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    Do I need to use the NORESETLOGS or RESETLOGS ? How do I know which to use ?
    what happens when you try it?

  • ORA-1092 signalled during: alter database open...

    When trying to startup the db runnint into following error:
    SMON: enabling cache recovery
    Sat May 16 10:35:12 2009
    Successfully onlined Undo Tablespace 1.
    Sat May 16 10:35:12 2009
    SMON: enabling tx recovery
    Sat May 16 10:35:12 2009
    Database Characterset is UTF8
    Sat May 16 10:35:13 2009
    Errors in file d:\oracle\visdb\9.2.0\admin\vis_apps\udump\vis_ora_2200.trc:
    ORA-00600: internal error code, arguments: [4193], [2391], [2395], [], [], [], [], []
    Doing block recovery for fno: 10 blk: 159
    Sat May 16 10:35:17 2009
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 3 Reading mem 0
    Mem# 0 errs 0: D:\ORACLE\VISDATA\LOG2.DBF
    Doing block recovery for fno: 10 blk: 153
    Sat May 16 10:35:18 2009
    Recovery of Online Redo Log: Thread 1 Group 2 Seq 3 Reading mem 0
    Mem# 0 errs 0: D:\ORACLE\VISDATA\LOG2.DBF
    Sat May 16 10:35:18 2009
    Errors in file d:\oracle\visdb\9.2.0\admin\vis_apps\udump\vis_ora_2200.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    ORA-00600: internal error code, arguments: [4193], [2391], [2395], [], [], [], [], []
    Error 607 happened during db open, shutting down database
    USER: terminating instance due to error 607
    Sat May 16 10:35:19 2009
    Errors in file d:\oracle\visdb\9.2.0\admin\vis_apps\bdump\vis_pmon_2288.trc:
    ORA-00607: Internal error occurred while making a change to a data block
    Instance terminated by USER, pid = 2200
    ORA-1092 signalled during: alter database open...
    Pl. advice to recover from this suitation. New to recovery/bkup.
    Thanks,
    Sashi.

    00607, 00000, "Internal error occurred while making a change to a data block"
    // *Cause:  An internal error or memory exception occurred while Oracle was
    // applying redo to a data block.
    // *Action: call Oracle Support                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Standby database errors - Alter database open read only

    alter database open read only
    AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible for database opened with read-only access
    Signalling error 1152 for datafile 1!
    Beginning standby crash recovery.
    Serial Media Recovery started
    Managed Standby Recovery starting Real Time Apply
    Media Recovery Waiting for thread 1 sequence 216
    Mon Dec 20 11:58:18 2010
    Standby crash recovery need archive log for thread 1 sequence 216 to continue.
    Please verify that primary database is transporting redo logs to the standby database.
    Wait timeout: thread 1 sequence 216
    Standby crash recovery aborted due to error 16016.
    Errors in file /u01/app/oracle/diag/rdbms/mdm2/MDM2/trace/MDM2_ora_17442.trc:
    ORA-16016: archived log for thread 1 sequence# 216 unavailable
    Recovery interrupted!
    Completed standby crash recovery.
    Signalling error 1152 for datafile 1!
    Errors in file /u01/app/oracle/diag/rdbms/mdm2/MDM2/trace/MDM2_ora_17442.trc:
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+MDMDG1/mdm2/datafile/system.280.738243341'
    ORA-10458 signalled during: alter database open read only...
    Mon Dec 20 12:13:46 2010
    ALTER DATABASE RECOVER managed standby database using current logfile disconnect
    Attempt to start background Managed Standby Recovery process (MDM2)
    Mon Dec 20 12:13:46 2010
    MRP0 started with pid=23, OS id=18974
    MRP0: Background Managed Standby Recovery process started (MDM2)
    started logmerger process
    Mon Dec 20 12:13:51 2010
    Managed Standby Recovery starting Real Time Apply
    Parallel Media Recovery started with 2 slaves
    Waiting for all non-current ORLs to be archived...
    All non-current ORLs have been archived.
    Media Recovery Waiting for thread 1 sequence 216
    Completed: ALTER DATABASE RECOVER managed standby database using current logfile disconnect
    The above lines are from alert log of standby database.
    Standby standbase
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-10458: standby database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '+MDMDG1/mdm2/datafile/system.280.738243341'
    Parameters set on primary are
    log_archive_dest_1 LOCATION=+MDMDG3/MDM1/ARCH VALID_FOR=(ALL_LOGFILES,ALL_ROLE ) DB_UNIQUE_NAME=MDM1
    log_archive_dest_state_1 ENABLE
    log_archive_dest_2 SERVICE=MDM2 SYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=MDM2
    log_archive_dest_state_2 ENABLE
    dg_broker_config_file1 +MDMDG2/mdm/dg_config/dgconfig1_mdm.dat
    dg_broker_config_file2 +MDMDG2/mdm/dg_config/dgconfig2_mdm.dat
    fal_server MDM2
    standby_file_management AUTO
    log_archive_config dg_config=(MDM1,MDM2)
    db_file_name_convert MDM2, MDM1
    ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE availability ;
    Standby pfile
    *.archive_lag_target=900
    *.audit_file_dest='/u01/app/oracle/admin/MDM2/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='+MDMDG1/MDM2/CONTROLFILE/controlfile01.ctl','+MDMDG2/MDM2/CONTROLFILE/controlfile02.ctl'
    *.db_block_size=8192
    *.db_create_file_dest='+MDMDG1'
    *.db_domain=''
    *.db_file_name_convert='MDM1','MDM2'
    *.db_name='MDM'
    *.db_recovery_file_dest='+MDMDG2'
    *.db_recovery_file_dest_size=10485760000
    *.db_unique_name='MDM2'
    *.dg_broker_config_file1='+MDMDG2/MDM/DG_CONFIG/dgconfig1_MDM.dat'
    *.dg_broker_config_file2='+MDMDG2/MDM/DG_CONFIG/dgconfig2_MDM.dat'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=MDM2XDB)'
    *.fal_server='MDM11','MDM12'
    *.instance_name='MDM2'
    *.log_archive_config='dg_config=(MDM1,MDM2)'
    *.log_archive_dest_1='LOCATION=+MDMDG3/MDM2/ARCH VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=MDM2'
    *.log_archive_dest_2='SERVICE=MDM1 ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=MDM1'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='MDM_%t_%s_%r.arc'
    *.log_file_name_convert='MDM1','MDM2'
    *.memory_target=838860800
    *.nls_language='ENGLISH'
    *.nls_territory='UNITED KINGDOM'
    *.open_cursors=300
    *.processes=500
    *.remote_login_passwordfile='exclusive'
    *.sessions=555
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    On standby ASM
    ASMCMD [+] > find * *
    +MDMDG1/ASM/
    +MDMDG1/ASM/ASMPARAMETERFILE/
    +MDMDG1/ASM/ASMPARAMETERFILE/REGISTRY.253.737811541
    +MDMDG1/MDM/
    +MDMDG1/MDM2/
    +MDMDG1/MDM2/CONTROLFILE/
    +MDMDG1/MDM2/CONTROLFILE/controlfile01.ctl
    +MDMDG1/MDM2/CONTROLFILE/current.265.738243333
    +MDMDG1/MDM2/DATAFILE/
    +MDMDG1/MDM2/DATAFILE/CANVAS_POPULARITY_DATA.264.738243343
    +MDMDG1/MDM2/DATAFILE/CANVAS_POPULARITY_IDX.277.738243343
    +MDMDG1/MDM2/DATAFILE/MDM_SRC_DATA.282.738243343
    +MDMDG1/MDM2/DATAFILE/MDM_SRC_IDX.275.738243343
    +MDMDG1/MDM2/DATAFILE/MIPS_MDM_DATA.283.738243341
    +MDMDG1/MDM2/DATAFILE/MIPS_MDM_IDX.276.738243343
    +MDMDG1/MDM2/DATAFILE/SYSAUX.281.738243341
    +MDMDG1/MDM2/DATAFILE/SYSTEM.280.738243341
    +MDMDG1/MDM2/DATAFILE/TEST_TBSP1.273.738243345
    +MDMDG1/MDM2/DATAFILE/TEST_TBSP2.272.738243345
    +MDMDG1/MDM2/DATAFILE/UNDOTBS1.256.738243343
    +MDMDG1/MDM2/DATAFILE/UNDOTBS2.279.738243343
    +MDMDG1/MDM2/DATAFILE/USERS.278.738243347
    +MDMDG1/MDM2/ONLINELOG/
    +MDMDG1/MDM2/ONLINELOG/group_1.259.738243429
    +MDMDG1/MDM2/ONLINELOG/group_2.257.738243431
    +MDMDG1/MDM2/ONLINELOG/group_21.284.738243505
    +MDMDG1/MDM2/ONLINELOG/group_22.261.738243505
    +MDMDG1/MDM2/ONLINELOG/group_23.274.738243505
    +MDMDG1/MDM2/ONLINELOG/group_3.258.738243431
    +MDMDG1/MDM2/ONLINELOG/group_31.262.738243513
    +MDMDG1/MDM2/ONLINELOG/group_32.270.738243513
    +MDMDG1/MDM2/ONLINELOG/group_33.263.738243513
    +MDMDG1/MDM2/ONLINELOG/group_4.260.738243431
    +MDMDG2/MDM/
    +MDMDG2/MDM/DG_CONFIG/
    +MDMDG2/MDM2/
    +MDMDG2/MDM2/AUTOBACKUP/
    +MDMDG2/MDM2/AUTOBACKUP/2010_12_20/
    +MDMDG2/MDM2/AUTOBACKUP/2010_12_20/s_738242861.263.738244155
    +MDMDG2/MDM2/CONTROLFILE/
    +MDMDG2/MDM2/CONTROLFILE/controlfile02.ctl
    +MDMDG2/MDM2/CONTROLFILE/current.271.738243335
    +MDMDG2/MDM2/ONLINELOG/
    +MDMDG2/MDM2/ONLINELOG/group_1.270.738243429
    +MDMDG2/MDM2/ONLINELOG/group_2.269.738243431
    +MDMDG2/MDM2/ONLINELOG/group_21.268.738243505
    +MDMDG2/MDM2/ONLINELOG/group_22.272.738243505
    +MDMDG2/MDM2/ONLINELOG/group_23.262.738243505
    +MDMDG2/MDM2/ONLINELOG/group_3.273.738243431
    +MDMDG2/MDM2/ONLINELOG/group_31.266.738243513
    +MDMDG2/MDM2/ONLINELOG/group_32.265.738243513
    +MDMDG2/MDM2/ONLINELOG/group_33.264.738243513
    +MDMDG2/MDM2/ONLINELOG/group_4.261.738243431
    +MDMDG3/MDM/
    +MDMDG3/MDM/ARCH/
    +MDMDG3/MDM2/
    +MDMDG3/MDM2/ARCH/
    -- Please can I know how to open read only standby database.

    user5846399 wrote:
    ORA-16016: archived log for thread 1 sequence# 216 unavailable
    Recovery interrupted!archived log for thread 1 sequence# 216
    This file is needed for recovery, Find it and move it to the standby database side.

  • MS Access database opens read only

    An Access application with linked databases opens read only, but sometimes is editable. The system was developed in Access 10 on a Win 7 machine and migrated to a standalone laptop running Win 8 and Office 365.
    The Access 10 has no problem in operating the application. The Win 8 laptop randomly opens the application read only. I have reviewed Trust settings and there is no difference between the different laptops and systems. 
    Is this a common problem? Is it associated with Win 8? Is it associated with Access form Office 365? The application is crucial to the business and we are getting way behind because we don't have a reliable or useful system. Last year the same application
    ran satisfactorily on Win 7 and Access 10.
    I would welcome some thoughts leading too a solution.

    Hi,
    Did you get the error message like "You are trying to open a read-only database". If yes, this issue may be due to the permission of the Access database. If we migrate the Access database from Access 2010 to Access 2013, the user/account's permission
    may be changed with different Windows operation system. We need the full control permission of the Access database. To workaround this issue, follow these steps:     
    On the desktop, double-click My Computer.
    Locate the Microsoft Access database that you moved.
    Right-click the database name, and then click Properties.
    In the Properties dialog box, clear the Read-only check box under
    Attributes.
    Click OK to apply the change.
    Open your database in Access.
    Please note: Make sure the user has full control of the root folder.
    If no, please tell us the whole error message, we'd like to do further troubleshooting.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • What if "ALTER DATABASE OPEN" WORKS WHEN DB IS INCONSISTENT???

    Hello Everyone,
    I heard from couple of friends that in the case of recovery , oracle database opens despite the fact that some of the data files are inconsistent.
    Is this really true? If it is, then i think its a bug with specific Oracle patch or release.
    Is there anyone who has experienced a similar situation in the past? Please share.
    Thanks.
    sapguy

    Appreciate your response. I ran into a situation where we are not sure of what time choose to choose recovery (point in time) and ended up recovering file by file and its been 100 files .. .none of those files helped with "Media recovery complete" message . This is database refresh from production backup.
    Then when i am trying to issue ALTER DATABASE OPEN RESETLOGS  one of main guy says do not issue OPEN command as it may corrupt the database.
    I came across one of friend who ran into similar situation and he was able open the database , but LATER database started issuing ora 600 due to corrupted files or whatever which never happened.   Forgive me .. if my text is confusing.
    Thanks.

  • After renaming data file it failes during database open

    Hi,
    I took RMAN full back.
    Then i renamed datafile then restored and recovered. It goes fine.
    But during the daabase open it fails with
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '+OBTDG1/qa112asm/datafile/users02.dbf'
    Any specific reason for that?
    =======================================================
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 22 01:19:30 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> backup database;
    connected to target database: QA112ASM (DBID=3746246770)
    RMAN>
    Starting backup at 22-JUL-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=145 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=+OBTDG1/qa112asm/datafile/system01.dbf
    input datafile file number=00003 name=+OBTDG1/qa112asm/datafile/rbs01.dbf
    input datafile file number=00002 name=+OBTDG1/qa112asm/datafile/sysaux01.dbf
    input datafile file number=00004 name=+OBTDG1/qa112asm/datafile/temp01.dbf
    input datafile file number=00005 name=+OBTDG1/qa112asm/datafile/tools01.dbf
    input datafile file number=00006 name=+OBTDG1/qa112asm/datafile/users01.dbf
    input datafile file number=00007 name=+OBTDG1/qa112asm/datafile/vindx.dbf
    channel ORA_DISK_1: starting piece 1 at 22-JUL-10
    channel ORA_DISK_1: finished piece 1 at 22-JUL-10
    piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljcr97_1_1 tag=TAG20100722T011934 co
    mment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 22-JUL-10
    channel ORA_DISK_1: finished piece 1 at 22-JUL-10
    piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back09ljcra0_1_1 tag=TAG20100722T011934 co
    mment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 22-JUL-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup mount
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 275615744 bytes
    Fixed Size 2168944 bytes
    Variable Size 184551312 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 5009408 bytes
    RMAN>run(
    *run {*
    set newname for datafile '+OBTDG1/QA112ASM/users01.dbf' to '+OBTDG1/QA112ASM/users02.dbf' ;
    restore datafile '+OBTDG1/QA112ASM/users01.dbf';
    recover datafile '+OBTDG1/QA112ASM/users01.dbf' noredo;
    switch datafile '+OBTDG1/QA112ASM/users02.dbf' ;
    RMAN>
    2> 3> 4> 5> 6>
    executing command: SET NEWNAME
    Starting restore at 22-JUL-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=137 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00006 to +OBTDG1/QA112ASM/datafile/users02.dbf
    channel ORA_DISK_1: reading from backup piece /qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljc
    r97_1_1
    channel ORA_DISK_1: piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljcr97_1_1 tag=T
    AG20100722T011934
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 22-JUL-10
    Starting recover at 22-JUL-10
    using channel ORA_DISK_1
    Finished recover at 22-JUL-10
    datafile 6 switched to datafile copy
    input datafile copy RECID=2 STAMP=724987222 file name=+OBTDG1/qa112asm/datafile/users02.dbf
    RMAN> alter database open;
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/22/2010 01:20:23
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '+OBTDG1/qa112asm/datafile/users02.dbf'
    =======================================================
    Edited by: user13310502 on Jul 23, 2010 4:49 AM

    as you can see..
    RMAN> sql "alter tablespace andreas offline";
    sql statement: alter tablespace andreas offline
    RMAN> run
    2> {
    3> set newname for datafile 8 to '+FRA';
    4> restore datafile 8;
    5> recover datafile 8;
    6> switch datafile 8;
    7> }
    executing command: SET NEWNAME
    Starting restore at 23-JUL-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00008 to +FRA
    channel ORA_DISK_1: reading from backup piece +FRA/remtest/backupset/2010_07_23/nnndf0_tag20100723t135242_0.3112.725118763
    channel ORA_DISK_1: restored backup piece 1
    piece handle=+FRA/remtest/backupset/2010_07_23/nnndf0_tag20100723t135242_0.3112.725118763 tag=TAG20100723T135242
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 23-JUL-10
    Starting recover at 23-JUL-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:00
    Finished recover at 23-JUL-10
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=725118807 filename=+FRA/remtest/datafile/andreas.3113.725118805
    RMAN> sql "alter tablespace andreas online";
    sql statement: alter tablespace andreas online
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 07/23/2010 13:53:33
    RMAN-11003: failure during parse/execution of SQL statement: alter tablespace andreas online
    ORA-01113: file 8 needs media recovery
    ORA-01110: data file 8: '+FRA/remtest/datafile/andreas.3113.725118805'
    RMAN> run
    2> {
    3> set newname for datafile 8 to '+FRA';
    4> restore datafile 8;
    5> switch datafile 8;
    6> recover datafile 8;
    7> }
    executing command: SET NEWNAME
    Starting restore at 23-JUL-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring datafile 00008
    input datafile copy recid=8 stamp=725118807 filename=+DATA/remtest/datafile/andreas.349.725036143
    destination for restore of datafile 00008: +FRA
    channel ORA_DISK_1: copied datafile copy of datafile 00008
    output filename=+FRA/remtest/datafile/andreas.3114.725118849 recid=9 stamp=725118849
    Finished restore at 23-JUL-10
    datafile 8 switched to datafile copy
    input datafile copy recid=10 stamp=725118850 filename=+FRA/remtest/datafile/andreas.3114.725118849
    Starting recover at 23-JUL-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 23-JUL-10
    RMAN> sql "alter tablespace andreas online";
    sql statement: alter tablespace andreas online

  • Infosec returing error on Lync Edge Server "3.2.5. Database Open Access (database-open-access)"

    I am working on a deployment and in order to get the ports opened to the outside world the InfoSec team runs a scan against the Edge servers. They have come back with the following issue. Has anyone run across this and how do you work around it?
    .2.5. Database Open Access (database-open-access)
    Description:
    The database allows any remote system the ability to connect to it. It is recommended to limit direct access to trusted systems because
    databases may contain sensitive data, and new vulnerabilities and exploits are discovered routinely for them. For this reason, it is a
    violation of PCI DSS section 1.3.7 to have databases listening on ports accessible from the Internet, even when protected with secure
    authentication mechanisms.
    Affected Nodes:
    Affected Nodes: Additional Information:
    69.197.x.x:1434 Running Microsoft SQL Monitor service
    Page 17
    Audit Report
    Affected Nodes: Additional Information:
    69.197.x.x:52591 Running TDS service
    69.197.x.x:1434 Running Microsoft SQL Monitor service
    69.197.x.x:51773 Running TDS service
    References:
    Source Reference
    URL
    https://www.pcisecuritystandards.org/security_standards/download.html?id=pci_dss_v1-2.pdf
    Vulnerability Solution:
    Configure the database server to only allow access to trusted systems. For example, the PCI DSS standard requires you to place the
    database in an internal network zone, segregated from the DMZ

    Hi,
    Would you please tell us which ports did you open for Edge server?
     It seems you open the wrong port from Edge server, please open the right ports for both Edge internal and external interface with the help of the link below:
    http://technet.microsoft.com/en-us/library/gg425891.aspx
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Alter database open

    Hi,
    I try to start a database with the commands
    startup mount
    alter database noarchivelog
    everything is ok up to now
    When I give the command
    alter database open
    I obtain
    ERROR at line 1
    ORA-01092 Oracle instance terminated Disconnection forced.
    Why?
    Thank you,
    Mihaela

    I post the last 120 lines of alert_log:
    Mon Jul 24 12:57:31 2006
    alter database noarchivelog
    Mon Jul 24 12:57:31 2006
    Completed: alter database noarchivelog
    Mon Jul 24 12:57:44 2006
    alter database open
    Mon Jul 24 12:57:47 2006
    Thread 1 opened at log sequence 1281
    Current log# 3 seq# 1281 mem# 0: /web/oradata/simmer/redo03_A.log
    Current log# 3 seq# 1281 mem# 1: /web/oradata/simmer/redo03_B.log
    Successful open of redo thread 1
    Mon Jul 24 12:57:47 2006
    SMON: enabling cache recovery
    Mon Jul 24 12:57:50 2006
    Successfully onlined Undo Tablespace 1.
    Mon Jul 24 12:57:50 2006
    SMON: enabling tx recovery
    Mon Jul 24 12:57:50 2006
    Errors in file /web/bin/oracle/9206/admin/simmer/udump/simmer_ora_1636.trc:
    ORA-12701: CREATE DATABASE character set is not known
    Mon Jul 24 12:57:50 2006
    Error 12701 happened during db open, shutting down database
    USER: terminating instance due to error 12701
    Instance terminated by USER, pid = 1636
    ORA-1092 signalled during: alter database open
    Tue Jul 25 09:52:36 2006
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.6.0.
    System parameters with non-default values:
    processes = 300
    timed_statistics = TRUE
    shared_pool_size = 117440512
    large_pool_size = 16777216
    java_pool_size = 117440512
    control_files = /web/oradata/simmer/control01.ctl, /web/arhive/ctl/control02.ctl, /web/bin/oracle/9206/ctl/control03.ctl
    db_block_size = 8192
    db_cache_size = 33554432
    compatible = 9.2.0.0.0
    db_file_multiblock_read_count= 16
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    undo_retention = 10800
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = SIMMER
    job_queue_processes = 10
    hash_join_enabled = TRUE
    background_dump_dest = /web/bin/oracle/9206/admin/simmer/bdump
    user_dump_dest = /web/bin/oracle/9206/admin/simmer/udump
    core_dump_dest = /web/bin/oracle/9206/admin/simmer/cdump
    sort_area_size = 1048576
    db_name = SIMMER
    open_cursors = 300
    optimizer_mode = rule
    star_transformation_enabled= FALSE
    query_rewrite_enabled = FALSE
    pga_aggregate_target = 25165824
    aq_tm_processes = 1
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    CJQ0 started with pid=8
    QMN0 started with pid=9
    Tue Jul 25 09:52:44 2006
    ALTER DATABASE MOUNT
    Tue Jul 25 09:52:49 2006
    Successful mount of redo thread 1, with mount id 535276268
    Tue Jul 25 09:52:49 2006
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNT
    Tue Jul 25 09:52:50 2006
    ALTER DATABASE OPEN
    Tue Jul 25 09:52:51 2006
    Beginning crash recovery of 1 threads
    Tue Jul 25 09:52:52 2006
    Started redo scan
    Tue Jul 25 09:52:53 2006
    Completed redo scan
    21 redo blocks read, 5 data blocks need recovery
    Tue Jul 25 09:52:53 2006
    Started recovery at
    Thread 1: logseq 1281, block 1240, scn 0.28883578
    Tue Jul 25 09:52:53 2006
    Recovery of Online Redo Log: Thread 1 Group 3 Seq 1281 Reading mem 0
    Mem# 0 errs 0: /web/oradata/simmer/redo03_A.log
    Mem# 1 errs 0: /web/oradata/simmer/redo03_B.log
    Tue Jul 25 09:52:53 2006
    Completed redo application
    Tue Jul 25 09:52:53 2006
    Ended recovery at
    Thread 1: logseq 1281, block 1261, scn 0.28903619
    5 data blocks read, 5 data blocks written, 21 redo blocks read
    Crash recovery completed successfully
    Tue Jul 25 09:52:54 2006
    Thread 1 advanced to log sequence 1282
    Thread 1 opened at log sequence 1282
    Current log# 1 seq# 1282 mem# 0: /web/oradata/simmer/redo01_A.log
    Current log# 1 seq# 1282 mem# 1: /web/oradata/simmer/redo01_B.log
    Successful open of redo thread 1
    Tue Jul 25 09:52:56 2006
    SMON: enabling cache recovery
    Tue Jul 25 09:52:59 2006
    Successfully onlined Undo Tablespace 1.
    Tue Jul 25 09:52:59 2006
    SMON: enabling tx recovery
    Tue Jul 25 09:52:59 2006
    Database Characterset is US7ASCII
    replication_dependency_tracking turned off (no async multimaster replication found)
    Completed: ALTER DATABASE OPEN
    openes.hq.fdeb.ro>
    Thank you,
    Mihaela

  • Alter Database Open Mystery

    We have a script that issued the Startup command this morning. In the .trc logs we are able to see that the Startup command got as far as the Alter Database Mount command. So we know this command completed successfully. But the next command we expect to see is the Alter Database Open command. This was mysteriously absent from the .trc file.
    We lack a full time DBA on our project so we are wondering if there is a logical explanation for this failure? Are there any places we can look to see why the Alter Database Open command was never issued and didn't appear in the .trc log?
    Any suggestions or probably causes would be greatly appreciated.

    DB version 9.2.0.6.0 on Solaris 8
    Just noticed that our /UNDO file system is a 99% and that our UNDO tablespace is using 'auto extend' option. Could this be a potential cause?
    /dev/vx/dsk/rootdg/undo
    11796416 10490922 125853 99% /undo
    The alert log just stopped and didn't show anything regarding the Alter Database Open command. Then it jumps to this morning when one of our guys started the database manually. You can see this where May 3rd entries stop:
    ALTER DATABASE MOUNT
    Thu May 3 23:18:24 2007
    Successful mount of redo thread 1, with mount id 1534972155
    Thu May 3 23:18:24 2007
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNT
    Fri May 4 07:10:07 2007
    Starting ORACLE instance (normal)
    Fri May 4 07:12:57 2007
    Shutting down instance: further logons disabled
    Shutting down instance (immediate)
    License high water mark = 3
    Fri May 4 07:12:57 2007
    ALTER DATABASE CLOSE NORMAL
    ORA-1109 signalled during: ALTER DATABASE CLOSE NORMAL...
    Fri May 4 07:12:57 2007
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archiving is disabled
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Fri May 4 07:13:07 2007
    Starting ORACLE instance (normal)
    Disable cache advisory with old cache parameters
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SCN scheme 3
    Using log_archive_dest parameter default value
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 9.2.0.6.0.
    System parameters with non-default values:
    processes = 200
    timed_statistics = TRUE
    shared_pool_size = 150994944
    java_pool_size = 50331648
    nls_date_format = DD-MON-RR
    control_files = /oracle_data/oradata1/FC/control01.ctl, /oracle_dat
    a/oradata2/FC/control02.ctl, /oracle_data/oradata3/FC/control03.ctl
    db_block_buffers = 22000
    db_block_size = 2048
    db_writer_processes = 2
    dbhandles_cached = 0
    compatible = 9.0.0.0.0
    log_buffer = 524288
    log_checkpoint_interval = 10000
    db_files = 38
    db_file_multiblock_read_count= 32
    dml_locks = 1500
    undo_management = AUTO
    undo_tablespace = undotbs_01
    max_enabled_roles = 100
    remote_login_passwordfile= EXCLUSIVE
    db_domain = .WORLD
    service_names = FC
    utl_file_dir = /apps/oracle9i/admin/FC/script
    job_queue_processes = 1
    systemtrig_enabled = TRUE
    background_dump_dest = /apps/oracle9i/admin/FC/bdump
    user_dump_dest = /apps/oracle9i/admin/FC/udump
    max_dump_file_size = 10240
    core_dump_dest = /apps/oracle9i/admin/FC/cdump
    audit_trail = DB
    sort_area_size = 1500000
    db_name = FC
    open_cursors = 200
    optimizer_mode = choose
    PMON started with pid=2
    DBW0 started with pid=3
    DBW1 started with pid=4
    LGWR started with pid=5
    CKPT started with pid=6
    SMON started with pid=7
    RECO started with pid=8
    CJQ0 started with pid=9
    Fri May 4 07:13:09 2007
    ALTER DATABASE MOUNT
    Fri May 4 07:13:14 2007
    Successful mount of redo thread 1, with mount id 1534971461
    Fri May 4 07:13:14 2007
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE MOUNT
    Fri May 4 07:13:14 2007
    ALTER DATABASE OPEN
    Fri May 4 07:13:15 2007
    Thread 1 opened at log sequence 272984
    Current log# 4 seq# 272984 mem# 0: /rollback_logs/FC/redo04.log
    Successful open of redo thread 1
    Fri May 4 07:13:15 2007
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Fri May 4 07:13:15 2007
    SMON: enabling cache recovery
    Fri May 4 07:13:17 2007
    Successfully onlined Undo Tablespace 17.
    Fri May 4 07:13:17 2007
    SMON: enabling tx recovery
    Fri May 4 07:13:17 2007
    Database Characterset is US7ASCII
    replication_dependency_tracking turned off (no async multimaster replication fou
    nd)
    Completed: ALTER DATABASE OPEN
    Fri May 4 07:15:05 2007
    Thread 1 advanced to log sequence 272985
    Current log# 5 seq# 272985 mem# 0: /rollback_logs/FC/redoFC05.log
    Fri May 4 07:15:28 2007
    Thread 1 advanced to log sequence 272986
    Current log# 6 seq# 272986 mem# 0: /rollback_logs/FC/redoFC06.log
    Fri May 4 07:15:53 2007
    Thread 1 advanced to log sequence 272987
    Current log# 7 seq# 272987 mem# 0: /rollback_logs/FC/redoFC07.log
    Fri May 4 07:16:18 2007
    Thread 1 advanced to log sequence 272988
    Current log# 8 seq# 272988 mem# 0: /rollback_logs/FC/redoFC08.log
    Fri May 4 07:20:20 2007
    Thread 1 advanced to log sequence 272989
    Current log# 9 seq# 272989 mem# 0: /rollback_logs/FC/redoFC09.log
    Fri May 4 07:20:45 2007
    Thread 1 advanced to log sequence 272990
    Current log# 10 seq# 272990 mem# 0: /rollback_logs/FC/redoFC10.log
    Fri May 4 07:21:09 2007
    Thread 1 advanced to log sequence 272991
    Current log# 11 seq# 272991 mem# 0: /rollback_logs/FC/redoFC11.log
    Fri May 4 07:25:21 2007
    Thread 1 advanced to log sequence 272992
    Current log# 2 seq# 272992 mem# 0: /rollback_logs/FC/redo02.log
    Fri May 4 07:25:45 2007
    more

  • Alter database open resetlogs upgrade ;         throwing error

    Recently i have cloned a database from 11.2.0.2 to 11.2.0.3 on a new server.... I got the error as fowwos,
    contents of Memory Script:
    Alter clone database open resetlogs;
    executing Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03004: fatal error during execution of command
    RMAN-10041: Could not re-create polling channel context following failure.
    RMAN-10024: error setting up for rpc polling
    RMAN-10005: error opening cursor
    RMAN-10002: ORACLE error: ORA-03114: not connected to ORACLE
    RMAN-03002: failure of Duplicate Db command at 07/12/2012 16:19:24
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Process ID: 29247
    Session ID: 200 Serial number: 5
    So i have tried
    SQL> alter database open resetlogs upgrade;
    alter database open resetlogs upgrade
    ERROR at line 1:
    ORA-01139: RESETLOGS option only valid after an incomplete database recovery
    SQL> alter database open upgrade;
    alter database open upgrade
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '+DATA_CMX/cmx/datafile/system.270.788451975'
    Any help ?

    Hi,
    Duplicate is not supported using different version of database, so I recommend you don't use duplicate.
    Because RMAN "duplicate" attempts to automatically rename (rename required recover) and open the database you may not use RMAN duplicate for this case, only RMAN restore.
    Perform this work using normal restore database.
    See this example.
    On prod database with db_name/db_unique_name dbupg:
    Recovery Manager: Release 11.2.0.2.0 - Production on Fri Jul 13 15:15:59 2012
    RMAN> backup database plus archivelog delete input;
    Starting backup at 13-JUL-12
    current log archived
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=52 device type=DISK
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=17 RECID=1 STAMP=788540852
    input archived log thread=1 sequence=18 RECID=2 STAMP=788541371
    channel ORA_DISK_1: starting piece 1 at 13-JUL-12
    channel ORA_DISK_1: finished piece 1 at 13-JUL-12
    piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_annnn_TAG20120713T151612_800shf7w_.bkp tag=TAG20120713T151612 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=/u01/app/oracle/flash_recovery_area01/DBUPG/archivelog/2012_07_13/o1_mf_1_17_800rz40y_.arc RECID=1 STAMP=788540852
    archived log file name=/u01/app/oracle/flash_recovery_area01/DBUPG/archivelog/2012_07_13/o1_mf_1_18_800shcsd_.arc RECID=2 STAMP=788541371
    Finished backup at 13-JUL-12
    Starting backup at 13-JUL-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=+DS8000_DG/dbupg/datafile/system.271.788537119
    input datafile file number=00002 name=+DS8000_DG/dbupg/datafile/sysaux.272.788537167
    input datafile file number=00003 name=+DS8000_DG/dbupg/datafile/undotbs1.273.788537199
    input datafile file number=00004 name=+DS8000_DG/dbupg/datafile/users.275.788537229
    channel ORA_DISK_1: starting piece 1 at 13-JUL-12
    channel ORA_DISK_1: finished piece 1 at 13-JUL-12
    piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_nnndf_TAG20120713T151614_800shgw5_.bkp tag=TAG20120713T151614 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:35
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 13-JUL-12
    channel ORA_DISK_1: finished piece 1 at 13-JUL-12
    piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_ncsnf_TAG20120713T151614_800sjm29_.bkp tag=TAG20120713T151614 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 13-JUL-12
    Starting backup at 13-JUL-12
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=19 RECID=3 STAMP=788541412
    channel ORA_DISK_1: starting piece 1 at 13-JUL-12
    channel ORA_DISK_1: finished piece 1 at 13-JUL-12
    piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_annnn_TAG20120713T151652_800sjnf7_.bkp tag=TAG20120713T151652 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=/u01/app/oracle/flash_recovery_area01/DBUPG/archivelog/2012_07_13/o1_mf_1_19_800sjn5q_.arc RECID=3 STAMP=788541412
    Finished backup at 13-JUL-12
    RMAN> backup current controlfile;
    Starting backup at 13-JUL-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    channel ORA_DISK_1: starting piece 1 at 13-JUL-12
    channel ORA_DISK_1: finished piece 1 at 13-JUL-12
    piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_ncnnf_TAG20120713T153435_800tkwl2_.bkp tag=TAG20120713T153435 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 13-JUL-12I used same server to do this work... I really dont recommend that, if yes you must be aware about location of restore... you should use new server:
    Create a spfile:
    *.control_files='+DS8000_DG/dbclone/controlfile/Current.277.788541913'
    *.db_name='dbupg'
    *.db_unique_name='dbclone'
    *.audit_file_dest='/u01/app/oracle/admin/dbclone/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.db_block_size=8192
    *.db_create_file_dest='+MMC'
    *.db_domain=''
    *.db_recovery_file_dest_size=107374182400
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area01'
    *.diagnostic_dest='/u01/app/oracle'
    *.log_file_name_convert='+DS8000_DG','+MMC'
    *.memory_target=1031798784
    *.open_cursors=300Make backup available on new server:
    and:
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 15:33:24 2012
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount
    ORACLE instance started.
    Total System Global Area 1027182592 bytes
    Fixed Size                  2227936 bytes
    Variable Size             599785760 bytes
    Database Buffers          419430400 bytes
    Redo Buffers                5738496 bytes
    SQL> show parameter db_n
    NAME                                 TYPE        VALUE
    db_name                              string      dbupg
    SQL> show parameter db_un
    NAME                                 TYPE        VALUE
    db_unique_name                       string      dbclone
    RMAN> restore controlfile from '/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_ncnnf_TAG20120713T153435_800tkwl2_.bkp';
    Starting restore at 13-JUL-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=290 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
    output file name=+DS8000_DG/dbclone/controlfile/current.277.788541913
    Finished restore at 13-JUL-12
    RMAN> startup mount
    database is already started
    database mounted
    released channel: ORA_DISK_1
    RMAN> run {
    2> SET NEWNAME FOR DATABASE TO '+MMC';
    3> restore database  ;
    4> }
    executing command: SET NEWNAME
    Starting restore at 13-JUL-12
    Starting implicit crosscheck backup at 13-JUL-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=290 device type=DISK
    Crosschecked 4 objects
    Finished implicit crosscheck backup at 13-JUL-12
    Starting implicit crosscheck copy at 13-JUL-12
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 13-JUL-12
    searching for all files in the recovery area
    cataloging files...
    no files cataloged
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to +MMC
    channel ORA_DISK_1: restoring datafile 00002 to +MMC
    channel ORA_DISK_1: restoring datafile 00003 to +MMC
    channel ORA_DISK_1: restoring datafile 00004 to +MMC
    channel ORA_DISK_1: reading from backup piece /u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_nnndf_TAG20120713T151614_800shgw5_.bkp
    channel ORA_DISK_1: piece handle=/u01/app/oracle/flash_recovery_area01/DBUPG/backupset/2012_07_13/o1_mf_nnndf_TAG20120713T151614_800shgw5_.bkp tag=TAG20120713T151614
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:46
    Finished restore at 13-JUL-12
    RMAN> recover database;
    Starting recover at 13-JUL-12
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 13-JUL-12So, just startup with upgrade option.
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Jul 13 15:39:31 2012
    SQL>  alter database open resetlogs upgrade; Now you can upgrade your database.
    After upgrade database you can change the database name using NID:
    $ nid
    DBNEWID: Release 11.2.0.3.0 - Production on Fri Jul 13 15:50:23 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Keyword     Description                    (Default)
    TARGET      Username/Password              (NONE)
    DBNAME      New database name              (NONE)
    LOGFILE     Output Log                     (NONE)
    REVERT      Revert failed change           NO
    SETNAME     Set a new database name only   NO
    APPEND      Append to output log           NO
    HELP        Displays these messages        NOHTH,
    Levi Pereira
    Edited by: Levi Pereira on Jul 13, 2012 4:04 PM

  • Alter database open resetlogs

    Hi,
    when I try to duplicate my database by RMAN I have :
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of log thread 1 seq 1452 scn 252730 found to restore
    I connect to duplicate database in sqlplus , it is not open.
    Than I do :
    alter database open resetlogs;
    And the database would be open.
    Is it bad ? Will we lose the data ? If yes what solution do you propose ?
    Effectively I do not know how to use this informations :
    log thread 1 seq 1452 scn 252730 found to restore
    Please help me to use this informations if helplfull.
    Many thanks.

    From Oracle Error documentation:
    RMAN-06025: no backup of log thread number seq number lowscn string found to restore
    Cause: An archive log restore restore could not proceed because no backup of the indicated archived log was found. It may be the case that a backup of this file exists but does not satisfy the criteria specified in the user"s restore operands.
    Action: None - this is an informational message. See message 6026 for further details.
    RMAN-06026: some targets not found - aborting restore
    Cause: Some of the files specified for restore could not be found. Message 6023, 6024, or 6025 is also issued to indicate which files could not be found. Some common reasons why a file can not be restored are that there is no backup or copy of the file that is known to recovery manager, or there are no backups or copies that fall within the criteria specified on the RESTORE command, or some datafile copies have been made but not cataloged.
    Action: The Recovery Manager LIST command can be used to display the backups and copies that Recovery Manager knows about. Select the files to be restored from that list.
    It seems you do not have some of the files required for recover operation. Could you post how this database is backed up using RMAN?

Maybe you are looking for

  • New VMS/IPC boxes - speed and pricing

    For the most part, I've been a very happy FiOS customer. The internet side has gone out exactly once in the year I've had the service, and it was restored within an hour. TV has dropped out twice, both times very late at night (I assume for head-end

  • ID3 tags and itunes refusing to add music to library

    As my music collection is growing, I decided to organize it a bit more and fill in the different ID3 tags in windows. I have emptied my itunes library before I did all this, and after changing the ID3 tags I added the different albums back to itunes.

  • Sending email with attachment

    Hi experts I want to send email from my oracle 10.1.0.2.0 DB using UTL_MAIL.SEND_ATTACH_RAW procedure, email is through but the attached file is not going through. UTL_MAIL.SEND is doing fine. I have created the mail_attachment Directory in the datab

  • Copy value from first detail form to second detail form

    Hi all i have form and the fileds are like that these are multiple prod_id   prod_name    quantity    price 101         drees             5             200 102          top               3             150 205          jean              2             

  • Compressor "quits unexpectedly" on startup

    I'm sorry I can't give more information, but.... Every time I open Compressor (3.05) it "quits unexpectedly". I've tried reinstalling; upgrading; deleting and reinstalling; deleting, reinstalling and upgrading.... and nothing has worked so far. I've