How to duplicate Oracle DB to other host.

dear all,
i tried creating the duplicate database to other host:
host name of primary database: pridb
host name of duplicate DB( auxiliary) : auxdb
when i configured the infomation for duplicating database: initaux, oracle net, preparing backups database, archive log all.
when i executed cmd: duplicate target database to auxdb, then occur error the following:
rman>connect target sys/abc@pridb -> success
rman>connect auxiliary sys/abc@auxdb -> success
rman>duplicate target database to auxdb;
RMAN-03002: failure of Duplicate Db command at 06/23/2011 10:19:09
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06023: no backup or copy of datafile 4 found to restore
RMAN-06023: no backup or copy of datafile 3 found to restore
RMAN-06023: no backup or copy of datafile 2 found to restore
RMAN-06023: no backup or copy of datafile 1 found to restore
i think, may be when aux_channel implement duplicate db, it can not read backups file of primary db.
please tell me , how do.

refer the link:-
http://oracleinstance.blogspot.com/2010/07/rman-03002-failure-of-duplicate-db.html
for duplicate/clone database
refer:-http://oracleinstance.blogspot.com/
http://oracleinstance.blogspot.com/2010/08/disaster-recovery-using-rman-demo.html

Similar Messages

  • I have Pages 09 and I have  created a business card using the template but can't figure out how to duplicate it to the other 9 on the page Am and sure I am going to look daft coz its only the click of a button but I can't work it out Thanks

    I have Pages 09 and I have  created a business card using the template but can't figure out how to duplicate it to the other 9 spaces on the page. I am and sure I am going to look daft coz its only the click of a button but I can't work it out Thanks

    I do the following: Hold down the command key and highlight all the items to be reproduced. Then hold down option and drag the items from the first to each subsequent card.

  • How to Connect Oracle Developer to Other Databases

    Hello I am using Developer 6i.
    Want to connect this to another Database like Ms.Access or Ms.Sql Server.
    Send me how to USE OCA,
    I tried hard but Not Success

    hi
    plz use Net Configuration Assistant or set tnsnames.ora with connect string and computer name.
    Net Configuration Assistant.
    when its opened then go to .
    *Local Net Service Name Configuration.
    *Click Next.
    *Add.
    *Click Next.
    * Service Name--Type here connect String which is XE or any Connect String.
    *TCP.
    *Click Next.
    *Host Name--Enter here Computer name or Ip address.
    *Yes,Perform a test.
    you can enter correct password and username here.
    Note:- your Database should be Up if its not Up it will through the same error so plz startup your database first.
    sarah

  • How to Access Oracle VM Manager Other IP Then 127.0.0.1

    Hi!
    Sorry for askig such a noob question. Where do I configure the allowed IP adresses for Oracle VM Manager? When I type http://192.168.x.y:8888/OVS no site is showing up. When I do a ssh tunnel everything is working fine, but for my testing host (just internal LAN) I would like to have access OVM site from every LANs IP adress.
    Thanks
    Chris

    try -->
    https://<name_or_ip>:4443/OVS

  • How to sync Oracle Database with other DB

    Trying to find out if there is a way to keep my data set in oracle database in sync with other DB tyring to access the same data to make sure the data being grab is the most updated data.
    They mention about Oracle Pipe...whats that?
    thanks

    What is the "other database" being used for? Are you using it for disaster recovery? To offload reporting? Something else?
    Are you trying to replicate the entire database? Or some subset (a schema, a handful of tables, something else)?
    What version of Oracle are you using on the source? What database are you using on the destination?
    Are changes allowed on both databases? Or do you just need a master/ slave architecture?
    What is the acceptable delay between a change being made on the primary and that change becoming visible on the destination?
    Justin

  • How to Trace oracle Host Type concurrent program

    How to Trace oracle Host Type concurrent program
    I have enabled trace in concurrent definition screen but couldnt get the trace file
    the Host script executes multiple plsql packages for interfaces and sent emails

    Hi,
    How to Trace oracle Host Type concurrent programSee (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]) -- 4. How does one enable trace for a concurrent program?
    I have enabled trace in concurrent definition screen but couldnt get the trace fileDo you mean the trace file is not generated?
    the Host script executes multiple plsql packages for interfaces and sent emailsIs this a seeded or custom concurrent program?
    Thanks,
    Hussein

  • How can i get the System Time from the other host

    I want to get the System Time from the other host in the LAN,How can I get the Time using Java.
    Such as I am in WIN 2000 and I have a Unix host in LAN, I want to get unix host System time, How can I do it.

    Open a socket to port 13 and read a string with the time.
    -or-
    Open a socket to port 27 and read 4 bytes that are a network order timestamp
    Assuming that your UNIX machine has those services running, most do

  • I have an amazing number of duplicates - not photo - but other.  How can I get rid of them?   Virtually all kinds if data is duplicated often 20- to 50 times. The duplicates are bot restricted to any one kind of data.

    I have an amazing number of duplicates - not photo - but other.  How can I get rid of them?   Virtually all kinds if data is duplicated often 20- to 50 times. The duplicates are bot restricted to any one kind of data.

    https://discussions.apple.com/message/25888564#25888564

  • How to read a table from one host to other host

    Hi Everybody,
    How to read a table from one host to other host.
    For Example,
    a/a@abcd - host 1
    b/b@xyz - host 2
    suppose im having a table called emp in a/a@abcd
    i want to read the table emp in b/b@xyz
    how to do this.??
    I know that we have to create a dblink...after that how to proceed.
    Plz help..
    Thanks in Advance,
    Gita

    connected as scott/tiger@test
    SQL>
    CREATE DATABASE LINK local
    CONNECT TO admin IDENTIFIED BY pinnet
    USING 'pinnet';
    Database link created.
    sql>
    select count(*) from
    users@local;
    COUNT(*) 
    16
    Message was edited by:
            jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Does anyone know how to set policy file, so applet can connect other host?

    I have an signed applet, it may connect to other host.
    The applet should display a HTML pages, which may contains image tag points to a picture stored anywhere. I use a JTextPane to display this HTML page, but when it is loaded. a error occurs.
    java.lang.SecurityException
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at sun.awt.image.URLImageSource.checkSecurity(Unknown Source)
    at sun.awt.image.ImageRepresentation.imageComplete(Unknown Source)
    at sun.awt.image.InputStreamImageSource.errorConsumer(Unknown Source)
    at sun.awt.image.InputStreamImageSource.setDecoder(Unknown Source)
    at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    at sun.awt.image.ImageFetcher.run(Unknown Source)
    I have those kind of error (connection refused) before I signed my applet and write policy file to granr socketpermission to the codebase of my class files. But this error still occurs. I suppose it is because the sun.awt.image.* is Java standard class, so my policy file has no effect on them. But how can I make it works?

    you need to install the jre, and place the win32.dll at JavaSoft\JRE\1.3.1_06\bin, that properties file place at JavaSoft\JRE\1.3.1_06\lib, comm.jar at JavaSoft\JRE\1.3.1_06\lib\ext\
    and in ur code try to use it to open ur com port
    public String test() {
    String drivername = "com.sun.comm.Win32Driver";
    try
    CommDriver driver = (CommDriver) Class.forName(drivername).newInstance(); driver.initialize();
    catch (Throwable th)
    {* Discard it */}
    drivername = "javax.comm.*";
    try
    CommDriver driver = (CommDriver) Class.forName(drivername).newInstance(); driver.initialize();
    catch (Throwable th)
    {* Discard it */}
    portList = CommPortIdentifier.getPortIdentifiers();
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier) portList.nextElement();
    if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
    if (portId.getName().equals("COM2")) {
    //if (portId.getName().equals("/dev/term/a")) {
    try {
    serialPort = (SerialPort)
    portId.open("SimpleWriteApp", 2000);
    } catch (PortInUseException e) {}
    try {
    outputStream = serialPort.getOutputStream();
    } catch (IOException e) {}
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}
    int i=0;
    while(true)
    try {
    messageString="hi";
    System.out.println(i++);
    outputStream.write(messageString.getBytes());
    } catch (IOException e)
    System.out.println(e);
    messageString=String.valueOf(e);
    return messageString;
    and yet u need to signed the applet
    1. Compile the applet
    2. Create a JAR file
    3. Generate Keys
    4. Sign the JAR file
    5. Export the Public Key Certificate
    6. Import the Certificate as a Trusted Certificate
    7. Create the policy file
    8. Run the applet
    Susan
    Susan bundles the applet executable in a JAR file, signs the JAR file, and exports the public key certificate.
    1. Compile the Applet
    In her working directory, Susan uses the javac command to compile the SignedAppletDemo.java class. The output from the javac command is the SignedAppletDemo.class.
    javac SignedAppletDemo.java
    2. Make a JAR File
    Susan then makes the compiled SignedAppletDemo.class file into a JAR file. The -cvf option to the jar command creates a new archive (c), using verbose mode (v), and specifies the archive file name (f). The archive file name is SignedApplet.jar.
    jar cvf SignedApplet.jar SignedAppletDemo.class
    3. Generate Keys
    Susan creates a keystore database named susanstore that has an entry for a newly generated public and private key pair with the public key in a certificate. A JAR file is signed with the private key of the creator of the JAR file and the signature is verified by the recipient of the JAR file with the public key in the pair. The certificate is a statement from the owner of the private key that the public key in the pair has a particular value so the person using the public key can be assured the public key is authentic. Public and private keys must already exist in the keystore database before jarsigner can be used to sign or verify the signature on a JAR file.
    In her working directory, Susan creates a keystore database and generates the keys:
    keytool -genkey -alias signFiles -keystore susanstore -keypass kpi135 -dname "cn=jones" -storepass ab987c
    This keytool -genkey command invocation generates a key pair that is identified by the alias signFiles. Subsequent keytool command invocations use this alias and the key password (-keypass kpi135) to access the private key in the generated pair.
    The generated key pair is stored in a keystore database called susanstore (-keystore susanstore) in the current directory, and accessed with the susanstore password (-storepass ab987c).
    The -dname "cn=jones" option specifies an X.500 Distinguished Name with a commonName (cn) value. X.500 Distinguished Names identify entities for X.509 certificates.
    You can view all keytool options and parameters by typing:
    keytool -help
    4. Sign the JAR File
    JAR Signer is a command line tool for signing and verifying the signature on JAR files. In her working directory, Susan uses jarsigner to make a signed copy of the SignedApplet.jar file.
    jarsigner -keystore susanstore -storepass ab987c -keypass kpi135 -signedjar SSignedApplet.jar SignedApplet.jar signFiles
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5. Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    The -storepass ab987c and -keystore susanstore options specify the keystore database and password where the private key for signing the JAR file is stored. The -keypass kpi135 option is the password to the private key, SSignedApplet.jar is the name of the signed JAR file, and signFiles is the alias to the private key. jarsigner extracts the certificate from the keystore whose entry is signFiles and attaches it to the generated signature of the signed JAR file.
    5: Export the Public Key Certificate
    The public key certificate is sent with the JAR file to the whoever is going to use the applet. That person uses the certificate to authenticate the signature on the JAR file. To send a certificate, you have to first export it.
    In her working directory, Susan uses keytool to copy the certificate from susanstore to a file named SusanJones.cer as follows:
    keytool -export -keystore susanstore -storepass ab987c -alias signFiles -file SusanJones.cer
    Ray
    Ray receives the JAR file from Susan, imports the certificate, creates a policy file granting the applet access, and runs the applet.
    6. Import Certificate as a Trusted Certificate
    Ray has received SSignedApplet.jar and SusanJones.cer from Susan. He puts them in his home directory. Ray must now create a keystore database (raystore) and import the certificate into it. Ray uses keytool in his home directory /home/ray to import the certificate:
    keytool -import -alias susan -file SusanJones.cer -keystore raystore -storepass abcdefgh
    7. Create the Policy File
    The policy file grants the SSignedApplet.jar file signed by the alias susan permission to create newfile (and no other file) in the user's home directory.
    Ray creates the policy file in his home directory using either policytool or an ASCII editor.
    keystore "/home/ray/raystore";
    // A sample policy file that lets a JavaTM program
    // create newfile in user's home directory
    // Satya N Dodda
    grant SignedBy "susan"
    permission java.security.AllPermission;
    8. Run the Applet in Applet Viewer
    Applet Viewer connects to the HTML documents and resources specified in the call to appletviewer, and displays the applet in its own window. To run the example, Ray copies the signed JAR file and HTML file to /home/aURL/public_html and invokes Applet viewer from his home directory as follows:
    Html code :
    </body>
    </html>
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width="600" height="400" align="middle"
    codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,1,2">
    <PARAM NAME="code" VALUE="SignedAppletDemo.class">
    <PARAM NAME="archive" VALUE="SSignedApplet.jar">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    </OBJECT>
    </body>
    </html>
    appletviewer -J-Djava.security.policy=Write.jp
    http://aURL.com/SignedApplet.html
    Note: Type everything on one line and put a space after Write.jp
    The -J-Djava.security.policy=Write.jp option tells Applet Viewer to run the applet referenced in the SignedApplet.html file with the Write.jp policy file.
    Note: The Policy file can be stored on a server and specified in the appletviewer invocation as a URL.
    9. Run the Applet in Browser
    Download JRE 1.3 from Javasoft
    good luck! [email protected]
    i already give u many tips, i use 2 weeks to try this to success, hopw that u understand that, a result of success is not important, the process of how to get things done is most usefull!

  • How to get the MAC address of  other hosts in local net

    1. Is there any kerner or user function to get the MAC address of other hosts in local net?
    2. ire_route_lookup() can only lookup MAC in routing table(arp -a),Is there any way to enable it to find out all MAC of hosts in the local net?
    Best Regards
    Hann

    ChristianEC wrote:
    Hi,
    I am looking for a way to get the MAC address of a PXI RT controller. I know that there is a VI to do this, but I am looking for a solution for a dll (C-Code).
    I use the "Call library node" to call this dll and want to make sure that it is only used on a specific PXI.
    Since the VI provides the functionality, I am wondering if it is also available to be called from C-Code?
    Thank you,
    Christian
    If it is available in LabVIEW it is probably available in CVI, which you could then build into a DLL (if there isn't one available already).
    CLA, LabVIEW Versions 2010-2013

  • How to duplicate by rman database?

    dear sir, i read one article and follow step and 2nd auxiliary database i delete all dbf, ctl, log(redo) files ...then tryying to create dubplicate giving me error
    can some one send steps of it
    rgds
    shahzad

    Database Duplication with RMAN
    Use the RMAN DUPLICATE command to create a copy of the target database that you can use for testing. The command restores backups and copies of the primary database's files and creates a new database.
    As part of the duplicating operation, RMAN manages the following:
    Restores the target datafiles into the duplicate database and performs incomplete recovery using all available archived log and incremental backups.
    Opens the duplicate database with the RESETLOGS option after incomplete recovery to create the online redo logs.
    Generates a new, unique database identifier for the duplicate database.
    Note also the following features of RMAN duplication. You can:
    Skip read-only tablespaces with the SKIP READONLY clause (read-only tablespaces are included by default). You can also exclude any tablespace with the SKIP TABLESPACE clause so long as it is not the SYSTEM tablespace and does not contain rollback or undo data. If you omit tablespaces, then you can add them later.
    Create your duplicate database in a new host. If the same directory structure is available, then you can use the NOFILENAMECHECK option and reuse the target datafile filenames for the duplicate datafiles.
    Create your duplicate database by using the SET UNTIL command or UNTIL clause of the DUPLICATE command to recover it to a noncurrent time. By default, the DUPLICATE command creates the database using the most recent backups of the target database and then performs recovery to the most recent consistent point contained in the incremental and archived redo log backups.
    Use the duplicate database without a recovery catalog.
    Register the duplicate database in the same recovery catalog as the target database. This option is possible because the duplicate database receives a new database identifier during duplication. If you copy the target database using operating system utilities, then the database identifier of the copied database remains the same so you cannot register it in the same recovery catalog.
    Figure 6-3 illustrates a case of database duplication. In this example, RMAN creates two duplicate database by using one set of datafile backups: one database on the local host and one database a remote host.
    Figure 6-3 Creating a Duplicate Database from Backups
    Text description of the illustration sbr81078.gif
    The method you use to duplicate your database depends on whether you are creating your duplicate database on the same or a different host and whether the duplicate directory structure is the same as your target database directory structure. For example, in some cases you can keep the same directory structure and filenames in your duplicate database, while other times you must rename the files.
    See Also:
    Chapter 12, "Duplicating a Database with Recovery Manager" to learn how to make a duplicate database, and Oracle9i Recovery Manager Reference for DUPLICATE command syntax.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmconc2.htm#462471
    Joel Pérez
    http://www.oracle.com/technology/experts

  • How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM

    How to migrate Oracle 9i(32 bit) to oracle 10g(64 bit) DB with ASM on SAME platform RHEL4.0
    Scenario My case:
    1) DB size 400G.
    2) Minimum downtime.
    3) oracle 9i(9.2.0.4) source DB.
    4) oracle 10g(10.2.0.3) target DB with ASM.
    5) Source DB (HOST A) and target DB (HOST B) Machine.
    Thanks
    Ashutosh

    I think Werner is suggesting you ask your question in the appropriate forum.
    Go up 2 levels (to Community Discussion Forum) and look for the Database category. It's not that difficult to find, and you will be discussing the question with people who actually care about that kind of question.
    The people who read and interact in this forum do so to discuss Documentation questions. Specifically questions about how to improve the documentaiton.

  • File Data Source:  does not support any other host except LOCALHOST?

    I am using US 1.0.3.
    This exercpt is from the OTN iLearn Subscribed course titled "Oracle9i UltraSearch New Features" on operating system file access:
    "The file protocol is used only for the machine that launches the crawler. You can not specify any other host for this kind of URL, except LOCALHOST."
    Does it mean that US 1.0.3 can not be used to search other file servers on the network? For example, we have US 1.0.3 installed on a server S1 which is on a network with other servers (e.g. S2). I want to use US to search files in the folder myDir on server S2. So I tried to create a file data source with this URL:
    file://\\s2\myDir\
    But I got this error:
    Invalid file protocol URL: file//\\s2\myDir\
    Hostname of the file URL "file://\\s2\myDir\ is not "localhost".
    My question:
    (1) Can US 1.0.3 search files on a different server than the one US is running on?
    (2) If so, how to specify the URL using the above example for it to work?
    (3) If not, how about the newer version of US, 9.2 or 9.02? Can they be used to search files on other network servers/drives?
    (4) If no to question (3), is there any plan to support this in the future version of US?
    My comment: Not able to search other servers really limits the userfulness of US. I really hope Oracle will consider adding this capability.
    Thanks!

    More on my previous questions:
    Since I posted my previous question, I have read on the 1.0.3 online help that we can define remote crawlers to crawl "on a remote machine other than the Oracle Ultra Search database". So I assume this is how to make US to search on other servers. In the online documentation it also includes the following paragraph on "Remote Crawler Profiles Page":
    "Use this page to view and edit remote crawler profiles. A remote crawler profile consists of all parameters needed to run the Ultra Search crawler on a remote machine other than the Oracle Ultra Search database. A remote crawler profile is identified by the hostname. The profile includes the cache, log, and mail directories that the remote crawler shares with the database machine. "
    The Remote Crawler Profiles Page, however, displays only remote crawlers already defined and the page seems to be used just for editing the porfiles of these defined remote crawlers.
    My questions:
    (1) How do I create the remote crawlers and defines the profiles in the first place?
    (2) Where can I find more documentation on remote crawlers?
    (3) Once the remote crawlers are set up, how do I specify the file URLs for each remote crawler?
    (4) With US9.02 or 9.2, does remote crawler work the same as in 1.0.3, or are there any enhancements?
    Thanks!

  • How to duplicate return of RFC.Exception Application error to test fix

    I am calling a RFC using a sync step in an BPM process. I am checking for system error and have an exception branch. However we got the below error (probably due to the ECC system not being available at that precise moment or something) which was not trapped by the exception alert handling because this comes in as an Application error and not a System error. My questions are :
    1) How to handle this return of .Exception message so that the BPM raises the alert in the exception branch? I have read in other threads that we need to assign the below message structure as the Fault Message and set this under the Exceptions property of the Synchronous send step. If this is true, I am mostly interested in the below question so I can test this.
    2) How to duplicate this issue? I am not sure when exactly the .Exception message is returned on a RFC call, this is not configured anywhere on the ABAP side.
    <rfc:ZRFC_GET_DATA.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
            <Name>RFC_ERROR_COMMUNICATION</Name>
            <Text>CPIC-CALL: CMRCV on convId: 01667803
                   LOCATION    CPIC (TCP/IP) on local host with Unicode
                   ERROR       connection to partner broken
                   TIME        Mon Mar 16 11:21:51 2009
                   RELEASE     640
                   COMPONENT   NI (network interface)
                   VERSION     37
                   RC          -6
                   MODULE      niuxi_mt.c
                   LINE        905
                   DETAIL      NiPRead (xx.xx.xx.xx/yyyy, hdl 64)
                   SYSTEM CALL recv
                   COUNTER     2
            </Text>
            <Message>
                   <ID>RFC_ERROR_COMMUNICATION</ID>
                   <Number>null</Number>
            </Message>
    </rfc:ZRFC_GET_DATA.Exception>

    Is the error resolved means that the RFC is working fine?
    I think this error due to the RFC destination set to Non-unicode which is expecting unicode option
    Check the R/3 machine whether it is unicode or not try to set the RFC destination option of unicode  in other way and check the error getting replicated or not
    Rajesh

Maybe you are looking for