Error ORA-01110

Hi all


My DB: 10.2.0

OS: Soalris

I am facing this problem

ORA-01187: cannot read the file ORA-01187: cannot read the file 201 because she has no verification tests
ORA-01110: data file 201: "+ WICS1/temp01.dbf".

According to the guidelines of your output, it seems very well with the data files.

Have you try to create a new temporary tablespace?

Create a new temporary tablespace with location '+ WICS1/bscsprod/tempfile/temp2_01.tmp', make sure you have the appropriate directories.

Newly created this tempfile status indication, if any problem affecting all users that this new temporary tablespace.

Still you face the same problems, raise a SR.

Tags: Database

Similar Questions

  • Error: ORA-01110, ORA-01578 and ORA-26040

    Oracle installed:

    The RAC

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    PL/SQL Release 11.2.0.3.0 - Production

    "CORE 11.2.0.3.0 Production."

    AMT for Linux: Version 11.2.0.3.0 - Production

    NLSRTL Version 11.2.0.3.0 - Production

    Linux: Red Hat 64-bit

    Question: I get the following error.  Can someone provide suggestions?

    Thank you.

    Caused by: java.sql.BatchUpdateException: ORA-01578: data corrupted ORACLE (file # 9, block # 316) block
    ORA-01110: data file 9: "+ DATA/msodev/datafile/cmd_default.344.881030253".
    ORA-26040: data block has been loaded using the NOLOGGING option

    Hello

    First ask the dba_extents to identify the nom_segment and nom_tablespace something lke below

    Select the owner, nom_segment, tablespace_name from dba_extents where FILE_ID = 9 and 316 between BLOCK_ID and BLOCK_ID + BLOCKS;

    Once you identify the object you can drop and re-create if his index finger, using DBMS_REPAIR if his table...

    You can find more information in the metalink note

    ORA-1578 / ORA-26040 corrupt blocks by NOLOGGING - explanation of the error and the solution (Doc ID 794505.1)

  • ORA-01110: data file 1: ' / u01/app/oracle/oradata/tbmdb/system01.dbf'

    I'm back RMAN.

    For purposes of experience, I moved control02.ctl of actual position and then restore the backup. After you restore successfully, I couldn't open DB again and meet the error ORA-01110, I need your help to understand the error on my part and its resolution.

    RMAN> restore controlfile from '/u01/app/oracle/fast_recovery_area/TBMDB/backupset/2013_03_26/o1_mf_ncsnf_TAG20130326T164239_8o32h84t_.bkp';
    
    Starting restore at 27-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=129 device type=DISK
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/u01/app/oracle/oradata/tbmdb/control01.ctl
    output file name=/u01/app/oracle/fast_recovery_area/tbmdb/control02.ctl
    Finished restore at 27-MAR-13
    $sqlplus / as sysdba
    
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area  521936896 bytes
    Fixed Size              2229944 bytes
    Variable Size            402655560 bytes
    Database Buffers       109051904 bytes
    Redo Buffers              7999488 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/app/oracle/oradata/tbmdb/system01.dbf'
    Published by: malhi on 27 March 2013 23:55

    Hello;

    It looks like how you restored the control antagonized file a copy who did align with current data files.

    I just tested this I'll now what I did different here in a moment.

    My test:

    http://www.Visi.com/~mseberg/RMAN/simulating_loss_of_control_files_rman.html

    The link shows all the details. What jumps out is two things. I put the DBID and I let RMAN decide what control file to restore. View I had the same ORA-01589 like you and how I recovered from it.

    RMAN > restore database;
    SQL > alter database open resetlogs;
    RMAN > reset database;

    and then the test data.

    Best regards

    mseberg

    Published by: mseberg on March 28, 2013 02:22

  • duplicated in database: ends with error: rman-06136 ora-01110

    OS: Linux REDHAT 5
    DB: 11.2.0.3

    Source DB backed up using rman full backup incremental level 1 twice and scp all backupsets to auxiliary hosts.

    I try to reproduce as follows:
    Run {}
    data duplicated in TST
    UNTIL TIME ' TO_DATE (NOVEMBER 12, 2012 ',' ' HH24:MI:SS JJ/MM/AAAA).
    location of backup "/ stage/TST.
    NOFILENAMECHECK;
    }

    Everything worked out to restore all the, and then he proceeded to recover with following error message:

    Oracle error:
    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: '+ DAT/tst/datafile/system.279.799358399 '.

    Then he kept to the end with the following errors;
    ORACLE auxiliary database error: ORA-19751: could not create the file change tracking
    ORA-19750: change the trace file: "+ DAT/prds/changetracking/ctf.906.799250971".
    ORA-17502: ksfdcre:4 cannot create the +DAT/prds/changetracking/ctf.906.799250971 file
    ORA-15046: ASM '+ DAT/prds/changetracking/ctf.906.799250971' file name is not unique creation as a file

    Ignore the error, retry command after only two copies ends

    content of Script memory:
    {
    ALTER clone database open resetlogs;
    }
    execution of Script memory

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 14/11/2012 22:26:18
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: '+ DAT/tst/datafile/system.279.799358399 '.

    RMAN >

    Should I proceed from here?

    Thank you.

    Yes

    Here is my document to support:

    During replication of the database, Rman error ora-1547, ora-1152, ora-1110 during recovery [274118.1 ID]

    Best regards

    mseberg

  • ORA-01547 ORA-01194 ORA-01110

    Hello

    I'm user managed backup and restore. (Source and target are in different servers (RHEL 4 with Oracle 10.2.0.3) 64-bit.

    In the Source

    1. change the system switch logfile-> to mark a new beginning

    2 alter database backup controlfile to trace

    3. copy this file to control for target

    4. turn each tablespace in backup mode, copy its data files to target and complete the mode backup tablespace. Repeat this for all areas of storage

    5 verified that no data file is in backup mode (all files have given status 'INACTIVE' backup$ v);

    In the target

    1. changes to the control file to reflect the dbname and paths and all,

    2. Since the nomount db and then created the control file using the copy of the source

    3. recover database until cancel using backup controlfile;

    4. has published the newspaper archive (copied from the source to destination).


    I issued alter system switch logfile in source several times (10 times more), copied all logs archived and applied to the target. But still get ORA-01547, ORA-01194 and ORA-01110 in target when I issue cancel.

    What should do? What Miss me?

    I tried to redo the whole process, and it worked. I'm still not able to understand what the question was. But I made this a hundred times, and it's the first time I had this error.

    But I was able to go through this process again and got my dev.

    Thank you all for your time.

  • Re: File data offline - ORA-01190: & ORA-01110:

    Spec:

    5 Linux

    Oracle 11.2.0.3

    Problem

    I can't put a data file online, due to the following error:

    SQL > alter database datafile 24 online. ALTER database datafile 24 online * ERROR at line 1: ORA-01190: command file or data file 24 just before the last RESETLOGS ORA-01110: data file 24: ' / oraappl/pca/vdevl/vdevldata/vol01.dbf'

    What I've done so far:

    -Restore and recover the database

    -Restored and recovered the data file (24)

    -Restored the controlfile and start the database

    None of the above worked.

    The following options are.

    -Re-create the control file-> I don't know how this will work.

    -to drop datafile 24 and add it-> I don't want to lose the contect.

    All the tips of this crew?

    Problem solved:

    OK since no more comment, I'll close this thread by posting the fix.

    Backgroud, this is a database of development. So had the opportunity to do a bit of what I did to solve the problem.

    Solution:

    Given that I had a backup of the table space in a different database, I could drop the tablespace and re-create.

    How to--->

    First, check out all the tables related to this tablespace

    Select dba_tables owner, table_name, nom_tablespace where nom_tablespace = 'FLIGHT ";

    Then, I realized that a single table was in this tablespace (lucky me).

    Secondly, I take all the constraints for this table. Disable constraints and drop them.

    Thirdly, once the table has been released from constraints, I drop the tablespace

    DROP tablespace flight including content and data files;

    Fourthly, to recreate the tablespace

    CREATE TABLESPACE FLIGHT DATAFILE ' / oraappl/pca/vdevl/vdevldata/vol01.dbf' SIZE 200 M reuse autoextend off local extended management;

    And fifth, after you recreate the tablespace, I imported the data using the data pump in

    Impdp system /@ TABLES = pcvdbms. DIRECTORY of PCV_VOLUNTEER = VOLDEV_DIR DUMPFILE = vdevl_full_b4upgrade.dmp TABLE_EXISTS_ACTION = REPLACE

    Finally, back up the entire database using RMAN and DATAPUMP.

  • Error ORA-01115 creating the materialized view

    Hi friends,

    When I create a materialized view it by throwing some error

    CREATE THE PNR_RES_MV MATERIALIZED VIEW
    TABLESPACE FAS
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    REFRESH THE STRENGTH TO DEMAND
    WITH THE PRIMARY KEY
    AS
    SELECT C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR,-, B.LEG_NMBR, C_PAX_NMBR
    COUNT (CASE WHEN TRIM (B.CURRENT_STATUS_CD) = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "OR C_CHANGE_OR_CANCELL_IND IS NULL) THEN 1 OTHER TRAILING NULL) CONFIRMED_COUNT,.
    COUNT (CASE WHEN (B.CURRENT_STATUS_CD) TRIM = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "or C_CHANGE_OR_CANCELL_IND IS NULL) null THEN 1 OTHER END) cancELLED_COUNT
    OF PNR_RES_LEG_PAX_MV B, PNR_RES HAS
    WHERE A.PNR = B.PNR
    AND a.CREATION_DATE = b.CREATION_DATE
    - and A.BOOKING_OFFC_NMBR = '1F'
    - AND C_PNR = 'XE76V. '
    AND A.FILE_UPDATE_DATE. A.UPDATE_DATE IN (SELECT MAX (D.FILE_UPDATE_DATE |)) (UPDATE_DATE) OF PNR_RES D WHERE D.PNR = B.PNR AND D.CREATION_DATE = B.CREATION_DATE)
    GROUP OF C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR;



    When executing it it gives this error


    ORA-01115: reading block IO file error 4 (block # 63757)
    ORA-01110: data file 4: ' D:\APP\IGT\ORADATA\ORCL\USERS01. DBF'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read the file
    S/O-error: (27 OS) the drive cannot find the sector requested.



    And I checked through RMAN

    RMAN > validate the audit logic datafile 4;

    From post 11 March 14
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 127 type device = DISK
    channel ORA_DISK_1: starting from the data file validation
    channel ORA_DISK_1: datafile (s) for specification validation
    Enter a number of file datafile = 00004 name = D:\APP\IGT\ORADATA\ORCL\USERS01. DBF
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure to validate the command channel ORA_DISK_1 11/03/2014 13:0
    04:12
    ORA-19501: read error on the file 'D:\APP\IGT\ORADATA\ORCL\USERS01. DBF', block numbe
    r 63745 (block size = 8192)
    ORA-27070: async read/write failed
    OSD-04016: error queuing an asynchronous i/o request.
    S/O-error: (27 OS) the drive cannot find the sector requested.



    Please suggest me what to do it is a mistake to associate related database or OS. DB version is - 11 GR 2


    Kind regards


    Arya


    This is the error message that you should focus:

    > O/S-error: (27 OS) the drive cannot find the sector requested.

    Run disk checker utilities, eventually the file system is damaged.

    Hemant K Collette

  • ORA-01578: block of data corrupted ORACLE ORA-01110: data file 46:, ORA-06512: at line 1 ScanningError 1038246

    We get error below of the application team. Please find attached the file backup rman error.

    ORA-01578: ORACLE corrupt data (file # 46, block # 64626) ORA-01110: data file 46: ' / db04_hlt/PHCLMDB/PHCLMDB_DATA/phclm21.dbf' ORA-06512: at "HCLM_ADMIN. SCANPROC_INSUPLOADTEMP", line 16 ORA-06512: at line 1 ScanningError 1038246

    fe40282660394026b5f76bf3f5d649e4 SCANPROC_INSUPLOADTEMP-ORA-01578: data block (file # 46, block # 64626) corrupted ORACLE ORA-01110: data file 46:

    Hello

    Please follow the steps to format corrupt block a used the procedure mentioned in the document below, please note that you need to do several times for all the block corrupted in free space.
    Doc-ID 336133.1===> how corrupt Format block is not part of any Segment.

    Following the notes 293515.1 -->> ORA-1578 ORA-26040 in a LOB segment - Script to resolve errors

    This note is for these errors, but the procedure is exactly the same, we must:

    1 - identify the ROWID affected
    2 - Put the ROWID corrupted on EMPTY_LOB
    3. When you MOVE the LOB to a new Tablespace

    These are essentially the steps, the note shows how

    Kind regards

    Alok

  • ORACLE auxiliary database error: ORA-01152: 2 file was not restored en

    Hello

    I'm trying to clone a database. It is in log mode archive.
    I took a complete using below command
    run {
      backup
         tag 'DAILY_WHOLE'
         format 'FULL_backup_%s_%p_%c.bkp'     database
         plus archivelog
         tag 'DAILY_WHOLE'
         delete all input;
      backup
         current controlfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE'
         spfile
         format 'FULL_backup_%s_%p_%c.bkp'     tag 'WHOLE';
    }
    then I run a duplicate database command
    RUN
    {                         
     DUPLICATE DATABASE TO TEST_DB
              NOFILENAMECHECK
                NOREDO
               BACKUP LOCATION '/disk10/flash_recovery_area/PROD';
     }
    in the end, I got this error.
    contents of Memory Script:
    {
       Alter clone database open resetlogs;
    }
    executing Memory Script
    
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/15/2013 11:59:21
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01152: file 2 was not restored from a sufficiently old backup
    ORA-01110: data file 2: 'sysaux.dbf'
    Can someone help me? I'd be happy. Thank you

    NOREDO would be used when you have a consistent backup (i.e. backup performed while the database is mounted, but is not OPEN) and so any archivelogs must be applied. (It would also be the case for a NOARCHIVELOG database).

    See the notes on NOREDO in order to DUPLICATE documentation in the backup and recovery of reference.

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta020.htm#i81724

    Hemant K Collette

  • ORA-01110: data file 1: ' / opt/oracle/oradata/pd1perf/SYSTEM01. DBF'

    HI Experts

    I'm trying to convert the window (oracle 10g) to using linux (oracle 10g) in the light of the tutorial link. My database is in archivelog mode

    http://kamranagayev.com/2010/08/20/RMAN-convert-database-video-tutorial/

    When I'm trying to change the open database resetlogs then his error giving

    SQL > ALTER DATABASE OPEN RESETLOGS
    *
    ERROR on line 1:
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / opt/oracle/oradata/pd1perf/SYSTEM01. DBF'

    even I tried
    recover database using backup controlfile
    and
    recover database using backup controlfile until cancel

    Check your version to minimum 10.2.0.4. And I think that version should be one even on two machines

  • Slaughter of the recovery process... ORA-01110

    Salvation of the experts;

    I created physical Standby. I'm the archives when I start the recovery process by issuing

    change recover managed standby database disconnect log file using current;

    But when I stop this process and change the database open

    ALTER database recover managed standby database cancel

    newspaper reports no errors, but I get when "alter database open"

    ERROR on line 1:
    ORA-16004: backup database requires recovery
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / u02/app/oracle/oradata/orcl/system01.dbf'

    This. In fact, I had copied all the data files without issue "ALter database begin backup.

    So please give me the solution

    Thanks in advance
     Actually I had copied all datafiles without issuing "ALter database begin backup"
    

    You have created primary waiting for database by copying the database files directly? Did you stop your primary database during this activity or not?

    Best used hot backup for the creation of database of pending or RMAN backup

    HOT BACKUP:-https://sites.google.com/site/catchdba/physical-standby-database-using-hotbackup

    BACKUP RMAN:-HTTPS://BLOGS.ORACLE.COM/ALEJANDROVARGAS/RESOURCE/DATAGUARD/HOW%20TO%20CREATE%20A%20PHYSICAL%20STANDBY%20DATABASE%20USING%20RMAN%20DUPLICATE%20COMMAND.PDF

  • recover standby db with the error: ORA-01157

    I added two data files to the main database, and somehow the newspaper from the day before apply kept fail with the following error:
    SQL > SQL > ORA-00283: cool cancelled due to errors
    ORA-01111: name for the data file 613 is unknown - rename it to the correct file
    ORA-01110: data file 613: "/ u0/oracle/orahome/dbs/UNNAMED00613.
    ORA-01157: cannot identify/lock data file 613 - see DBWR trace file
    ORA-01111: name for the data file 613 is unknown - rename it to the correct file
    ORA-01110: data file 613: ' / u01/oracle/orahome/dbs/UNNAMED00613.


    Then I disabled standby_file_management and try now with the error:
    ALTER database create datafile ' / u01/oracle/orahome/dbs/UNNAMED00613 "as"+ PRD_DAT/prd/datafile/indx_02.891.793937499 ".
    *
    ERROR on line 1:
    ORA-01276: cannot add files
    + PRD_DAT/prd/datafile/indx_02.891.793937499.  File has a file name of Oracle managed files.

    How can I solve this problem?

    ALTER database create datafile ' / u01/oracle/orahome/dbs/UNNAMED00613 "as"+ PRD_DAT/prd/datafile/indx_02.891.793937499 ".
    *
    ERROR on line 1:
    ORA-01276: cannot add files
    + PRD_DAT/prd/datafile/indx_02.891.793937499. File has a file name of Oracle managed files.

    It's an OMF. Impossible to assign names to it. Please try as below:

    ALTER database create datafile ' / u01/oracle/orahome/dbs/UNNAMED00613 ' as new;

    Refer to this http://shivanandarao.wordpress.com/2012/04/02/managed-recovery-process-mrp-terminates-on-standby-database-upon-adding-datafile-on-the-primary-database/

  • Error ORA-ORA-27072 IO 27091

    Hello

    Currently, I was in the activity to a few large tables of a database to another on Oracle 9i (9.2.0.8.0) on AIX (5.3).

    After the movement to the other database using the export and import, I am faced with the question as shown below;

    SQL > select count (*) in the SSRDE. TXT_OLD;
    Select count (*) in the SSRDE. TXT_OLD
    *+
    ERROR on line 1:
    ORA-01115: reading block IO file error 114 (block # 292873)
    ORA-01110: data file 114: ' / u02/oradata/exp_xx/indx/tt_data15.dbf'
    ORA-27091: skgfqio: unable to queue I/O
    ORA-27072: skgfdisp: i/o error
    IBM AIX RISC System/6000 error: 5: i/o error

    As I'm trying to access one of the large tables, an IO error appears on the database where they have just been migrated.

    I tried, but there is no clear indicators on OS as to what is causing the problem and how to check the above.

    Thank you

    Hello

    It seems that you hit a bug...

    See the TechNote MOS:
    * ORA-01115 ORA-01110 27091 ORA ORA-27072 error: 5: IO error [559697.1 ID] *.

    Thank you
    A H E E R X

  • Issue of DB: error ORA-00333 & ORA-01589: must use RESETLOGS or NORESETLOGS

    Hello

    I have question DB Oracle 9.2.0.6.0 all start-up:

    DB mount OK,

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-00333: make the mistake of reading newspaper block 106498 County 8192


    then I tried some recovery as below, but always error:
    =================================
    SQL > recover database until cancel;
    ORA-00279: change 9228925192024 September at 2010-12-29 15:20:48 needed to screw 1
    ORA-00289: suggestion: /ora/datafile/archive/1_250.dbf
    ORA-00280: change 9228925192024 thread 1 is in sequence #250


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    ORA-00308: cannot open archived log ' / ora/datafile//archive/1_250.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3


    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / ora/datafile/system01.dbf'

    ----------------------------------------

    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01194: file 1 needs a recovery more match
    ORA-01110: data file 1: ' / ora/datafile/system01.dbf'

    ----------------------------------------

    SQL > alter database open;
    change the database open
    *
    ERROR on line 1:
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open
    ====================================================

    Please guide to do this,

    Thank you and best regards,
    Vishnu

    If the Redo Log file CURRENT (status in V$ LOG or reading the alert.log indicating that the switch in this journal of recovery has been done) is corrupt, the only recourse is to RESTORE the database from a previous backup and then BACK up to the previous to redo log / ArchivedLog.

    See the documentation on the various scenarios:

    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/recoscen.htm#CACFFJFB

    Hemant K Collette

  • ORA-01110: data file 1: ' +DATA/cchdr/datafile/system.266 open when sleep

    I configured a physical standby with the primary node 3 CARS. All servers are Redhat 2.6, Oracle 11.2.

    After duplicate successively elementary to the wait, I tried to open the physics of the day before, but error
    SQL> alter database open;
    ERROR at line 1:
    ORA-10458: standby database requires recovery
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATA/cchdr/datafile/system.266.718714217'
    Then I tried
     SQL> alter database recover datafile '+DATA/cchdr/datafile/system.266.718714217';
    alter database recover datafile '+DATA/cchdr/datafile/system.266.718714217'
    *
    ERROR at line 1:
    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-00283: recovery session canceled due to errors
    ORA-01666: control file is for a standby database
    What's wrong?
    Thank you.

    Ok. First of all, did you restart recovery with ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT; first? Since killed yo9u things you must get the day before to a consistent state.

    Now, that error means generally that you created the standby controlfile (that you used to create the previous day in the first place) before you took the backup of the primary. You need to take backup of the primary, and then create the standby control file. You can try to recreate the standby control file. Stop the day before, go to primary and create a new standby controlfile, replace the day before with this new controlfile and restart the day before. Start the recovery, let her run a little and then try again.

    And if you use ASM follow Note 734862.1 "Guide step by step on how to re-create the standby control file when the data files are on ASM and Using Oracle Managed File."

    Larry

Maybe you are looking for