migrated database recovery

Hello
Use windows server 2003, X 86 system, oracle version we use is 10.2.0.1.0
I have a linux installed 5.7 on a 32 bit machine with oracle 11.2.0.1.0
the migration process was done with rman
SQL > select status from v$ instance;

STATUS
------------
MOUNTED

SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-01113: file 1 needs media recovery
ORA-01110: data file 1:
' / home/oracle/u01/app/oracle/oradata/linux/data_files/O1_MF_SYSTEM_82N5T2TV_. DBF
'

SQL > restore database;
ORA-00283: cool cancelled due to errors
ORA-16433: the database should be opened in read/write mode.
*
*
pFile the migrated database
# Please change the values of the following parameters:
allowresetlogs_corruption = true
control_files = ' / home/oracle/u01/app/oracle/oradata/linux/control_files/linux_control01.ctl','/home/oracle/u01/app/oracle/oradata/linux/control_files/linux_control02.ctl'


db_create_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/data_files /'"
db_recovery_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/fra /'"
db_recovery_file_dest_size = 2147483648
audit_file_dest = "/ home/oracle/u01/app/oracle/oradata/linux/adump /'"
core_dump_dest = "/ home/oracle/u01/app/oracle/oradata/linux/cdump /'"



db_name = 'LINUX '.



# Please examine the values of the following parameters:

__shared_pool_size = 88080384

__large_pool_size = 4194304

__java_pool_size = 4194304

__streams_pool_size = 8388608

__db_cache_size = 390070272

Remote_login_passwordfile = "EXCLUSIVE."

db_domain = «»



# The following parameters values from source database:

process = 150

shared_pool_size = 88080384

LARGE_POOL_SIZE = 4194304

JAVA_POOL_SIZE = 4194304
'newly.ora' 61L, 1523C
*
*
SQL > restore database using backup controlfile until cancel;
ORA-00283: cool cancelled due to errors
ORA-16433: the database should be opened in read/write mode.


SQL > parameter sho allow

VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
allowresetlogs_corruption boolean TRUE
*
*
SQL > select HXFIL File_num, substr(HXFNM,1,40) filename, Type FHTYP, HXERR validity.
FHSCN SNA, FHTNM TABLESPACE_NAME, status FHSTA, FHRBA_SEQ sequence
x $ KCVFH;
SCRIPT FILE_NUM FILE_NAME STATUS TABLESPACE_NAME SNA VALIDITY
---------- ---------------------------------------- ---------- ---------- ---------------- ------------------------------ ---------- ----------
1/home/oracle/u01/app/oracle/oradata/linu 3 0 * 1880106 * SYSTEM 8196 1
2/home/oracle/u01/app/oracle/oradata/linu 3 0 * 1880106 * UNDO 4 1
/ home/oracle/u01/app/oracle/oradata/linu 3 3 0 * 1880106 * SYSAUX 4 1
/ home/oracle/u01/app/oracle/oradata/linu 4 3 0 * 1880106 * TEST 4 1



Please suggest how to open the database
Thanks in advance

Edited by: 946207 21 August 2012 10:23

SQL > recover database unti * he's * Cancel
ORA-00905: lack of keyword

recover database until cancel;

Tags: Database

