RMAN-04006: auxiliary database error.

Hi all

Get this error when you try to do an RMAN Duplicate command.
Well, first of all, just try to connect to THE DB fails with this error:

ORA-12528: TNS:listener: all appropriate instances are blocking new connections


(1) target to the db is in State of EDITING.
(2) the DB versions are 11.2.0.2
(3) file listener is supported by the GRID.

I looked at a few notes of ML, specially
Connection to the use of the auxiliary string failed with ORA-12528 [419440.1 ID]
also this:

ORA-12528: TNS:listener: all appropriate instances are blocking new connections [301099.1 ID]

doesn't help at all...

any ideas?

RMAN-03002: failure of Db in dual at 13/06/2011 13:25:01
RMAN-06174: not connected to the auxiliary database
RMAN-03015: an error has occurred in the script stored memory Script
RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor

Well... DATABASE TARGET (script running);

I always offer to run DUPLICATE ONLY auxiliary instance. No source/target server.

Instance Oracle to close
output channel: prmy1

Because if you connect an auxiliary instance of another remotly server, for the most part, it fails each time as oracle bounces to THE databases (because of internal scripts).
So I highly recommend to run the script from the auxiliary server no target.

as

$ rman target sys/***@prod auxiliary.

RMAN > duplicate target database to "to the";

Thank you.

Tags: Database

Similar Questions

  • RMAN-04006: auxiliary database error: ORA-12504: TNS:listener has not been

    HIII...

    I was doing my dataguard configuration, my primary side is a 2 node RAC and my stand by is a single node.
    IM using the database and 11 GR 2 grid infrastructure.

    When I try to connect to the rating system standy priamry using RMAN im getting the following error.

    [*[*Oracle@Rac2 ~] rman target $ / auxiliary sys / sys@to_std *.

    Recovery Manager: release 11.2.0.1.0 - Production on Thu Sep 29 20:39:04 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: RAC (DBID = 2346715690)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04006: auxiliary database error: ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    My tnsnames.ora file is as follows

    to_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = STB.msftpnq.com)
    )
    )


    and my listsner.ora file is as follows

    list_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    )
    SID_LIST_list_std =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = STB.msftpnq.com)
    (SID_NAME = STB)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    )
    )


    Please can someone help me to solve the issue.


    Thanks in advance.

    change the string Service_name in the tnsnames.ora file in the following and try again

    (SERVICE_NAME = STB) will be replaced by (SERVICE_NAME = STB.msftpnq.com)

  • RMAN-04006: auxiliary database error: ORA-01031: insufficient privilege

    To clone physical db Eve, during the implementation of custody of data I am getting following error. How can I solve this problem.
    Recovery Manager: Release 11.2.0.1.0 - Production on Mon May 2 15:01:50 2011
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    RMAN> connect target sys
    
    target database Password: 
    connected to target database: TMDB (DBID=1592716922)
    
    RMAN> connect auxiliary sys@tbdb
    
    auxiliary database Password: 
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges

    Small link will help

    http://forums.Oracle.com/forums/thread.jspa?threadID=920605

  • RMAN-04005: target database error: ORA-01031: insufficient privileges

    Try to duplicate db
    I checked the orapwd file looks ok.

    Oracle: tulpcorpadb03$ rman TARGET sys/***@wcmp AUXILIARY.

    Release of Recovery Manager: 9.2.0.8.0 - 64 bit Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges

    I findout, this is prod db and not allowed to bounce to change, any other solution do rman duplicate work without changing it?

    SQL > show parameter password

    VALUE OF TYPE NAME
    -----------
    Remote_login_passwordfile string NONE

    SQL > connect virtue sysdba;
    Connected.
    SQL > select * from v$ pwfile_users;

    no selected line

    The auxiliary node must always have access to the backupset.

  • 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

  • Clone fails - auxiliary database listener running but not no projection in LSNRCTL

    Hello

    I'm a DBA again working with databases Oracle 11.2.0.2 on Solaris.

    With RMAN, I'm trying to clone a database of production of server1 to the database of test on server2. The RMAN process fails with the error: RMAN-04006: auxiliary database error: ORA-12528: TNS:listener: all appropriate instances are blocking new connections.

    When I look at the auxiliary database (test), it is up and running, I can't tnsping it. However, under the heading 'lsnrctl services' I noticed that the corresponding listener is missing... even though when I check the running processes using ' ps - ef | grep LSNR", I can see the process.

    I can start and stop the listener for this database successfully, but it is still not listed under lsnrctl show or lsnrctl services. The entry for this database in the listener.ora file corresponds to the exact same format as other listeners of DB on the same server that display correctly.

    The use of generic names, the entry is:

    LOGGING_LSNR_XXXX = OFF

    LSNR_XXXX =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1529))(HOST = server2))
    )
    )
    )

    SID_LIST_LSNR_XXXX =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = XXXX.domain.LOCAL)
    (SID_NAME = XXXX)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0.2/dbhome_1)
    )
    )

    TRACE_LEVEL_LSNR_XXXX = OFF

    Our previous DBA is not available for assistance.

    I would greatly appreciate any ideas or advice.

    Thank you.

    user13258951 wrote:
    I've renamed the listener.ora and stopped and restarted the listener, wait a minute, as you suggest. All databases on the server, but two appear in the commands below. One of the two that does not appear is the database in question. Is this provides additional clues? Thank you.

    It suggests to me that two missing databases have a value assigned to their 'LOCAL_LISTENER' init parameter, pointing to the non-standard port.

    It gives to think that the missing DBA has tried to look at things and created an environment unnecessarily complex.

    A single listener, with the default name for LISTENER, using the default port of 1521 is quite capable of--indeed, was designed for - several databases of several versions of several ORACLE_HOMEs service. Try to "name" a listener or put it on a default undefined port does nothing but confuse those who come behind.

    But I digress from the topic of your immediate problem. Return the listener.ora file, restart your receiver. Then note what JohnWatson said about the way of lsnrctl commands addressed to this non-standard listener.

    Published by: EdStevens on 8 may 2013 14:23

  • authentication fail to the auxiliary database

    Hi all

    I try to configure dataguard with rman version oracle 11 g 2 on linux 5.5

    When you plug it into the aux it fails with the following error:

    RMAN > Connect auxiliary sys/oracle@stdorcl

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-04006: auxiliary database error: ORA-01031: insufficient privileges


    I copied the password of the primary file and rename the instance name ensures. and when I tried with sql to connect.


    Listener and AMT also works very well:

    [oracle@localhost ~] $ lsnrctl status | grep stdorcl
    Service 'stdorcl' has 1 instance (s).
    "Stdorcl", the BLOCKED status, has 1 operation for this service...
    Service 'stdorcl.taurus.com' has 1 instance (s).
    Instance of 'stdorcl.taurus.com', status UNKNOWN, has 1 operation for this service...
    [oracle@localhost ~] $ tnsping stdorcl

    AMT Ping utility for Linux: Version 11.2.0.1.0 - Production on November 20, 2012 20:23:33

    Copyright (c) 1997, 2009, Oracle. All rights reserved.

    Use settings files:


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = stdorcl.taurus.com)))
    OK (0 msec)
    [oracle@localhost ~] $


    [oracle@localhost ~] $ sqlplus sys as sysdba@stdorcl

    SQL * more: Production release 11.2.0.1.0 on Tue Nov 20 20:19:28 2012

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    Enter the password:

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >



    don't know what's wrong.

    Thank you.

    Published by: 899329 on November 20, 2012 06:54

    Hello

    [oracle@localhost ~]$ lsnrctl status |grep stdorcl
    Service "stdorcl" has 1 instance(s).
    Instance "stdorcl", status BLOCKED, has 1 handler(s) for this service...
    Service "stdorcl.taurus.com" has 1 instance(s).
    Instance "stdorcl.taurus.com", status UNKNOWN, has 1 handler(s) for this service...
    

    What is the reason why your service is 'blocked '?
    Please re - check the listener configuration and details of initialization parameter (re - check all the steps once more)

    -Pavan Kumar N

  • RMAN Duplicate Database Error error ORA-00201

    Hello

    I tried to create the restore scenario backup in vmware. I have 2 similar server in Oracle Linux 6.2 (64-bit) where 11.2.0.4 has been installed. In my source server I orcl database and in the destination, there is no database. I took RMAN backup of database in the Source. Then I tried to Clone of Destination on Backup-based database without connection to the target and the catalog. Backup Destination and issued the command as follows:

    1 has created a pfile.ora with db_name = "orcl" only

    2. in the sqlplus command line: Startup nomount pfile = 'pfile.ora'

    Then

    started with RMAN, auxiliary

    Auxiliary RMAN.

    RMAN > duplicated to the backup location "orcl" database "/ home/Oracle/tmp";

    After some progress appears error ORA-00201 control file not compatible with 11.2.0.0.0 . Attempted to solve all day but failed. In trying so I even uninstalled and reinstalled several times oracle.

    Help, please

    Hasan Al Mamun

    Hello

    The problem is resolved. I added a line in the pfile.ora, i.e. * full = '11.2.0.4.0' then it's OK, Clone of database was complete.


  • RMAN and 05500: the auxiliary database must not be mounted when using DUPLICATE

    Hello

    Oracle10g2
    RHEL4

    The artist DR configuration using RMAN backup.

    There are two db Server computers:

    1) mac1-> backend
    2) mac2-> backup server

    File structure of database as a backup on the server location is the same.

    Entry TNSNAME on both servers are perfect, verified using tnsping.


    Now, to create a backup database.

    I made the RMAN backup on mac1 (main server) then transferred backup (full backup directory) to mac2 (backup server)

    Then, on the standby server,

    -> took on the eve of the database in nomount mode
    --> connected to the target database (i.e. standby db) with RMAN
    -> database connected to auxiliary

    But the granting of "Duplicate" command results in the error, as shown below:

    RMAN > target database double standby nofilenamecheck dorecover;

    RMAN-05502: the target database must be mounted on the issue of a duplicate order

    and when I put the target database (standby db) in the editing mode, gives the error below:

    RMAN and 05500: the auxiliary database must not be mounted on the issue of a duplicate order

    where I did mistake? How to solve this problem?


    Concerning

    Hello

    There is nothing wrong

    target (in fact the Pb of the source) must be mounted
    auxiliary (actually the destination db) can not be mounted.

    These messages refers to the source and destination db. from 11 g, you can duplicate opensource db (a.k.a. target)

    P.

  • Get the syntax error when you try to reproduce in the auxiliary database

    I get the following error message when you try to duplicate an instance:

    D:\ > rman target sys/xxx@hr3 rmancat/xxx@rman AUXILIARY catalogue.

    Recovery Manager: release 9.2.0.7.0 - Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    connected to target database: HR3 (DBID = 3470722132)
    connected to the recovery catalog database
    connected to the auxiliary database: CLONE (unassembled)

    RMAN > DATABASE of TARGET in DOUBLES at THE CLONE until TIME ' TO_DATE (February 24, 2011 0:00:06).
    (0 ',' JJ-MM-AAAA HH24:MI:SS') ".

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01005: syntax error: found 'clone': expected an a: 'double-quoted-string '.
    identifier, single-quoted-string ".
    RMAN-01007: 30 line 1 column file: entry standard

    Is it because I named the cloned database "CLONE", and that is a reserved word for Oracle, or is this something else that I missed?

    Thanks for any response...
    / Ronny

    Hello

    Is it because I named the cloned database "CLONE", and that is a reserved word for Oracle, or is this something else that I missed?

    Fix this error related to the keyword.
    You can run into a new problem in function if your configuration is incorrect.
    (backup items available on the clone host, file systems, settings etc..)
    Rgds,
    Tycho

  • RMAN-04004: recovery catalog database error: ORA-12170: TNS: connect the ti

    Hello:

    Last night ' RMAN backup error: ' RMAN-04004: recovery catalog database error: ORA-12170: TNS: Connect timeout.

    I can sqlplus to the target database and the catalog database. The listener is in place. What is the problem? What should I check?

    Thanks in advance for your help.

    in the oratest/orapass@rmandb1 CATALOG,.

    rmandb1 is the name of the service. normally the name of the service and the name of db are kept same.

    check rmandb1 tnsping where you try to run ' RMAN TARGET / CATALOG oratest/orapass@rmandb1 "command.

    as optput will get the ip address of the server on which db is resident, no port, Protocol

    as

    ---------

    [Oracle@RAC3 ~] $ tnsping orcl

    AMT Ping utility for Linux: Version 10.2.0.5.0 - Production on December 23, 2011 21:12:20

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:
    /opt/app/Oracle/product/DB/10.2.1/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = rac3.rajesh.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (10 ms)
    -------------------------------

    Here the HOST = rac3.rajesh.com is the present db Server

    Published by: Rajesh.Rathod on December 23, 2011 07:43

  • the database error duplicate from one server to another server

    Hello

    I'm practicing duplicate database to a single database server to another server. Path material and pilot on 2 machines is the same. Here are my steps:
    -Clone site:
    1 change the listener.ora with content:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    )
    )

    ADR_BASE_LISTENER = / u01/app/oracle
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = orcl)
    )
    )
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE
    2. stop and start receiving once again, show message as:
    Service "orcl" has 1 instance (s).
    Instance "orcl", status UNKNOWN, has 1 operation for this service...

    The command completed successfully
    3. create pfile from spfile file.
    4. stop and startup nomount with pfile is new pfile create in step 3.
    --------------------------------------- Source site
    1 edit tnsnames.ora with content like:
    VVCOREDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vvcoredb)
    )
    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = 10.254.1.235) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )
    2 run the command of rman like these:
    RMAN > Connect target sys@vvcoredb
    RMAN > target password database:
    RMAN > Connect auxiliary sys@orcl
    RMAN > database auxiliary password:
    RMAN > DUPLICATE TARGET DATABASE for database orcl active spfile nofilenamecheck.

    Then the result show below:
    From Db double to 24-SEP-12
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 63 type device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfilevvcoredb.ora' auxiliary format
    ' / u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora';
    clone of SQL 'alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora";
    }
    execution of Script memory

    Backup to starting 24-SEP-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 74 type device = DISK
    Backup finished 24-SEP-12

    SQL statement: alter system set spfile = "/u01/app/oracle/product/11.2.0/db_1/dbs/spfileorcl.ora"

    content of Script memory:
    {
    clone of SQL 'alter system set = db_name
    "ORCL" comment =
    "reproduce" scope = spfile;
    clone to stop immediately;
    startup nomount clone;
    }
    execution of Script memory

    SQL statement: alter system db_name set = comment "ORCL" = "duplicate" scope = spfile

    Instance Oracle to close

    connected to the auxiliary database (not started)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 24/09/2012 17:44:12
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-04014: failed to start: ORA-01261: parameter db_recovery_file_dest destination string cannot be translated
    ORA-01262: Stat failed on a destination of the file directory
    Linux-x86_64 error: 2: no such file or directory

    I don't know what wrong with my pfile file? I said to correct my pfile site clone like this:
    ORCL.__db_cache_size = 1476395008
    ORCL.__java_pool_size = 16777216
    ORCL.__large_pool_size = 16777216
    ORCL.__oracle_base='/U01/app/oracle'#ORACLE_BASE the value of the environment
    ORCL.__pga_aggregate_target = 1342177280
    ORCL.__sga_target = 1979711488
    ORCL.__shared_io_pool_size = 0
    ORCL.__shared_pool_size = 436207616
    ORCL.__streams_pool_size = 0
    *.audit_file_dest='/U01/app/Oracle/admin/ORCL/adump '
    * .audit_trail = "db".
    * full = '11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    * .db_block_size = 8192
    * .db_domain = "
    * .db_name = "orcl".
    *.db_recovery_file_dest='/U01/app/Oracle/flash_recovery_area/vvcoredb '
    * .db_recovery_file_dest_size = 4070572032
    *.diagnostic_dest='/U01/app/Oracle '
    *. Dispatchers ='(Protocol=TCP) (SERVICE = orclXDB)"
    * .memory_target = 3313500160
    * .open_cursors = 300
    * runoff = 150
    * .remote_login_passwordfile = "EXCLUSIVE."
    * .undo_tablespace = "UNDOTBS1.

    Please suggest me I miss some steps when trying to duplicate database?

    Any suggestions are welcome.

    Thanks in advance!

    P/s: sorry for my bad English.

    This error is because the location of the controlfile specified in your spfile is not present on your server to clone. Change the location of the parameter cntrolfile in spfil or create the same location on the server.

    Published by: Slim on 24 Sep 2012 17:47

  • Restore of database error

    Hello

    I get this error when I run the rman script.

    My steps:
    1. I took RMAN backup of database;
    2. in the same system, I want to create different DB name.
    3 created the new instance and password file.
    4 - instance nomount on the road (at that time in pfile db_name was same and db_unique_name was different).
    5-recovery control file;
    6 - This is the step I get the error message.

    RMAN > run {}
    2 > allocate channel c1 type disk;
    3 > the value of newname for datafile 1
    4 > to 'D:\oracle\product\10.2.0\oradata\dup\system01.dbf ';
    5 > the value of newname for data file 2
    6 > to 'D:\oracle\product\10.2.0\oradata\dup\UNDOTBS01.dbf ';
    7 > the value of newname for data file 3
    8 > to 'D:\oracle\product\10.2.0\oradata\dup\SYSAUX01.dbf ';
    9 > the value of newname for datafile 4
    10 > to 'D:\oracle\product\10.2.0\oradata\dup\USERS01.dbf ';
    11 > the value of newname for datafile 5
    12 > to 'D:\oracle\product\10.2.0\oradata\dup\THILAK.dbf ';
    13 > restore database;
    14 > switch datafile;
    {15 >}

    allocated channel: c1
    channel c1: sid = 155 devtype = DISK

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to June 6, 11

    channel c1: from datafile backupset restoration
    channel c1: specifying datafile (s) to restore from backup set
    restoring datafile 00001 to D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\SYSTEM01. DBF
    restoring datafile 00002 to D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\UNDOTBS01.
    DBF
    restoring datafile 00003 to D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\SYSAUX01. D
    BF
    restoring datafile 00004 in D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\USERS01. DB
    F
    restoring datafile 00005 to D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\THILAK. DBF

    channel c1: reading of the element of backup D:\BRIJESH\THILAK707ME6QJH20110606
    ORA-19870: error reading backup total D:\BRIJESH\THILAK707ME6QJH20110606
    ORA-19504: could not create the file "D:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\ D:\ORACLE\PRODUCT\10.2.0\ORADATA\DUP\THIL".
    AK. DBF. "
    ORA-27040: create file error, cannot create the file
    04002 - OSD: could not open the file
    S/O-error: (123 OS) the file name, directory name or volume label syntax is incorrect.
    switch to the previous backup

    output channel: c1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command to the 06/06/2011 17:18:03
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of the file 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

    RMAN >

    Hello

    You must configure the auxiliary channel.

    Click on the following link

    http://sabdarsyed.blogspot.com/2007/06/clone-of-database-on-same-host-IE.html

    What is your version of OS and db

  • Rman cloning (Segmentation fault) error

    Hi all

    Oracle version: 10.2.0.1
    Operating system: linux

    When we tried to make rman cloning by catalog, we get the following error here my clon database is on a server and my target and clon of database to Server B.

    Please find the below error.
    [oracle@test1161 ~]$ rman catalog rman/rman target sys/qfund@test
    Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jan 23 22:24:05 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    connected to target database: TEST (DBID=2034916279)
    connected to recovery catalog database
    
    RMAN> connect auxiliary sys/poor123@poor
    
    connected to auxiliary database: POOR (not mounted)
    
    RMAN> duplicate target database to poor;
    
    Starting Duplicate Db at 23-JAN-11
    starting full resync of recovery catalog
    full resync complete
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=155 devtype=DISK
    
    contents of Memory Script:
    {
       set until scn  22564684;
       set newname for datafile  1 to
     "/u02/poor/oradata/system01.dbf";
       set newname for datafile  2 to
     "/u02/poor/oradata/undotbs01.dbf";
       set newname for datafile  3 to
     "/u02/poor/oradata/sysaux01.dbf";
       set newname for datafile  4 to
     "/u02/poor/oradata/users01.dbf";
       set newname for datafile  5 to
     "/u02/poor/oradata/example01.dbf";
       set newname for datafile  6 to
     "/u02/poor/oradata/poorna.dbf";
       set newname for datafile  7 to
     "/u02/poor/oradata/bigtbs_01.dbf";
       set newname for datafile  8 to
     "/u02/poor/oradata/lak_tbs01.dbf";
       set newname for datafile  9 to
     "/u02/poor/oradata/vir2_01.dbf";
       set newname for datafile  10 to
     "/u02/poor/oradata/lak_tbs2_01.dbf";
       set newname for datafile  11 to
     "/u02/poor/oradata/vir_user01.dbf";
       set newname for datafile  12 to
     "/u02/poor/oradata/vir_bigf01.dbf";
       set newname for datafile  17 to
     "/u02/poor/oradata/hrscott.dbf";
       restore
       check readonly
       clone database
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting restore at 23-JAN-11
    using channel ORA_AUX_DISK_1
    
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    restoring datafile 00003 to /u02/poor/oradata/sysaux01.dbf
    restoring datafile 00004 to /u02/poor/oradata/users01.dbf
    restoring datafile 00005 to /u02/poor/oradata/example01.dbf
    restoring datafile 00006 to /u02/poor/oradata/poorna.dbf
    restoring datafile 00007 to /u02/poor/oradata/bigtbs_01.dbf
    restoring datafile 00008 to /u02/poor/oradata/lak_tbs01.dbf
    restoring datafile 00009 to /u02/poor/oradata/vir2_01.dbf
    restoring datafile 00010 to /u02/poor/oradata/lak_tbs2_01.dbf
    restoring datafile 00011 to /u02/poor/oradata/vir_user01.dbf
    restoring datafile 00012 to /u02/poor/oradata/vir_bigf01.dbf
    restoring datafile 00017 to /u02/poor/oradata/hrscott.dbf
    channel ORA_AUX_DISK_1: reading from backup piece /u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/u01/app/oracle/product/10.2.0/db_1/dbs/1pm2tq5e_1_1 tag=TAG20110124T124846
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:01:45
    Finished restore at 23-JAN-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M  REUSE,
      GROUP  2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M  REUSE,
      GROUP  3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M  REUSE
     DATAFILE
      '/u02/poor/oradata/system01.dbf'
     CHARACTER SET WE8ISO8859P1
    
    
    contents of Memory Script:
    {
       switch clone datafile all;
    }
    executing Memory Script
    
    released channel: ORA_AUX_DISK_1
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=741272711 filename=/u02/poor/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=741272711 filename=/u02/poor/oradata/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=741272711 filename=/u02/poor/oradata/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=741272711 filename=/u02/poor/oradata/example01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=741272711 filename=/u02/poor/oradata/poorna.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=6 stamp=741272711 filename=/u02/poor/oradata/bigtbs_01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=741272711 filename=/u02/poor/oradata/lak_tbs01.dbf
    datafile 9 switched to datafile copy
    input datafile copy recid=8 stamp=741272711 filename=/u02/poor/oradata/vir2_01.dbf
    datafile 10 switched to datafile copy
    input datafile copy recid=9 stamp=741272711 filename=/u02/poor/oradata/lak_tbs2_01.dbf
    datafile 11 switched to datafile copy
    input datafile copy recid=10 stamp=741272711 filename=/u02/poor/oradata/vir_user01.dbf
    datafile 12 switched to datafile copy
    input datafile copy recid=11 stamp=741272711 filename=/u02/poor/oradata/vir_bigf01.dbf
    datafile 17 switched to datafile copy
    input datafile copy recid=12 stamp=741272711 filename=/u02/poor/oradata/hrscott.dbf
    
    contents of Memory Script:
    {
       set until scn  22563972;
       recover
       clone database
        delete archivelog
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting recover at 23-JAN-11
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=158 devtype=DISK
    
    starting media recovery
    
    archive log thread 1 sequence 23 is already on disk as file /u02/archive/1_23_741021347.dbf
    archive log thread 1 sequence 24 is already on disk as file /u02/archive/1_24_741021347.dbf
    archive log thread 1 sequence 25 is already on disk as file /u02/archive/1_25_741021347.dbf
    archive log thread 1 sequence 26 is already on disk as file /u02/archive/1_26_741021347.dbf
    archive log thread 1 sequence 27 is already on disk as file /u02/archive/1_27_741021347.dbf
    archive log thread 1 sequence 28 is already on disk as file /u02/archive/1_28_741021347.dbf
    archive log thread 1 sequence 29 is already on disk as file /u02/archive/1_29_741021347.dbf
    archive log thread 1 sequence 30 is already on disk as file /u02/archive/1_30_741021347.dbf
    archive log thread 1 sequence 31 is already on disk as file /u02/archive/1_31_741021347.dbf
    archive log thread 1 sequence 32 is already on disk as file /u02/archive/1_32_741021347.dbf
    archive log thread 1 sequence 33 is already on disk as file /u02/archive/1_33_741021347.dbf
    archive log thread 1 sequence 34 is already on disk as file /u02/archive/1_34_741021347.dbf
    archive log thread 1 sequence 35 is already on disk as file /u02/archive/1_35_741021347.dbf
    archive log thread 1 sequence 36 is already on disk as file /u02/archive/1_36_741021347.dbf
    archive log thread 1 sequence 37 is already on disk as file /u02/archive/1_37_741021347.dbf
    archive log thread 1 sequence 38 is already on disk as file /u02/archive/1_38_741021347.dbf
    archive log filename=/u02/archive/1_23_741021347.dbf thread=1 sequence=23
    archive log filename=/u02/archive/1_24_741021347.dbf thread=1 sequence=24
    archive log filename=/u02/archive/1_25_741021347.dbf thread=1 sequence=25
    archive log filename=/u02/archive/1_26_741021347.dbf thread=1 sequence=26
    archive log filename=/u02/archive/1_27_741021347.dbf thread=1 sequence=27
    archive log filename=/u02/archive/1_28_741021347.dbf thread=1 sequence=28
    archive log filename=/u02/archive/1_29_741021347.dbf thread=1 sequence=29
    archive log filename=/u02/archive/1_30_741021347.dbf thread=1 sequence=30
    archive log filename=/u02/archive/1_31_741021347.dbf thread=1 sequence=31
    archive log filename=/u02/archive/1_32_741021347.dbf thread=1 sequence=32
    archive log filename=/u02/archive/1_33_741021347.dbf thread=1 sequence=33
    archive log filename=/u02/archive/1_34_741021347.dbf thread=1 sequence=34
    archive log filename=/u02/archive/1_35_741021347.dbf thread=1 sequence=35
    archive log filename=/u02/archive/1_36_741021347.dbf thread=1 sequence=36
    archive log filename=/u02/archive/1_37_741021347.dbf thread=1 sequence=37
    archive log filename=/u02/archive/1_38_741021347.dbf thread=1 sequence=38
    media recovery complete, elapsed time: 00:00:04
    Finished recover at 23-JAN-11
    
    contents of Memory Script:
    {
       shutdown clone;
       startup clone nomount ;
    }
    executing Memory Script
    
    database dismounted
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     524288000 bytes
    
    Fixed Size                     1220384 bytes
    Variable Size                134217952 bytes
    Database Buffers             385875968 bytes
    Redo Buffers                   2973696 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "POOR" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( '/u02/poor/oradata/redo1a.log' ) SIZE 50 M  REUSE,
      GROUP  2 ( '/u02/poor/oradata/redo2a.log', '/u02/poor/oradata/redo2b.log' ) SIZE 50 M  REUSE,
      GROUP  3 ( '/u02/poor/oradata/redo3a.log', '/u02/poor/oradata/redo1b.log', '/u02/poor/oradata/redo3b.log' ) SIZE 50 M  REUSE
     DATAFILE
      '/u02/poor/oradata/system01.dbf'
     CHARACTER SET WE8ISO8859P1
    
    
    contents of Memory Script:
    {
       set newname for tempfile  1 to
     "/u02/poor/oradata/temp.dbf";
       switch clone tempfile all;
       catalog clone datafilecopy  "/u02/poor/oradata/undotbs01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/sysaux01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/users01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/example01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/poorna.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/bigtbs_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/lak_tbs01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir2_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/lak_tbs2_01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir_user01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/vir_bigf01.dbf";
       catalog clone datafilecopy  "/u02/poor/oradata/hrscott.dbf";
       switch clone datafile all;
    }
    executing Memory Script
    
    executing command: SET NEWNAME
    
    renamed temporary file 1 to /u02/poor/oradata/temp.dbf in control file
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/undotbs01.dbf recid=1 stamp=741272727
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/sysaux01.dbf recid=2 stamp=741272727
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/users01.dbf recid=3 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/example01.dbf recid=4 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/poorna.dbf recid=5 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/bigtbs_01.dbf recid=6 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/lak_tbs01.dbf recid=7 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir2_01.dbf recid=8 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/lak_tbs2_01.dbf recid=9 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir_user01.dbf recid=10 stamp=741272728
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/vir_bigf01.dbf recid=11 stamp=741272729
    
    cataloged datafile copy
    datafile copy filename=/u02/poor/oradata/hrscott.dbf recid=12 stamp=741272729
    
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=741272727 filename=/u02/poor/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=741272727 filename=/u02/poor/oradata/sysaux01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=741272728 filename=/u02/poor/oradata/users01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=741272728 filename=/u02/poor/oradata/example01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=741272728 filename=/u02/poor/oradata/poorna.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=6 stamp=741272728 filename=/u02/poor/oradata/bigtbs_01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=741272728 filename=/u02/poor/oradata/lak_tbs01.dbf
    datafile 9 switched to datafile copy
    input datafile copy recid=8 stamp=741272728 filename=/u02/poor/oradata/vir2_01.dbf
    datafile 10 switched to datafile copy
    input datafile copy recid=9 stamp=741272728 filename=/u02/poor/oradata/lak_tbs2_01.dbf
    datafile 11 switched to datafile copy
    input datafile copy recid=10 stamp=741272728 filename=/u02/poor/oradata/vir_user01.dbf
    datafile 12 switched to datafile copy
    input datafile copy recid=11 stamp=741272729 filename=/u02/poor/oradata/vir_bigf01.dbf
    datafile 17 switched to datafile copy
    input datafile copy recid=12 stamp=741272729 filename=/u02/poor/oradata/hrscott.dbf
    
    contents of Memory Script:
    {
       Alter clone database open resetlogs;
    }
    executing Memory Script
    
    *Segmentation fault*
    Please help me solve the problem.

    Thank you and best regards,
    Kahina Prasad.S

    Published by: SIDDABATHUNI on January 24, 2011 13:28

    After there alert.log of the AUXILIARY instance

  • Is this possible in double database on another server without losing any data on the auxiliary database?

    Hi guys.

    I have following scenario

    -i have a backup game compressed a database in NOARCHIVELOG mode.

    -i want a database that has been duplicated on a server different but

    without losing the data on the auxiliary database.

    -the two server contains the same version of oracle 11g.

    -two servers UNIX/Linux then

    s ' please reply to more info.

    DB version: 11.2.0.1

    Name of the comic book source: has

    Name of the comic in double: diferent Pentecost B file structure.



    Can someone help me please?

    The target and duplicate database cannot have the same ID duplicate so is not what you need. If you have FOO database on a server and want to copy to FOO on server B, with a different file structure, then simply copy the RMAN backupsets to Server B, and restore the database by renaming the data files. There are many examples on the web.

Maybe you are looking for

  • Enable Firefox Olympic flame

    Hello:I know that many people have problems with this doodle, but in my case having ' subject: House "as home page, I can't see the animation. How can I activate it?

  • USB ports not working not not on Satellite Pro C650 - 18 d

    HelloI have a Satellite Pro C650 - 18 d on which USB ports are dead.So far, I've updated the chipset and BIOS - but they stay dead. It doesn't seem to be a power either. I have a USB key with LED and it does not light. Any ideas? It's under warranty

  • Can satellite A300d-16W - I use HARD drive recovery after installing Win XP?

    I formatted my PC and installed XP. Can I reinstall Vista using HARD drive recovery?

  • How to use * callbackData

    I'm not an expert c programmer, which is probably why this question is... What is the right way to use the * callbackData variable? For instance when you create an asynchronous callback or in my courts, a reminder of menu.  I'm trying to pass a strin

  • URGENT! SANSA E280 V2 HELP!

    Right then, I was recording the radio on my mp3 and everything went well. I turned it off but when I went to turn it back on I had a box reading who said not "enough space for music DB. Please free 90 MB' then it shuts down. It will not come back. Wh