Standby database not configure while keep database files in different place

Dear Friends ,
I have to successfully configured "PHYSICAL STANDBY DATABASE" within the TWO databases ("PRIM" and "STAN" Database) when I kept datafile, controlfile and redolog files in the same location (like, "/u01/app/oracle/oradata/prim" location .
In this successful configuration , I have to add the below two lines into the initprim.ora and initstan.ora both server respectively ...
initprim.ora:
========
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
initstan.ora:
========
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Now , in second scenario , I have to change Primary database server's datafile, controlfile and redolog file in the below folder :
controlfile --> "/u01/app/oracle/oradata/prim/ctrlfile"
redologfile --> "/u01/app/oracle/oradata/prim/redofile"
datafile --> "/u01/app/oracle/oradata/prim/datafile"
Similarly I have to create same folder in my STAN database server accordingly . and also add the above lines in same way :
initprim.ora:
========
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/stan','/u01/app/oracle/oradata/prim'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/stan','/u01/app/oracle/flash_recovery_area/prim'
initstan.ora:
========
DB_FILE_NAME_CONVERT='/u01/app/oracle/oradata/prim','/u01/app/oracle/oradata/stan'
LOG_FILE_NAME_CONVERT='/u01/app/oracle/flash_recovery_area/prim','/u01/app/oracle/flash_recovery_area/stan'Keeping the above situation when I run the below command in STAN database server :
[oracle@test ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Nov 15 23:15:43 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 599785472 bytes
Fixed Size 1220772 bytes
Variable Size 163581788 bytes
Database Buffers 427819008 bytes
Redo Buffers 7163904 bytes
Database mounted.
SQL> alter database recover managed standby database disconnect from session;
Database altered.
The Command execute successfully but in the alert log of the STAN database server ,I get the below error :
Completed: alter database recover managed standby database disconnect from session
Mon Nov 15 22:46:52 2010
Clearing online redo logfile 1 complete
Mon Nov 15 22:46:52 2010
Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
Mon Nov 15 22:46:52 2010
Errors in file /u01/app/oracle/admin/stan/bdump/stan_mrp0_3695.trc:
ORA-00313: open failed for members of log group 2 of thread 1
ORA-00312: online log 2 thread 1: '/u01/app/oracle/oradata/prim/redofile/redo02.log'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3But I already created the above mention folder "'/u01/app/oracle/oradata/prim/redofile" successfully and the redo log files are also created there successfully , but I cannot understand why this error is showed ? And also no archivelogs are shifted from PRIM database server to STAN database server .
Would u plz suggest me , why I cannot configure Physical Standby Database when I keep my database fles in the separate location ?
help me plz ... ...

Hi,
I'm missing the steps you took renaming/moving the files on the primary.
Since the location of datafiles is stored in the control file the controlfile of the standby might not know the new location yet.
I suggest you read this http://www.cs.bris.ac.uk/maintain/OracleDocs/server.816/a76995/standby.htm#23603 and see if that helps
Success,
FJFranken

Similar Messages

  • Accessing the same database file using different handles/cursors

    Will there be any problems accessing the same database file using different DB handles in a transactional environment? We have implemented a process which have multiple transient threads coming up and initiating DB opens and read/write operations to the same database file using different handles and cursors?
    Can this potentially create any problems/bottlenecks? Can someone suggest the best way to deal with this scenario?
    Thanks in advance.
    SB

    Hi,
    Berkeley DB is well suited to the scenario you describe. You need to ensure that Berkeley DB is configured correctly for transactional access, the best information describing the requirements is in the Reference guide here:
    http://download.oracle.com/docs/cd/E17076_02/html/programmer_reference/transapp.html
    If there will be multiple threads operating concurrently, then you will need to design your application to detect and deal with deadlock situations.
    Regards,
    Alex Gorrod
    Oracle Berkeley DB

  • Add a DB2 database file in different drive

    Dear all,
    I would like to add a DB2 database file in different drive which is added recently.
    eg: existing DB folders in drive H, now we need to add new data folder from drive J
    please help me on this step by step procedure, looking for the earliest reply
    regards
    sathish
    65 96724662

    Hi,
    what you have to do is to extend your tablespace with new containers on the new drive and AVOID REBALANCING !!!
    Do do that, you can either use the "alter tablespace" command with the "begin new stripe set" clause, or use
    the DBACOCKPIT to extend your tablespace and specify
    a new stripe set there.
    For details on the "alter tablespace" command see:
    http://publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.doc/welcome.htm
    and search for "alter tablespace"
    kind regards
    Thomas

  • Archiving in H264 while keeping folders/file creation date

    *Hi, I just wanted to share with you a script that helps to convert the content of the FCP "capture scratch" folder into H264, to move the converted files into a Device, put the h264 files in the correct client folder.*
    *Into this client folder, it creates folders with the original production name, while it keeps the original creation file date.*
    *So it keeps the original folder hierarchy and date for my archives, because to browse with the final cut server client is great, but sometimes you just want navigate in your file system to work with your videos.*
    *STEP 1* : Original Assets Cataloging (production scan)
    I have a Scheduled Production scan of my "capture scratch",
    (Capture scratch is on our SAN, so all Edit suites are capturing in the same "capture scratch" folder)
    *STEP 2*: Detect to which client the asset belongs to (thanks to the location name) and set the proper [Owner ]metadata asset
    NB: for that I ask all editors to put the name of the client at the beginning of the name of their FCP projects. ex CBS_snow in paris.fcp
    I have Subscriptions that filters created assets location to see if the location "begins with" the client name, then give a "response" that set the correct [Owner] metadata, and also change the "statut" to "WAITINGFORENCODE" (you have to create it into Lookup/Status)
    So I have as many Subscriptions/Reponse as actual Clients
    *STEP 3 :* I have a subscription that filters Modified Assets that have a status of "WAITINGFORENCODE"
    then gives 3 responses.
    +Response 1:+ Set Asset Metadate Status to "ENCODING" ( yeah, Status are made for collaborating tags.. but here we are...)
    +Response 2:+ Copy in H264 (that's where Matrox is great!) into a "transcode folder"
    +Response 3+ (the tough one): Copy the transcoded asset to the right archive location and keep original creation date, create an asset and put it in the same production as the original, and set the original Asset Metatadata Status as "ENCODED"
    Run Script
    Command Path: //path to the script.
    In the command parameters you'll need to enter: [File name] [Location] [Owner] [Asset ID]
    So here is the Script. It's a LOT inspired from Andy Sykes http://fcsvoodoo.blogspot.com/2009/07/add-newly-created-asset-to-originating.htm l
    A big thank to him for publishing it.
    #!/bin/bash
    FILENAME=$1
    PLACE=$2
    CLIENT=$3
    IDFILE=$4
    FILENAME_ESCAPED=$(echo -n "$FILENAME" | \
    perl -pe's/([^-_.~A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg');
    LOCATION_ESCAPED=$(echo -n "$PLACE" | \
    perl -pe's/([^-_.~A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg');
    # Set the location to the fcsvr_client binary
    PATH_TO_BINARIES="/Library/Application Support/Final Cut Server/Final Cut Server.bundle/Contents/MacOS/fcsvr_client"
    # Set the location of the Archives NAS Client Folder
    PATH_TO_TARGET="//Volumes/NASARCHIVES/""$CLIENT""/Footages"
    # Set the location of the Transcoding folder
    PATH_TO_TRANSCODE="//Volumes/EditSAN/Transcode"
    # Set the location of the Original File folder
    PATH_TO_ORIGINAL="//Volumes/EditSAN/Capture Scratch/"
    # Make a folder and move the file in it
    mkdir "$PATH_TO_TARGET""$PLACE"
    mv "$PATH_TO_TRANSCODE"/"$FILENAME" "$PATH_TO_TARGET""$PLACE"/
    #Set Copied File and Folder Date from original
    ORIGDATE=$(GetFileInfo -d "$PATH_TO_ORIGINAL""$PLACE"/"$FILENAME")
    ORIGDATEFOLDER=$(GetFileInfo -d "$PATH_TO_ORIGINAL""$PLACE")
    echo $ORIGDATE
    echo $ORIGDATEFOLDER
    Setfile -d "$ORIGDATE" "$PATH_TO_TARGET""$PLACE"/"$FILENAME"
    Setfile -d "$ORIGDATEFOLDER" "$PATH_TO_TARGET""$PLACE"
    # Determine original Production "address" by searching for the "location" (since this is the same as the Production name)
    PROJECTNAME=$("$PATH_TO_BINARIES" search --crit "$PLACE" /project | grep -i -o -e "/project/[0-9]*")
    echo $PROJECTNAME
    # Create asset and associate it with the project
    OUTPUT=$(sudo "$PATH_TO_BINARIES" createasset pa_asset_actua --projaddr $PROJECTNAME /dev/11/"$CLIENT""/Footages""$LOCATION_ESCAPED"/"$FILENAME_ESCAPED" CUST_ASSET_STATUS="INRAID6")
    echo $OUTPUT
    # Change Original metada asset status
    SETMETA=$(sudo "$PATH_TO_BINARIES" setmd /asset/$IDFILE CUST_ASSET_STATUS="TRANSCODED")
    echo $SETMETA
    Weekness of the script is when you're converting non .MOV files (or different extension in the H264 copy than the original), I could not figure out how Andy Skypes managed with the extensions in his script, so I just pass it.
    Now it's working like a charm after I had a lot of Issues due to the escape characters, but thanks the the perl command ,it's good now. But you will still need to ask editors to avoid / and & and () in file names...
    Well, I just make it work yesterday, so now I breath cause I couldn't figure out if investing if FCS would be more a sufferance than a relieve because lot of people saying that you have to totally rethink the way you work with assets, and forget about your folder hierarchy...but this, I couldn't hear It, especially when I saw the mess that was about to happen with thousands of P2 clips.
    My conclusion would be: Metadatata is great, but folder hierarchy can save you if you loose your DB or want to migrate ...
    au revoir.

    here we go
    #!/bin/bash
    FILENAME=$1
    PLACE=$2
    CLIENT=$3
    IDFILE=$4
    FILENAME_ESCAPED=$(echo -n "$FILENAME" |
    perl -pe's/([^-_.~A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg');
    LOCATION_ESCAPED=$(echo -n "$PLACE" |
    perl -pe's/([^-_.~A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg');
    # Set the location to the fcsvr_client binary
    PATH_TO_BINARIES="/Library/Application Support/Final Cut Server/Final Cut Server.bundle/Contents/MacOS/fcsvr_client"
    # Set the location of the Archives NAS Client Folder
    PATH_TO_TARGET="//Volumes/ARCHIVES/""$CLIENT""/Footages"
    # Set the location of the Transcoding folder
    PATH_TO_TRANSCODE="//Volumes/EditSAN/Transcode"
    # Set the location of the Original File folder
    PATH_TO_ORIGINAL="//Volumes/EditSAN/Capture Scratch/"
    # Make a folder and move the file in it
    mkdir "$PATH_TO_TARGET""$PLACE"
    mv "$PATH_TO_TRANSCODE"/"$FILENAME" "$PATH_TO_TARGET""$PLACE"/
    #Set Copied File and Folder Date from original
    ORIGDATE=$(GetFileInfo -d "$PATH_TO_ORIGINAL""$PLACE"/"$FILENAME")
    ORIGDATEFOLDER=$(GetFileInfo -d "$PATH_TO_ORIGINAL""$PLACE")
    echo $ORIGDATE
    echo $ORIGDATEFOLDER
    Setfile -d "$ORIGDATE" "$PATH_TO_TARGET""$PLACE"/"$FILENAME"
    Setfile -d "$ORIGDATEFOLDER" "$PATH_TO_TARGET""$PLACE"
    # Determine original Production "address" by searching for the "location" (since this is the same as the Production name)
    PROJECTNAME=$("$PATH_TO_BINARIES" search --crit "$PLACE" /project | grep -i -o -e "/project/[0-9]*")
    echo $PROJECTNAME
    # Create asset and associate it with the project
    OUTPUT=$(sudo "$PATH_TO_BINARIES" createasset pa_asset_actua --projaddr $PROJECTNAME /dev/11/"$CLIENT""/Footages""$LOCATION_ESCAPED"/"$FILENAME_ESCAPED" CUST_ASSET_STATUS="INRAID6")
    echo $OUTPUT
    # Change Original metada asset status
    SETMETA=$(sudo "$PATH_TO_BINARIES" setmd /asset/$IDFILE CUST_ASSET_STATUS="TRANSCODED")
    echo $SETMETA

  • Can I have a primary database and standby database with a different windows version?

    Hi
    I need your help.
    We need to increase the memory in the server where is the standby database , but first, we need to upgrade the windows version.
    The actual version is windows 2003 standard edition 64 bits
    The new version will be windows 2003 enterprise  edition 64 bits
    This difference in windows version  between primary and standby servers can cause a problem in the synchronization between primary and standby databases ??
    What do you recommend? Have both servers in the same windows version?
    The databases are in SQL SERVER 2005.
    Thanks.
    Loreinn

    This difference in windows version  between primary and standby servers can cause a problem in the synchronization between primary
    and standby databases ??<o:p></o:p>
    There is no issue with database synchronization as long as SQL Server is of same version.<o:p></o:p>
    What do you recommend? Have both servers in the same windows version?<o:p></o:p>
    OS(Windows version) has no restriction for using SQL server 2005 database mirroring/log shipping. You can go with upgrade without any worries on SQL
    database side.<o:p></o:p>

  • Not recognizing # while reading the file from application server

    Hi
    I am reading a file from application server. While reading into internal table with read statement the last field in each record is filling with hash symbol in the last digit. If I write any if condition with HASH symbol its not going inside the if condition, means its not recognizing as hash may be its internally treating as some other. I need to remove the hash from that field. How I can do that.
    Thanks,
    kishore

    I faced exact situation. Yes, internally its treated as some other special character. What i did was, becuase hash symbol was always coming at the end...i created a dummy field in my internal table so that it will not interfere with my actual data. When i see the data in my internal table, the hash always falls in the last field (dummy) which i will ignore. I could not get solution to remove this hash so i adopted this approach and it worked!!
    Hope it helps,
    SKJ

  • How to Replace existing Hard Drive with new Hard Drive, while keeping old files

    Hi All,
    I have recently replaced my hard drive on my Macbook Pro, with a new hard drive. The old Hard Drive was 160 GB, while the new one is 320 GB.
    What I did before replacing it was clone my hard drive using "SuperDuper". I cloned it to the new hard drive and then simply removed my old hard drive and installed the new one with the clone on it. Then I booted it up and began running it. In fact I am using it right now.
    My questions are:
    Is this a good practice?
    Will this work, without problems, indefinitely?
    Is this the prescribed way to upgrade ones laptop hard drive?
    The reason I did it this way was because I upgraded to Mountain Lion via the apple store download and I do not have the CD for the OS. So I figured if I could make a bootable copy, that might work. So far everything seems fine, but I really just want to know if this will last for a long time. I plan on also making a partition with Windows on it also, so I was wondering if anyone can comment on that too.
    If anyone can comment or give any advice on this topic I would really appreciate it.
    Thank you very much!
    Cheers.

    Every thing is fine except Super Duper does not clone the recovery partition.  If you start your MBP holding the OPTION key, you should see the internal HDD and the ML recovery partition.
    You can reinstall ML or reclone using Disk Utility>restore.
    Ciao,.

  • SLD - Export Business System: 404 Not found while downloading ZIP-File

    Hi, well we did a complete export of SLD to another XI-System. This worked fine so far except that one business System was not properly "installed" in SLD.
    Therefore we want to export this single business system via option "Export" but we receive an 404 Error: The requested resource does not exist. when trying to download the given zip-file!
    I read in OSS that this error occurs in XI-systems with SP <12 and SAP suggest to upgrade to 12
    Well that's not an appropriate solution!
    Does somebody can help how we can download this zip-file with the business system in it?!
    Or is there some workaround i am not familiar with?!
    Thx in advance!

    Ok Prateek,
    we had two same Technical Systems with two differnet hosts given in the SLD of DEV & PROD System.
    After decision to devide both systems, means to seperate SLDs we copied the whole SLD from DEV to PROD. So there were some conflict with this two technical systems because during import of CIM-Data the business systems got switched up.
    Therefore we thought we have to export the business system given in DEV SLD to import this business system in PROD SLD. But the workaround is that we simply assign the wrong imported business system to the right technical system (in PROD SLD)
    That's it! br

  • Swf file in different places on different browsers

    Hi,
    new to this web design, but I am getting there (very slowly)
    I have a web page that is live www.chm-berkshire.com but it has an issue on the index page where the swf file is not being centered on each browser i use.
    I can set it up perfectly on my ie web page where the file is centered under the spry bar, when  look at my work PC and the swf file is over to the left, if i use firefox it is even further over to the left
    Is there an easy way to make all browswers see the file in the center of the page?
    any help greatfully recieved, (in as simple terms as possible, as I am hard of thinking:-) )

    Just changing things from position:absolute to position:relative is thrashing, and will usually not help.
    The solution is to do this -
    Change this -
    .oneColElsCtrHdr #container {
         width: 46em;
         margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
         border: 1px solid #000000;
         text-align: left; /* this overrides the text-align: center on the body element. */
         background-color: #FFFFFF;
         background-position: center;
    to this -
    .oneColElsCtrHdr #container {
         width: 46em;
         margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
         border: 1px solid #000000;
         text-align: left; /* this overrides the text-align: center on the body element. */
         background-color: #FFFFFF;
         background-position: center;
            position:relative;
    What this change will do is to change the reference point for all absolutely positioned elements on the page from the upper, left-hand corner of the browser viewport (which is the default reference for AP elements when there is no positioned ancestor), to the location of the centering element div#container.  Now, when that element centers, it will carry all the AP elements along with it.  You will have to reposition each AP element on the page to accommodate this change, but once positioned properly in DW, they will stay in that correct relative location.
    Now - to see what a mess you have made by using AP for all your content - just browse to this page and increase the text size a few ticks in the browser.  Your simple layout goes south in a hurry....
    It's much better to use sound practice methods in building your pages - http://www.apptools.com/pagelayout101.php will show you the way.

  • ORA-01157: cannot identify/lock data file error in standby database.

    Hi,
    i have a primary database and standby database (11.2.0.1.0) running in ASM with different diskgroup names. I applied an incremental backup on standby database to resolve archive log gap and generated a controlfile for standby in primary database and restored the controlfile in standby database.But when i started the MRP process its not starting and thows error in alert log ORA-01157: cannot identify/lock data file. When i queried the standby database file it shows the location on primary database datafiles names not the standby database.
    PRIMARY DATABASE
    SQL> select name from v$datafile;
    NAME
    +DATA/oradb/datafile/system.256.788911005
    +DATA/oradb/datafile/sysaux.257.788911005
    +DATA/oradb/datafile/undotbs1.258.788911005
    +DATA/oradb/datafile/users.259.788911005
    STANDBY DATABASE
    SQL> select name from v$datafile;
    NAME
    +STDBY/oradb/datafile/system.256.788911005
    +STDBY/oradb/datafile/sysaux.257.788911005
    +STDBY/oradb/datafile/undotbs1.258.788911005
    +STDBY/oradb/datafile/users.259.788911005
    The Actual physical location of standby database files in ASM in standby server is shown below
    ASMCMD> pwd
    +STDBY/11gdb/DATAFILE
    ASMCMD>
    ASMCMD> ls
    SYSAUX.259.805921967
    SYSTEM.258.805921881
    UNDOTBS1.260.805922023
    USERS.261.805922029
    ASMCMD>
    ASMCMD> pwd
    +STDBY/11gdb/DATAFILE
    i even tried to rename the datafiles in standby database but it throws error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Regards,
    007

    Hi saurabh,
    I tried to rename the datafiles in standby database after restoring it throws the below error
    ERROR at line 1:
    ORA-01511: error in renaming log/data files
    ORA-01275: Operation RENAME is not allowed if standby file management is
    automatic.
    Also in my pfile i have mentioned the below parameters
    *.db_create_file_dest='+STDBY'
    *.db_domain=''
    *.db_file_name_convert='+DATA','+STDBY'
    *.db_name='ORADB'
    *.db_unique_name='11GDB'
    Regards,
    007

  • Standby Database with RMAN on ASM

    Hi,
    I am using redhat Linux AS 4 and my database is 10.2.0.1. This database used ASM for storage of data files, control files, online redo logs. Flash recovery area is also configured in the ASM.
    I want to create a physical standby database on a different machine by using RMAN. Can someone kindly point me to some easy to follow document? I have scoured the oracle docs, but am more confused than ever.
    regards

    Step By Step Guide To Create Physical Standby Database Using RMAN [ID 469493.1]
    Note: the examples in this document use regular filesystems but the process is the same regardless, ie, in db_file_name_convert use your diskgroup rather than a filesystem (db_file_name_convert=+DG_SOURCE,+DG_TARGET)
    another note to complement the first one:
    Step By Step Guide On Creating Physical Standby Using RMAN Duplicate In ASM Filesystem For ASM Primary [ID 837102.1]
    Edited by: rui_catcuddler on Sep 2, 2010 6:51 AM

  • Error when trying to recover datafile from standby database to primary

    hi friends,
    getting problem with restoring datafile from backupset taken on standby database to primary database.
    os: windows server 2003
    db: oracle 11gR1(11.1.0.6)
    i've configured standby database on two different hosts.
    host1 - primary (db_uinque_name= prod)
    host2 - standby (db_uniue_name= prodsby)
    I've configure both database with recovery catalog. I take backup on standby database. users' datafile of primary database has been lost.i'm trying to restore from the backupsets taken on standby database.
    with the help of - http://download.oracle.com/docs/cd/B28359_01/server.111/b28294/rman.htm#BAJCEFEG
    on primary
    c:\>rman target sys/password catalog rcat/password
    rman>list backup for db_unique_name prodsby;
    display the backupsets
    rman>restore datafile 4;
    Starting restore at 06-NOV-08
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1051 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 12:12:18
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    also use to tag to restore the datafile
    rman>restore datafile 4 from tag='base0_prodsby';
    Starting restore at 06-NOV-08
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/06/2008 11:27:21
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    i'm getting above errors when try to restore the datafile.
    when i issue the following command.
    BACKUP AS COPY DATAFILE 4 AUXILIARY FORMAT 'C:\app\Administrator\oradata\prod\USERS01.DBF';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    please friends, try to help me to solve the problem.
    Thanks,
    Vihang

    hi.
    Its not necessary its a otherway around to recover datafile from this backupset and apply archivelogs to make datafile consistent.
    yes, it ain't the right way to restore backup to primary location.
    so how would i connect to standby database with primary and recovery catalog.
    i need to connect to recovery catalog and primary site because i need to restore to primary location and recovery catalog contain all metadata and backupsets related information.
    i also tried the following steps from oracle documentation.
    Connect to the standby database as the target database:
    CONNECT TARGET sys@standby
    You are prompted for a password:
    target database Password: password
    Connect to the primary database as the auxiliary database:
    CONNECT AUXILIARY sys@primary
    You are prompted for a password:
    target database Password: password
    Back up the datafile on the standby host across the network to a location on the primary host. For example, suppose that /disk1/df2.dbf is the name of datafile 2 on the standby host. Suppose that /disk8/datafile2.dbf is the name of datafile 2 on the primary host. The following command would copy datafile 2 over the network to /disk9/df2copy.dbf:
    BACKUP AS COPY DATAFILE 2 AUXILIARY FORMAT '/disk9/df2copy.dbf';
    Starting backup at 06-NOV-08
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1068 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00004 name=C:\APP\ADMINISTRATOR\ORADATA\prod\USERS01.
    DBF
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/06/2008 12:49:
    15
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    getting this error.

  • Issue in creating Standby database

    hi ALL
    I am trying to create a standby database on a different server.
    I am creating through RMAN with duplicate database command.
    I am stuck with the issue where after backup it is not able to startup auxiliary database with error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/07/2010 13:00:57
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destinati
    on string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: Unable to access the specified directory or device.
    O/S-Error: (OS 3) The system cannot find the path specified.
    RMAN> **end-of-file**
    My db_recovery_file_dest is different from the default location on primary.
    I have created the db_recovery_dest in standby and set the parameter in rman script as well . But it is not working
    Please help
    thanks in advance

    jatinmahajan wrote:
    hi ALL
    I am trying to create a standby database on a different server.
    I am creating through RMAN with duplicate database command.
    I am stuck with the issue where after backup it is not able to startup auxiliary database with error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/07/2010 13:00:57
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04014: startup failed: ORA-01261: Parameter db_recovery_file_dest destinati
    on string cannot be translated
    ORA-01263: Name given for file destination directory is invalid
    OSD-04018: Unable to access the specified directory or device.
    O/S-Error: (OS 3) The system cannot find the path specified.
    Hi, the value of db_recovery_file_dest parameter is invalid,set this properly value(path) for this parameter and try again.

  • Standby database Archive log destination confusion

    Hi All,
    I need your help here..
    This is the first time that this situation is arising. We had sync issues in the oracle 10g standby database prior to this archive log destination confusion.So we rebuilt the standby to overcome this sync issue. But ever since then the archive logs in the standby database are moving to two different locations.
    The spfile entries are provided below:
    *.log_archive_dest_1='LOCATION=/m99/oradata/MARDB/archive/'
    *.standby_archive_dest='/m99/oradata/MARDB/standby'
    Prior to rebuilding the standby databases the archive logs were moving to /m99/oradata/MARDB/archive/ location which is the correct location. But now the archive logs are moving to both /m99/oradata/MARDB/archive/ and /m99/oradata/MARDB/standby location, with the majority of them moving to /m99/oradata/MARDB/standby location. This is pretty unusual.
    The archives in the production are moving to /m99/oradata/MARDB/archive/ location itself.
    Could you kindly help me overcome this issue.
    Regards,
    Dan

    Hi Anurag,
    Thank you for update.
    Prior to rebuilding the standby database the standby_archive_dest was set as it is. No modifications were made to the archive destination locations.
    The primary and standby databases are on different servers and dataguard is used to transfer the files.
    I wanted to highlight one more point here, The archive locations are similar to the ones i mentioned for the other stndby databases. But the archive logs are moving only to /archive location and not to the /standby location.

  • Physical Standby Database Creation with RMAN

    Hi,
    I'm in 10g on Linux. I want to create a standby database on another Linux server. I did not find a clear procedure to create it in Oracle® Database Backup and Recovery Advanced User's Guide 10g Release 2 (10.2) Part Number B14191-02
    and niether in Oracle® Data Guard Concepts and Administration 10g Release 2 (10.2) B14239-04
    In the last one chapter 3 sends you to F appendix and F appendix says do nothing before having than all in chapter 3 :
    In F.1.1 page F-2 it is said :
    See Chapter 3 for a complete discussion of physical standby database preparation,including initialization parameter settings. You must perform all necessary preparation tasks described in these chapters before RMAN can successfully create the standby database files and mount the standby database.
    Any way I'm looking for a procedure or clear article to create it.
    Many thanks before.

    Physical Standby Database Creation with RMAN
    Use the DUPLICATE command.
    Check out this metalink doc: Note:374069.1 and Note:118409.1
    Message was edited by:
    STW
    Message was edited by:
    STW

Maybe you are looking for