Similar Questions

  • The database recovery/restore failed with unexpected error 509

    Hello

    The database recovery/restore failed with unexpected error 509

    In the Event Viewer, I had this error SEVERAL times every second.  He goes absolutely crazy.

    I don't know what to do with it.

    I'm with Windows 8 Pro running on a very stable computer with 8gig of ram, plenty of hard drive space.  Each single drivers updated Windows Update.  Everything is really clean except this error in Event Viewer

    Svchost SRUJet (1624): database recovery/restore failed with unexpected-509 error.

    Task category: registration/recovery

    Esentutl /p /r tried / everything but nothing wrong was found with those

    Thanks for any help.

    Exactly the same problem, nothing Microsoft recommended was the cause, scannow and DISM commands are returned without error.

    So I went to the event viewer and scrolled down to find, when these errors began to occur. So I found a few entries initially saying things like: an attempt to move the file 'C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\EDB.log' to 'C:\Users\xxxxxxxx\AppData\Local\TileDataLayer\Database\EDB00008.log' failed indicating system 183 (0x000000b7) error: "cannot create a file when that file already exists.

    Then, I went to C:\Users\xxxxx\AppData\Local\TileDataLayer\Database\ and removed the files listed (e.g., EDB00008.log).

    Bingo, the errors will stop immediately.

  • Best tactic to migrate the recovery catalog

    Catalogue #Recovery
    Oracle9i 9.2.0.1.0
    Windows 2003 Server - 32-bit

    Our catalog of recovery is an old, this will improve to 11g, but we need to make a new server for him as well.

    Correct me if I'm wrong, but a means should be just to create a new server, install oracle and the database and re - connect all users in recovery catalog to it and make new backups on them for information about the backup in the new catalog.

    However, not is it possible to export data from the old catalog of recovery, to the new catalog of recovery?

    Please guide me to the best tactics


    Kind regards

    migrate from catalogue of 9i to 10g

    Read the link.

    Concerning
    Asif Kabir

  • Convert DR database recovery pending database

    Hi all

    11 GR 2

    OL 6.5

    I have a backup RMAN PROD server.

    I also backup current cf and cf standby backup.

    Then I copied the following on the DR server.

    1. backup of database

    2. the current CF (controlfile)

    3 stadby cf

    4 archiving logs

    Can I perform a normal recovery using the current see (not yet open)

    My question is, can I replace the current CF with CF Eve, then start going up and resume the recovery pending?

    Kind regards

    JC

    Hello

    Yes you can!

    you will need to take a controlfile Eve since elementary school and replace it.

    RMAN > backup controlfile Eve format ' / tmp/standby_ctl.tmp ';

    Take the controlfile and location pending restore

    RMAN > restore controlfile eve of ' / tmp/standby_ctl.tmp ';

    Once completed.

    SQL > alter the editing of the database;

    SQL > select controlfile_type, open_mode from v$ database;

    -->, he must return to sleep

    SQL > alter database recover managed standby database disconnect;

    Thank you

  • The database recovery

    Hi all

    EBS R12.2.4

    OEL6

    I play with the recovery of database > restore database using backup controlfile until cancel;

    but I encountered error:

    ORA-00279: change 5965308871319 September at 29/11/2015 10:49:20 needed to

    thread 1

    ORA-00289: suggestion: /home/ARCH/1_212_894234402.dbf

    ORA-00280: change 5965308871319 thread 1 is in sequence #212

    ORA-00278: log file ' / home/ARCH/1_211_894234402.dbf' is no longer necessary for this

    recovery

    ORA-00283: cool cancelled due to errors

    ORA-01244: datafile (s) without a name added to the control file by the media recovery

    ORA-01110: data file 42: ' / home/oraprod/PROD/data/a_txn_ind10.dbf'

    ORA-01112: media recovery not started

    SQL > shutdown immediate;

    ORA-01109: database is not open

    The database is dismounted.

    ORACLE instance stops.

    SQL > bootable media.

    ORACLE instance started.

    Total System Global Area 2137886720 bytes

    Bytes of size 2230072 fixed

    452987080 variable size bytes

    1660944384 of database buffers bytes

    Redo buffers 21725184 bytes

    Mounted database.

    SQL > restore database using backup controlfile until cancel;

    ORA-00283: cool cancelled due to errors

    ORA-01111: 42 data file name is unknown - rename it to the correct file

    ORA-01110: data file 42: ' / home/oraprod/PROD/11.2.0/dbs/UNNAMED00042'

    ORA-01157: cannot identify/lock data file of 42 - see DBWR trace file

    ORA-01111: 42 data file name is unknown - rename it to the correct file

    ORA-01110: data file 42: ' / home/oraprod/PROD/11.2.0/dbs/UNNAMED00042'

    SQL >

    Help, please...

    Thank you

    JC

    You cannot copy directly, but you can save only data file with rman "backup datafile 42. However, the RCS in the header of the data file would be different now, and you cannot recover.

    You said in one of the message that the file without a NAME no longer exists? You rename it using 'alter database rename file '?

    You can use:

    ALTER database create datafile 42 as ' / home/oraprod/PROD/data/a_txn_ind10.dbf';

    Then run:

    RECOVER THE DATABASE AUTOMATICALLY USING BACKUP CONTROLFILE UNTIL CANCEL

  • How to check the number of servers, a unique summer migrated database?

    Is it possible to check the information of the previous server where the database has been migrated.

    Ajay Vijayan wrote:

    The binaries have been transferred from the old server and grid has been installed in the new ASM migration server.

    Alert log is purged according to police.

    Ajay

    1. logically, it can not be followed from the point of view of database. Since when we migrated to new server we can just copy the data files and take the help of rman and migrate (hope you are aware)

    2. If we are not reset all the newspapers during the process, if we do it due to a problem we knew that the level of incarnation (date/time)

    3 database does not take care of these information

    4. perhaps there is an alternative, you can get it from 'DBA_HIST_DATABASE_INSTANCE '.

    that keeps INSTANCE_NAME and HOST_NAME... .When you database runs from host A for 6 months and then you moved to server 'B '.

    5 to start and next stop he will track this new server (provided during migration if you have made a rebound at this time, then you can have alteast moving day)

    6. IF you are looking for server then in the course of the interview you can bounce while patching so separate hostname is able to follow

    -Note - rest depends on the number of records that he takes for his life

    It may be useful

    -Pavan Kumar N

  • RMAN-11003 RAC 10 g 2 database recovery

    Hello, I'm doing a full restore of the database and when it was done the recovery database, always get the error:

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of the command recover to 15/07/2014 06:07:04

    ORA-00283: cool cancelled due to errors

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archive/archivelog/PEP/PEP1_74_852396492.arc'

    ORA-00283: cool cancelled due to errors

    ORA-01112: media recovery not started

    It's a two nodes with the version 10.2.0.4 RAC' once which annuls the recovery, I open the database and everything is OK.

    The steps are:

    srvctl stop database d PEP

    sqlplus "/ as sysdba".

    bootable media;

    ALTER system set cluster_database = false scope = spfile sid ='* ';

    stop immediately;

    bootable media;

    RMAN target /.

    PARALLELMEDIARESTORE OFF SET;

    RMAN > restore database;

    RMAN > restore database;

    errors:

    RMAN-03002: failure of the command recover to 15/07/2014 06:07:04

    ORA-00283: cool cancelled due to errors

    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archive/archivelog/PEP/PEP1_74_852396492.arc'

    ORA-00283: cool cancelled due to errors

    ORA-01112: media recovery not started

    RMAN > alter database open;

    The database opens successfully

    NAME CHECKPOINT_CHANGE # CHECKPOINT_CHANGE # STATUS

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

    /BD/oradata/PEP/System01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/undotbs01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/sysaux01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/undotbs02.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/users01.dbf 1025895 1025895 Normal startup

    /BD/oradata/PEP/vmware01.dbf 1025895 1025895 Normal startup

    / BD/oradata/PEP/RMANT01. DBF 1025895 1025895 Normal startup

    There, the error occurs if everything seems to be ok.

    Thank you

    The scenario is very probably below:

    You have restored a controlfile who had an old sequences in his V$ LOG (compared to archived newspapers with the later sequence numbers) and the related recovery online papers were physically available on the disc. RMAN preferred just retrieve available online Redo Logs and therefore simulated a full recovery (anyway, he did not ask CAMILLE):

    Once even a single online Redo Log has been applied, recovery get ORA-283

    My Jul 14 18:14:43 2014

    Recovery Media Log /archive/archivelog/PEP/PEP2_29_852396492.arc<(====== archivelog="" seq#="" 29="" thr#="" 2="">

    My Jul 14 18:14:43 2014

    Online Redo Log recovery: thread 1 mem Group 1 Seq 25 reading 0<(===== online="" redo="" log="" seq#="" 25="" thr#="" 1="" got="">

    Mem # 0: /bd2_PEPui3/redo/redo11.log

    MEM # 1: /archive2/oradata/PEP/redo12.log

    ORA - 279 marked during: alter database recover logfile ' / archive/archivelog/PEP/PEP2_29_852396492.arc'...<(=== archivelog="" seq#="" 29="" thr#="" 2="" throwing="">

    My Jul 14 18:14:44 2014

    ALTER database recover logfile ' / archive/archivelog/PEP/PEP2_30_852396492.arc'

    My Jul 14 18:14:44 2014

    Recovery Media Log /archive/archivelog/PEP/PEP2_30_852396492.arc

    ORA - 288 marked during: alter database recover logfile ' / archive/archivelog/PEP/PEP2_30_852396492.arc'...<(==== archivelog="" seq#="" 30="" thr#="" 2="" throwing="">

    My Jul 14 18:14:44 2014

    ALTER database recover continue

    My Jul 14 18:14:44 2014

    Online Redo Log recovery: thread 1 mem Group 2 Seq 26 reading 0 (= Seq # 26 Thr # 1 newspaper... and so forth below... applied online )

    Mem # 0: /bd2_PEPui3/redo/redo21.log

    MEM # 1: /archive2/oradata/PEP/redo22.log

    My Jul 14 18:14:46 2014

    Online Redo Log recovery: Don 2 mem 3 Seq 31 reading 0 group

    Mem # 0: /bd2_PEPui3/redo/redo31.log

    MEM # 1: /archive2/oradata/PEP/redo32.log

    My Jul 14 18:14:48 2014

    Online Redo Log recovery: Don 2 mem Group 4 Seq reading 32 0

    Mem # 0: /bd2_PEPui3/redo/redo41.log

    MEM # 1: /archive2/oradata/PEP/redo42.log

    My Jul 14 18:14:51 2014

    (PEP2) Complete media recovery

  • Migration + database upgrade of 9.2 on solaris to 11R2 on Exadata

    Hello

    I need to migrate a database 9.2 on Solaris Machine on storage of EXADATA (RAC + ASM) 11R2 file system and database size is 2 t

    I see several methods, but I can't find that 2 methods:

    -Insert into select

    -TTS + cross-platform (TTS it is not supported for 9.2)

    It's okay? Can I use other methods?

    Thank you

    Best regards

    The rule here is always use the version lower exports aka in your case, you must use the export source 9.2 to create the dump.

    To import into you can use import 11g.

    For more details, see docs MOS: compatibility matrix for export and import between different Oracle Versions Doc ID 132904.1

  • SRM API: How to specify if the recovery operation must be planned migration or recovery after disaster

    Is it possible using the SRM API to specify whether we want a planned Migration or a recovery during failover?

    In addition, exactly how do we use the APIs AnswerPrompt and ListPrompts? Examples would be appreciated. Thank you!

    If you want to run the disaster recovery, you must use the recovery option (number 0) failover Mode. The SRM 5.8, we introduce a new Mode of recovery option - migration (planned Migration - number 5). This command is not added to the SRM API documentation, but will be updated soon.

    Example:

    PowerCLI > $RPmode = New-Object VMware.VimAutomation.Srm.Views.SrmRecoveryPlanRecoveryMode

    PowerCLI > $RPmode.Value__ = 5

    PowerCLI > $RPmode.ToString)

    > Migrate

    Orders ListPrompts and AnswerPrompt have nothing to do with the implementation of the plan (planned or disaster recovery Migration).

    -Daniel G.

  • Database recovery mode recommended

    I have a single Windows Server 2012 running MS SQL 2012 of the machine. This server contains all of our databases for the vCloud infrastructure. From now on, all databases use the recovery model Simple, with the exception of the vCloud Director database that uses the full recovery model. I was wondering what VMware recommends for this database, and if it's ok to switch to Simple mode or not.

    Please let me know.

    Thank you!

    We generally recommend a Simple recovery model, as other modes will tend to newspapers DB fill up quickly.  Full should be good for vCloud Director, except that it's rather talkative, depending on your deployment.

    The other part is that recovery time is difficult because of dependencies on the State of vSphere (if you had to recover as well).

    Backup is not only vCloud, but something else it interacting with in the environment.  If do you still complete and backups of delta for vCloud and vCenter simultaneously, then there is less of a problem.

  • RESTORE DATABASE OR DATABASE RECOVERY

    Hi all

    10.2.0.4
    SLES 11

    I want to restore my RMAN backup.

    I have run this command:
    RMAN> restore database;
    
    RMAN-06900: WARNING: unable to generate V$RMAN_STATUS or V$RMAN_OUTPUT row
    RMAN-06901: WARNING: disabling update of the V$RMAN_STATUS and V$RMAN_OUTPUT rows
    ORACLE error from target database:
    ORA-03135: connection lost contact
    
    Starting restore at 30-APR-13
    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
    ORA-03114: not connected to ORACLE
    RMAN-03002: failure of restore command at 04/30/2013 16:13:50
    ORA-03114: not connected to ORACLE
    Why does say not connected to oracle, when I'm simulating a crash of the database... which means no db oracle is in place.


    Thank you

    zxy

    Step 1: RMAN > Connect target /.

    Step 2: Startup nomount pfile =''

    Step 3: restore the backup control file

    Step 4: change the database editing

    Step 5: restore the database

    Step 6: restore the database

    Step 7: Open database resetlogs;

    Thank you

  • Database recovery

    Hello..

    I am new to Oracle RMAN backup and restore. I created a table and backs up the entire database. now, I dropped the table. When I restore and recover the database of

    RMAN > RESTORE database;
    RMAN > RECOVER DATABASE;

    the table is not recovered but if I make the point in time of recovery of

    RMAN > RESTORE DATABASE until TIME 'SYSDATE-1/24;
    RMAN > RECOVER DATABASE until TIME 'SYSDATE-1/24;

    the table is retrieved. I wants to recover normally. What should I do?

    you have to perform specific recovery time until when the table is available that is why cmd 'RESTORE DATABASE UNTIL TIME 'SYSDATE-1/24' '; works in your case.
    However if you perform a recovery full recovery of database and database back to the stadium even when the table was dropped and its not available in the database.

    Therefore, perform incomplete recovery.

    Thank you
    Christian Christmas Pal Singh

  • Streams and database recovery

    If I have a downstream server which fails, and I can only restore to an earlier point in time, the upstream server 'Resync' with the downstream server? As long as it's done before something like the archived Redo Logs are still on the server?

    I don't know how to find the documentation for it specifically. At least if I don't hear it's possible and I hope that even a feature easy to use water courses, then I'll know it's worth digging through manuals.

    Thank you
    -= Chuck

    Hello

    Maybe this link could contribute to resynchronize the downstream database after a Point-in-time recovery:

    http://docs.Oracle.com/CD/E11882_01/server.112/e10705/man_gen_rep.htm#i1011204

    Hope this helps.
    Best regards
    Jean Valentine

  • Backup of database recovery question

    Hello

    On Standard edition 10.2.0.1 (Linux EL5 X 86 4 - bits), try to configure the standby.

    Any installation is complete for database standby standby and mounted, but applying the newspapers archived standby does not cause under question.

    Destination the Archives of the journal mode standby and its format are as follows.

    Log_archive_dest_1 string location = / archive/adplprod/arch
    log_archive_format string %t_%s_%r.dbf

    All sleep trying to recover the database (while trying to apply the archived log files), we get error below.

    SQL > alter database recover base_de_donnees auto sleep;
    ALTER database recover basic auto sleep
    *
    ERROR on line 1:
    ORA-00279: change 1065161134 September at 30/01/2012 17:32:34 needed for thread
    1
    ORA-00289: suggestion: /archive/adplprod/arch/1_1771_773019879.dbf
    ORA-00280: change 1065161134 thread 1 is in sequence #1771
    ORA-00278: log file ' / archive/adplprod/arch/1_1771_773019879.dbf' is no longer
    necessary for this recovery
    ORA-00308: cannot open archived log
    ' / archive/adplprod/arch/1_1771_773019879.dbf'
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3

    As you can see, the file is archive/adplprod/arch1_1771_773019879.dbf, but oracle is looking for archive/adplprod/arch/1_1771_773019879.dbf, that is, an extra / in the path. How to limit this path, including / and oracle use the file. Pls help.

    Thank you

    >

    Log_archive_dest_1 string location = / archive/adplprod/arch
    log_archive_format string %t_%s_%r.dbf

    set:

    Log_archive_dest_1 string location = / Archives/adplprod
    log_archive_format string arch%t_%s_%r.dbf

  • The database recovery failed

    All,

    I do a restore backup for the RAC database to single instance on another node. I am getting following error.

    Version: 11.2.0.2.0 platform: Linux
    SQL> recover database using backup controlfile until cancel;
    ORA-00279: change 10397075928425 generated at 12/09/2011 02:47:38 needed for
    thread 1
    ORA-00289: suggestion :
    /mounts/dprd_restore/owctst/arch/owcprd_arch_R745240531_T1_S19607.arc
    ORA-00280: change 10397075928425 for thread 1 is in sequence #19607
    
    
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /mounts/dprd_restore/owctst/arch/owcprd_arch_R745240531_T1_S19607.arc
    ORA-00279: change 10397075928425 generated at  needed for thread 2
    
    
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-10879: error signaled in parallel recovery slave
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1:
    '/mounts/dprd_restore/owctst/oradata/owctst/dbfiles/system01.dbf'
    Can you please advice on this?

    Thank you.

    Usually, you need to specify the redolog online there in the last file to work around this error.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • How can I access Favorites in aurora Metro?

    Hello!I installed aurora and it starts in underground mode, then where are all the menus and stoff went?In particular, how do you get all my bookmarms?Many greetings!Volker

  • How to return to a factor of authentication?

    I changed 'tow-factor authentication' of Apple ID, but now I think that it would be impractical in many situations. Dose of any know how to revert to the original (a factor of authentication)? Does not display the window how with only the display of

  • Vehicle Simulation in LV 8.6 engine library

    Hello I'd like to see / use the car engine LabVIEW library content, but I do not have LabVIEW 2009. Is it possible to get a version recorded for LV8.6? Thank you!

  • What to do if compiuter has light but no screen and no keboard and no mouse

    Hello I need help on how to start my computer if the tower is on, but screen is black and says that it has no analog connection? The mouse and keyboard do not respond but are connected to the computer and everything is properly connected. I would rea

  • Alienware 17 R2 - Audio playback does not

    The audio works fine when connected to my TV via HDMI.The problem starts when I leave the HDMI, there is no sound. Green levels bounce up and down for: speakers - Sound Blaster Recon3Di but no output. I tried to install it manually "High Definition A