ORA-01017 when duplicate RMAN database active

Hello, ORACLE guru!

I have some difficulties trying to reproduce DB via RMAN duplicate from active database.

The script is simple:

 run
 {
 allocate channel ch1 device type disk;
 allocate auxiliary channel aux1 device type disk;
 duplicate target database to mydb from active database;
 }

The problem is in this summary:

Starting backup at 15-JAN-14
channel ch1: starting datafile copy
copying current control file
Oracle instance started


Total System Global Area   10689474560 bytes


Fixed Size                     2237776 bytes
Variable Size               4227861168 bytes
Database Buffers            6442450944 bytes
Redo Buffers                  16924672 bytes


contents of Memory Script:
{
   sql clone "alter system set  db_name =
''mydb'' comment=
''Reset to original value by RMAN'' scope=spfile";
   sql clone "alter system reset  db_unique_name scope=spfile";
   shutdown clone immediate;
}
executing Memory Script


sql statement: alter system set  db_name =  ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile


sql statement: alter system reset  db_unique_name scope=spfile


Oracle instance shut down
released channel: ch1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server


RMAN>
RMAN>

check and see the differences:

The database with RMAN duplicate

Tags: Database

Similar Questions

  • Duplicate RMAN DATABASE

    Hello

    I am creating a new 11.2.0.1 database by duplicating a 11.2.0.1 existing database with Rman "from database" option.

    I created a password file and the listening port is configured this way.
    The database to the is started in nomount State.

    RMAN
    connect target sys/pwd123@SRCDB
    connect auxiliary sys/pwd123@AUXDB
    AUXDB duplicate target database
    ACTIVE DATABASE;

    It does not, saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is normal given that the listener is havig a handful in the State BLOCKED for this AUXDB is it in NOMOUNT State.

    Could you please help me on how to proceed?

    An option can be manually create the controlfile and edit the instance before doing the double. I hope that Rman can continue from there.
    Another option is to go for the basic duplicate backup.

    Is there another way to go?

    Kind regards
    Aravind

    It does not, saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is normal given that the listener is havig a handful in the State BLOCKED for this AUXDB is it in NOMOUNT State.

    Could you please help me on how to proceed?

    An option can be manually create the controlfile and edit the instance before doing the double. I hope that Rman can continue from there.
    Another option is to go for the basic duplicate backup.

    Is there another way to go?

    Provide static record side AUXILIARY for your auxiliary instance, then try again. For example, edit listener.ora as

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = )
          (SID_NAME = AUXDB)
        )
      )
    
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = 1521))
      )
    

    And restart the receiver on the auxiliary host and try again

  • Cannot connect through the ORA-01017 Invalid Username/Password database link

    Hello

    I have two virtual machines with Oracle 11 g 2 and one with Oracle 12 c installed on RHEL 6

    I wanted to install a dblink between the 2, but after you have created the dblink I get error: ORA - 01017 Invalid username/password

    Now, I know, the error is clear enough but when I try to connect using netmgr it works

    So just to summarize, Oracle 12 c, I'm trying to connect to Oracle 11 g using a DBLINK but I get ORA-01017

    Since Oracle 12 c, I created a new service so that I have the remote db alias in tnsname.ora and at the end of the process, when they ask for test connection, I can connect successfully to remote db

    Then I created a dblink according to the following:

    SQL > CREATE PUBLIC DBLINK LINK DATABASE to CONNECT to

    "hr""" IDENTIFIED BY ' password ' with the HELP of 'REMOTEDB ';

    If I then select * from employees@dblink, I get the error

    What I've noticed, it is that in the 11g (the target machine) I can not connect with OS authentication, don't know if its related

    If i: sqlplus / as sysdba I get ORA-01031 insufficient become

    I have to connect to the Linux box as user 'oracle', who is a member of the groups oinstall dba

    Am I missing something?

    Thank you!

    CHRI$ says:

    SQL > CREATE PUBLIC DATABASE LINK DBLINK TO CONNECT TO

    'hr' IDENTIFIED BY 'password' with the HELP of "REMOTEDB";

    You will probably have to create the link without containing the user name and the word in double quotes.

  • ORA-01017 when you add the name of the service

    Hello

    In short, I can connect locally with "sqlplus USER/pass. However, I can not connect with "sqlplus USER/pass@zabbix" or I can't connect externally using thin client:


    PS C:\ > sqlplus USER/pass@zabbix
    SQL * more: version 11.1.0.7.0 - Production on Tue Mar 12 10:35:21 2013
    Copyright (c) 1982, 2008, Oracle. All rights reserved.
    ERROR:
    ORA-01017: name of user and password invalid. connection refused


    How can I solve this? I can connect to the outside as SYS as SYSDBA. Will there be a privilege to allow users to connect to a particular database?

    -----

    I create the user like this:

    CREATE A USER
    IDENTIFIED BY PASS
    DEFAULT TABLESPACE USERS
    TEMPORARY TEMP TABLESPACE
    DEFAULT PROFILE
    RELEASE OF ACCOUNT;
    GRANT ALTER USER SESSION;
    GRANT CREATE SESSION FOR THE USER;
    GRANT CONNECT TO THE USER;
    ALTER USER DEFAULT ROLE USER;

    -----
    tnsnames.ora:

    ZABBIX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = a.dom.b.com) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = zabbix)
    )
    )


    -----

    PS C:\ > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on March 12, 2013 10:18:34

    Copyright (c) 1991, 2008, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP (PORT = 1)(HOST=a.dom.b.com)
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    TNSLSNR for Windows 64-bit version: Version 11.1.0.7.0 - Production
    Start date March 1, 2013 16:15:25
    Uptime 10 days 17 HR. 3 min. 24 sec.
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    D:\...\listener.ora Listener parameter file
    D:\...\Log.XML log listener
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=a.dom.b.com) (PORT = 1521)))
    Summary of services...
    Service 'zabbix' has 1 instance (s).
    Instance 'zabbix' READY State, has 1 operation for this service...

    -----


    PS C:\ > tnsping zabbix

    AMT Ping Utility for 64-bit Windows: Version 11.1.0.7.0 - Production on March 12, 2013 10:18:15

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

    Use settings files:
    d:\...\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = a.dom.b.com) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = zabbix)))
    OK (0 msec)

    Edited by: 970022 March 12, 2013 08:35

    Edited by: 970022 March 12, 2013 08:51

    Edited by: 970022 March 12, 2013 08:54

    970022 wrote:
    I agree with your chances. The answer may be as simple as associate an account with a database. I posted the way in which the user was created. The user has been created through SQLPLUS SYS as SYSDBA user. I can't find any documentation that describes how to link a user to a database.

    sqlplus USER/pass@zabbix

    you are "assuming" happens above to a specific database.
    What evidence do you have that you REALLY get to the DB where you know what USER/pass are?

  • Duplicate database RMAN 11 GR 2 ORA-17627 ORA-01017 RMAN-03009 ORA-17628

    Hello

    I'm getting ORA-17627: ORA-01017: name of user and password invalid. connection refused when using the RMAN duplicate on the same host using the account Oracle DBA. The system is Linux Oracle and Oracle 11.2.0.1 5.5

    I tested the connectivity and passwords and everything works fine. What could be the reason of this problem please?

    Details below:

    Thank you.


    H3. Summary of the solution:

    A big thank you to all who responded! The problem is solved finally :-)

    The ORA-17627: ORA-01017 has been corrected using the connection string to connect to the target database, instead of target rman / in the command prompt
    $ rman
    RMAN> connect target sys/password@orcl
    RMAN> connect auxiliary sys/password@clonedb
    RMAN> duplicate target database to clonedb from active database;
    However, there was still another question:
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00001 name=+DATA/orcl/datafile/system.256.737564331
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/29/2010 14:40:21
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    The alert.log to the auxiliary database (clonedb) shows:

    Errors in the /u01/app/oracle/diag/rdbms/clonedb/clonedb/trace/clonedb_ora_6129.trc file:
    ORA-19505: impossible to identify the file ' / scratch/oradata/clonedb/datafile/orcl/datafile/system.256.737564331 '.
    ORA-27040: create file error, cannot create the file
    Linux-x86_64 error: 2: no such file or directory

    I fixed the problem by changing the following text in the settings of the clonedb instance file:

    * .db_file_name_convert =('+Data/ORCL/','/Scratch/oradata/clonedb/')
    * .log_file_name_convert =('+Data/ORCL/onlinelog/','/Scratch/oradata/clonedb/logfile/')

    Thank you!





    H3. Problem:
    [orcl@ol55]$ rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Dec 28 21:40:25 2010
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORCL (DBID=1265345286)
    
    RMAN> connect auxiliary sys/test@clonedb
    
    connected to auxiliary database: CLONEDB (not mounted)
    
    RMAN> duplicate target database to clonedb from active database;
    
    Starting Duplicate Db at 28-DEC-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=19 device type=DISK
    
    contents of Memory Script:
    {
       sql clone "create spfile from memory";
    }
    executing Memory Script
    
    sql statement: create spfile from memory
    
    contents of Memory Script:
    {
       shutdown clone immediate;
       startup clone nomount;
    }
    executing Memory Script
    
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     839282688 bytes
    
    Fixed Size                     2217992 bytes
    Variable Size                645924856 bytes
    Database Buffers             188743680 bytes
    Redo Buffers                   2396160 bytes
    
    contents of Memory Script:
    {
       sql clone "alter system set  db_name = 
     ''ORCL'' comment=
     ''Modified by RMAN duplicate'' scope=spfile";
       sql clone "alter system set  db_unique_name = 
     ''CLONEDB'' comment=
     ''Modified by RMAN duplicate'' scope=spfile";
       shutdown clone immediate;
       startup clone force nomount
       backup as copy current controlfile auxiliary format  '/scratch/oradata/clonedb/controlfile/control01.ctl';
       restore clone controlfile to  '/scratch/oradata/clonedb/controlfile/control02.ctl' from 
     '/scratch/oradata/clonedb/controlfile/control01.ctl';
       alter clone database mount;
    }
    executing Memory Script
    
    sql statement: alter system set  db_name =  ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
    
    sql statement: alter system set  db_unique_name =  ''CLONEDB'' comment= ''Modified by RMAN duplicate'' scope=spfile
    
    Oracle instance shut down
    
    Oracle instance started
    
    Total System Global Area     839282688 bytes
    
    Fixed Size                     2217992 bytes
    Variable Size                645924856 bytes
    Database Buffers             188743680 bytes
    Redo Buffers                   2396160 bytes
    
    Starting backup at 28-DEC-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=35 device type=DISK
    channel ORA_DISK_1: starting datafile copy
    copying current control file
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/28/2010 21:42:08
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/28/2010 21:42:08
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    H3. Configuration

    H4. Listener and Tnsnames

    H3. Note: (UR = A) clause in tnsnames.ora is intended to operate with a dynamically
    Manager recorded for the SERVICE_NAME against SID is preferable. (ID 362656.1)

    $ cat /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
        )
      )
    
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
              (ORACLE_HOME= /u01/app/oracle/product/11.2.0/db)
              (SID_NAME = clonedb)
              (GLOBAL_DBNAME= clonedb.example.com)
           )
        )
    
    
    
    
    ADR_BASE_LISTENER = /u01/app/oracle
    
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = ON
    
    
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/db/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    
    CLONEDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ol55.example.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = clonedb.example.com)
          (UR = A)
        )
      )
    
    
    $ lsnrctl status
    
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 28-DEC-2010 21:35:54
    
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    ------------------------
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                26-DEC-2010 02:59:35
    Uptime                    2 days 18 hr. 36 min. 18 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/grid/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/ol55/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ol55.example.com)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM", status READY, has 1 handler(s) for this service...
    Service "clonedb.example.com" has 2 instance(s).
      Instance "clonedb", status UNKNOWN, has 1 handler(s) for this service...
      Instance "clonedb", status BLOCKED, has 1 handler(s) for this service...
    Service "orcl.example.com" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.example.com" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "test.example.com" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    Service "testXDB.example.com" has 1 instance(s).
      Instance "test", status READY, has 1 handler(s) for this service...
    The command completed successfully
    H4. pFile and spfile
    $ cat initclonedb.ora
    clonedb.__db_cache_size=192937984
    clonedb.__java_pool_size=4194304
    clonedb.__large_pool_size=4194304
    clonedb.__oracle_base='/u01/app/oracle'
    clonedb.__pga_aggregate_target=339738624
    clonedb.__sga_target=503316480
    clonedb.__shared_io_pool_size=0
    clonedb.__shared_pool_size=293601280
    clonedb.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/clonedb/adump'
    *.audit_trail='db'
    *.backup_tape_io_slaves=TRUE
    *.compatible='11.2.0.0.0'
    *.control_files='/scratch/oradata/clonedb/controlfile/control01.ctl','/scratch/oradata/clonedb/controlfile/control02.ctl'
    *.db_block_checking='full'
    *.db_block_checksum='full'
    *.db_block_size=8192
    *.db_create_file_dest='/scratch/oradata/clonedb'
    *.db_domain='example.com'
    *.db_name='clonedb'
    *.db_recovery_file_dest='+FRA'
    *.db_recovery_file_dest_size=12884901888
    *.log_archive_dest='/scratch/oradata/clonedb/archivelog'
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=clonedbXDB)'
    *.memory_target=843055104
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    *.db_file_name_convert=('+DATA','/scratch/oradata/clonedb/datafile')
    *.log_file_name_convert=('+DATA','/scratch/oradata/clonedb/logifle')
    
    $ sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 21:26:41 2010
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup nomount pfile='$ORACLE_HOME/dbs/initclonedb.ora'
    ORACLE instance started.
    
    Total System Global Area  839282688 bytes
    Fixed Size              2217992 bytes
    Variable Size            641730552 bytes
    Database Buffers       192937984 bytes
    Redo Buffers              2396160 bytes
    SQL> 
    H4. Password file and the connection test
    $ orapwd file=$ORACLE_HOME/dbs/orapwclonedb password='test'
    
    $ sqlplus 'sys/test@clonedb as sysdba'
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 28 19:58:14 2010
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    Published by: Dude on December 29, 2010 06:37

    Hi guy,
    Please configure the tnsnames and auditor of the target and auxiliary.
    That set the script to use OIC to connect in both instances like this:

    connect target sys/test@orcl
    connect auxiliary sys/test@clonedb

    Please after the release.
    Kind regards
    Tycho

  • ORA-17629: when you try to use database active for the construction of Eve

    Hey guys, I did research on it for hours and I tried different things but when even cannot get a handle of what Miss me...

    I'll try the 11 g physical creation Eve to help "...". of the active database"instead of the old way. I keep running into a brick wall. Any help would be appreciated.
    DB version is 11.2.0.2 on AIX

    This is what has been done...
    1 created pfile on primary and standby
    2 created orapwd file and transferred to the standby
    3 standby db is nomounted (startup nomount) and listener is running

    cemabc_p = main forum nom_unique
    cemabc_s = unique name of instance eve

    im commands running in mode ensures:
    RMAN target backup_admin/temabc@cemabc_p catalog rman/qaabc@rmnabc

    AUXILIARY backup_admin/temppw@cemabc_s connection
    RMAN > DUPLICATE TARGET DATABASE BEFORE database NOFILENAMECHECK active;

    From February 22, 13 Db double
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 7 type of device = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / oracle/app/oracle/product/11.2.0.2/dbs/orapwcemabc' auxiliary format
    ' / oracle/app/oracle/product/11.2.0.2/dbs/orapwcemabc';
    }
    execution of Script memory

    From backup February 22, 13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 112 type device = DISK
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 22/02/2013 14:53:52
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the ORA_DISK_1 channel at 22/02/2013-14:53:52
    ORA-17629: unable to connect to the remote database server
    ORA-17629: unable to connect to the remote database server



    What ive tried so far... I tried to connect from the primary database:
    adcabc1: / home/oracle/dba > rman target backup_admin/temabc catalog rman/qabc@rmnabc

    Recovery Manager: release 11.2.0.2.0 - Production on Fri Feb 22 14:52:51 2013

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

    connected to target database: CEMABC (DBID = 4229695208)
    connected to the recovery catalog database

    RMAN > catalog resync db_unique_name all;


    from full resynchronization of the recovery catalog
    full complete Resync

    from full resynchronization of the recovery catalog
    full complete Resync

    from full resynchronization of the recovery catalog
    full complete Resync



    Still no luck.
    I have cemabc_p and cemabc_s both primary and standby tnsping succuessfully.

    Im sure I'm missing a step, if it didn't there was more information need... Let me know

    Ok

    I guess that

    connected to target database: CEMABC (DBID=4229695208)
    connected to auxiliary database: CEMABC (not mounted)
    

    On the remote server's right? If so, it shows that RMAN was able to connect to the main server and the local static connection. So the problem is probably that the principal server cannot connect back.

    You need an entry for the CLONE in your TNSNAMES file. ORA on both servers. Can you confirm this?

    Can you post the listener.ora for clone entry?

    I'm double control it

    rman target backup_admin/temabc@cemabc_p catalog rman/qaabc@rmnabc
    

    (Above is odd)

    Mine:

    rman target=sys/@recover2 auxiliary=sys/@reclone
    

    I use SYS/password both for him to work.

    Also, make sure that these are defined

    listener.ora
    INBOUND_CONNECT_TIMEOUT_ = 120
    
    sqlnet.ora
    SQLNET.INBOUND_CONNECT_TIMEOUT = 120
    

    Restart the listeners later

    Best regards

    mseberg

    Published by: mseberg on February 22, 2013 15:10

    Published by: mseberg on February 22, 2013 15:11

  • RMAN-03009: ORA-17628: all duplicate Active

    OS - Linux 64
    Oracle 11.2.0.2.0

    Database duplication "ssdev' to 'dupli' on the same server...

    connected to target database: SSDEV (DBID = 2209227163)
    connected to the auxiliary database: DUPLI (unassembled)

    RMAN > database duplicated dupli nofilenamecheck of the active database.

    From 1st March 11 Db double
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 134 type device = DISK

    content of Script memory:
    {
    clone of SQL "create spfile from memory";
    .....
    ...
    ...

    then I get these...

    From 1st March 11 backup
    using channel ORA_DISK_1
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = 00005 name=/u01/app/oracle/oradata/ssdev/apex01.dbf
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 01/03/2011 15:58:47
    ORA-17628: error Oracle 19505 returned by remote Oracle Server
    continue other job steps, not a not working will not re-run
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = name=/u01/app/oracle/oradata/ssdev/users01.dbf 00004


    Ssdev trace file

    ------

    minact-SNA-status of master: Greek-gmin scn:0 x 0000.00000000 - scn:0 x 0000.00000000 gcalc - scn:0 x 0000.00000000

    2011-03-01 15:01:46.068
    minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a2c2 - 0003 .83c1a2c2 gcalc - 0003 .83c1a2c2 x scn:0 x scn:0

    2011-03-01 15:06:47.200
    minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a3e3 - 0003 .83c1a3e3 gcalc - 0003 .83c1a3e3 x scn:0 x scn:0
    minact-SNA-status of master: Greek-gmin scn:0 x 0003 .83c1a4e7 - 0003 .83c1a4e7 gcalc - 0003 .83c1a4e7 x scn:0 x scn:0

    -------

    Nothing in the alert log...

    db_file_name_convert = (' / u01/app/oracle/oradata/ssdev '.' / u01/app/oracle/oradata/dupli ')

    Is it a '. '. (DOT) or a ',' (COMMA) between the two railways?

    Hemant K Collette

  • duplicate/clone database recovery failed, but backup total available (ORA-19505, ORA-17503)

    Hello

    I'm 11 GR 2. I ran a duplicate of RMAN database ABCD01P with the simple script:

    DUPLICATE THE TARGET DATABASE TO "TESTBKP' OF THE ACTIVE DATABASE.

    It ran fine for about 3 hours and ended in failure, after all my 175 data files

    have been copied to the destination host, when you start to recover. The log shows:

    ...

    content of Script memory:

    {

    until the SNA 607608188039.

    retrieve the archivelog deletion of database clone;

    }

    ...

    destination for the restoration of the data file 00009: +DATAF/testbkp/datafile/ab11_lob.435.847475901

    aux1 channel: reading of the element of backup +FRA/abcd01p/backupset/2014_05_13/nnndn1_abcd01p_daily_0.669.847476021

    aux2 channel: from additional data file from the restore backup set

    aux2 channel: specifying datafile (s) to restore from backup set

    ...

    and then failed with:

    ORA-19870: error while restoring the backup +FRA/abcd01p/backupset/2014_05_13/nnndn1_abcd01p_daily_0.669.847476021 piece

    ORA-19505: impossible to identify the file "+ FRA/abcd01p/backupset/2014_05_13/nnndn1_abcd01p_daily_0.669.847476021".

    ORA-17503: ksfdopn:2 could not open the file +FRA/abcd01p/backupset/2014_05_13/nnndn1_abcd01p_daily_0.669.847476021

    I do not understand because this file it says it could not identify or open exists and is present in my FRA...

    (this backup from an incremental backup, updated full and the first one I did on the source DB one hour before

    -INCREMENTAL LEVEL BACKUP 1 TO RETRIEVE THE COPY WITH THE TAG... DATABASE PLUS ARCHIVELOG...-)

    Any idea?

    Thank you very much...

    SEB

    Hi Seb,

    I've seen similar error reported when there is simultaneous backup running operation.

    Make sure to run twice at a time when there is no alternative transaction.

    Thank you

    Renu

  • RMAN-05501: abandonment of duplicate target database

    Hello

    I have a little problem with my duplication of the previous day.
    The stupif thing is that I created the day before with this script, first time and after that I decided to recreate it in a different folder
    and since then, I get this error at the end of the process.


    starting media recovery

    Journal archived for thread 1 with sequence 13143 is already on the disc in the file /archives/CMOVP/archivelogs/1_13143_810397891.arc
    Journal archived for thread 1 with sequence 13144 is already on the disc in the file /archives/CMOVP/archivelogs/1_13144_810397891.arc
    Journal archived for thread 1 with sequence 13145 is already on the disc in the file /archives/CMOVP/archivelogs/1_13145_810397891.arc
    Journal archived for thread 1 with sequence 13146 is already on the disc in the file /archives/CMOVP/archivelogs/1_13146_810397891.arc
    Archive log file name=/archives/CMOVP/archivelogs/1_13143_810397891.arc thread = 1 sequence = 13143
    output channel: prm1
    output channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 01/05/2013 23:39:32
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    ORA-00283: cool cancelled due to errors
    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'
    ORA-00283: cool cancelled due to errors
    ORA-00354: corrupted redo log block header
    ORA-00353: journal corruption near block 2048 change 1524092704 time 01/05/2013 22:18:20
    ORA-00334: archived log: ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'


    I followed all the steps to create the instance of relief, as I said, I've created a first time

    What has changed the second time is that I have insert the following parameters in my init.ora

    db_file_name_convert = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/cmovelproddr.
    LOG_FILE_NAME_CONVERT = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/redolog".


    I run the script to duplicate the db:

    run
    {
    allocate channel prm1 type disk;
    allocate auxiliary channel stby1 type disk;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    ACTIVE DATABASE
    DORECOVER
    NOFILENAMECHECK;
    }

    But every time I had this type of corruption archivelog
    But when I validate the archives (archivelog Validate all) they are [OK]

    Clues?
    Thxs for your help

    okKarol wrote:
    To the main Site

    SQL > select GROUP #, TYPE, substr (MEMBER, 1, 40) from v$ logfile;

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    3 /data1/oracle/CMOVP/redo01g3.rdo online
    3 /data2/oracle/CMOVP/redo02g3.rdo online
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /data1/oracle/CMOVP/redo01g1.rdo online
    1 /data2/oracle/CMOVP/redo02g1.rdo online
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    In secondary Site

    1 * select GROUP #, TYPE, substr (MEMBER, 1, 40) in v$ logfile

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    /Mcelnetapp/Data1/Oracle/CMOVP/redo01g3.RDO in LINE 3 > I have rename manually
    3 /mcelnetapp/data2/oracle/CMOVP/redo02g3.rdo online > renames manually
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /mcelnetapp/data1/oracle/CMOVP/redo01g1.rdo online > rename manually
    1 /mcelnetapp/data2/oracle/CMOVP/redo02g1.rdo online > renames manually
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    Then

    SQL> SHUTDOWN IMMEDIATE
    

    Move files:
    MV /data1/oracle/CMOVP/redo01g2.rdo /mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo
    MV /data2/oracle/CMOVP/redo02g2.rdo /mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo

    SQL> STARTUP MOUNT
    SQL> ALTER DATABASE RENAME FILE '/data1/oracle/CMOVP/redo01g2.rdo' to '/mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo';
    SQL> ALTER DATABASE RENAME FILE '/data2/oracle/CMOVP/redo02g2.rdo' to '/mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo';
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    

    Concerning
    Mr. Mahir Quluzade

  • ORA-12721: operation cannot be performed when other sessions are active

    Hello
    I started my database like this:
    1) Change INIT.ORA file;  unset parallel_server parameter.
    2) Execute these commands:
    STARTUP MOUNT ;
    ALTER SYSTEM ENABLE RESTRICTED SESSION;
    ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
    ALTER SYSTEM SET AQ_TM_PROCESSES=0;
    ALTER DATABASE OPEN;
    SHUTDOWN IMMEDIATE;
    
    SQL> STARTUP RESTRICT  pfile='C:\oracle\product\10.2.0\db_1\database\initORCL.ora';
    ORACLE instance started.
    
    
    SQL> alter database national character set INTERNAL_CONVERT UTF8;
    alter database national character set INTERNAL_CONVERT UTF8
    *
    ERROR at line 1:
    ORA-12721: operation cannot execute when other sessions are active
    Sorry for the duplicate.

    Published by: user522961 on December 10, 2008 01:51

    >
    ORA-12721: operation cannot be performed when other sessions are active
    Cause: This command can only be run when there is no other active sessions
    Action: Ensure that there is no other connections to the database >
    HTH
    Aman...

  • Try to clone RAC database with RMAN database RAC but becomes lower than ORA-01503

    I'm trying to clone a RAC database of RMAN target database is also CARS, so for every thing wen fine but getting "ORA-01503.

    Please find below, please help me solve this problem.

    connect sys/p0ck3t@pcard1 target;

    auxiliary connection;

    Connect the rmancat/rmanamex@rmandb catalog;

    Run {}

    SQL "alter session set optimizer_mode = RULE ';"

    until ' to_date (' may 1, 2015 06:30 ',' Lun ' DD YYYY HH24:MI:SS);

    allocate auxiliary channel t1 type disk;

    allocate auxiliary channel t2 type disk;

    allocate auxiliary channel t3 type disk;

    the value of newname for datafile 4 to "+ DATA/pcardtst/datafile/users.304.723229675";

    the value of newname for datafile 3 to "+ DATA/pcardtst/datafile/sysaux.395.723228961";

    the value of newname for datafile 2 to "+ DATA/pcardtst/datafile/undotbs1_1.dbf";

    the value of newname for datafile 1 to "+ DATA/pcardtst/datafile/system.328.723229027";

    the value of newname for datafile 5 to "+ DATA/pcardtst/datafile/undotbs2.409.723228957";

    the value of newname for datafile 6 to "+ DATA/pcardtst/datafile/pwrcrd_usr01.dbf";

    the value of newname for datafile 7 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs01.dbf";

    the value of newname for datafile 8 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs02.dbf";

    the value of newname for datafile 9 to "+ DATA/pcardtst/datafile/pwrcrd_data_par01.dbf";

    the value of newname for datafile 10 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_par01.dbf";

    the value of newname for datafile 11 in "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_01.dbf";

    the value of newname for datafile 12 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_02.dbf";

    the value of newname for datafile 13 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_03.dbf";

    the value of newname for datafile 14 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_04.dbf";

    the value of newname for datafile 15 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_01.dbf";

    the value of newname for datafile 16 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_02.dbf";

    the value of newname for datafile 17 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_01.dbf";

    the value of newname for datafile 18 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_02.dbf";

    the value of newname for datafile 19 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_03.dbf";

    the value of newname for datafile 20 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_04.dbf";

    the value of newname for datafile 21 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_01.dbf";

    the value of newname for datafile 22 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_02.dbf";

    the value of newname for datafile 23 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_01.dbf";

    the value of newname for datafile 24 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_02.dbf";

    the value of newname for datafile 25 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_03.dbf";

    the value of newname for datafile 26 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_01.dbf";

    the value of newname for datafile 27 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_02.dbf";

    the value of newname for datafile 28 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_01.dbf";

    the value of newname for datafile 29 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_02.dbf";

    the value of newname for datafile 30 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_03.dbf";

    the value of newname for datafile 31 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_01.dbf";

    the value of newname for datafile 32 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_02.dbf";

    the value of newname for datafile 33 to '+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_01.dbf;

    the value of newname for datafile 34 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_02.dbf";

    the value of newname for datafile 35 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_03.dbf";

    the value of newname for datafile 36 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_01.dbf";

    the value of newname for datafile 37 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_02.dbf";

    the value of newname for datafile 38 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_01.dbf";

    the value of newname for datafile 39 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_02.dbf";

    the value of newname for datafile 40 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_03.dbf";

    the value of newname for datafile 41 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_01.dbf";

    the value of newname for datafile 42 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_02.dbf";

    the value of newname for datafile 43 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_01.dbf";

    the value of newname for datafile 44 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_02.dbf";

    the value of newname for datafile 45 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_01.dbf";

    the value of newname for datafile 46 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_02.dbf";

    the value of newname for datafile 47 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_01.dbf";

    the value of newname for datafile 48 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_02.dbf";

    the value of newname for datafile 49 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_01.dbf";

    the value of newname for datafile 50 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_02.dbf";

    the value of newname for datafile 51 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch01.dbf";

    the value of newname for datafile 52 at "+ DATA/pcardtst/datafile/pwrcrd_data_batch02.dbf";

    the value of newname for datafile 53 to '+ DATA/pcardtst/datafile/pwrcrd_data_batch03.dbf;

    the value of newname for datafile 54 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch04.dbf";

    the value of newname for datafile 55 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch05.dbf";

    the value of newname for datafile 56 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch01.dbf";

    the value of newname for datafile 57 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch02.dbf";

    the value of newname for datafile 58 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch03.dbf";

    the value of newname for datafile 59 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part01_01.dbf";

    the value of newname for datafile 60 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part01_01.dbf";

    the value of newname for datafile 61 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part02_01.dbf";

    the value of newname for datafile 62 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part02_01.dbf";

    the value of newname for datafile 63 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part03_01.dbf";

    the value of newname for datafile 64 at "+ DATA/pcardtst/datafile/pwrcrd_data_index_part03_01.dbf";

    the value of newname for datafile 65 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part04_01.dbf";

    the value of newname for datafile 66 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part04_01.dbf";

    the value of newname for datafile 67 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_01.dbf;

    the value of newname for datafile 68 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_01.dbf";

    the value of newname for datafile 69 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part06_01.dbf";

    the value of newname for datafile 70 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part06_01.dbf";

    the value of newname for datafile 71 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part07_01.dbf";

    the value of newname for datafile 72 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part07_01.dbf";

    the value of newname for datafile 73 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part08_01.dbf";

    the value of newname for datafile 74 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part08_01.dbf";

    the value of newname for datafile 75 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part09_01.dbf";

    the value of newname for datafile 76 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part09_01.dbf;

    the value of newname for datafile 77 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part10_01.dbf";

    the value of newname for datafile 78 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part10_01.dbf";

    the value of newname for datafile 79 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_01.dbf";

    the value of newname for datafile 80 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part11_01.dbf";

    the value of newname for datafile 81 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_01.dbf;

    the value of newname for datafile 82 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part12_01.dbf";

    the value of newname for datafile 83 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part13_01.dbf";

    the value of newname for datafile 84 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part13_01.dbf";

    the value of newname for datafile 85 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part14_01.dbf";

    the value of newname for datafile 86 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part14_01.dbf;

    the value of newname for datafile 87 to "+ DATA/pcardtst/datafile/powercard_users.375.723228963";

    the value of newname for datafile 88 to "+ DATA/pcardtst/datafile/powercard_users.396.723228959";

    the value of newname for datafile 89 to "+ DATA/pcardtst/datafile/powercard_users.399.723228959";

    the value of newname for datafile 90 to "+ DATA/pcardtst/datafile/powercard_users.393.723228961";

    the value of newname for datafile 91 to '+ DATA/pcardtst/datafile/mig_pc_delivery.309.723228955;

    the value of newname for datafile 92 to "+ DATA/pcardtst/datafile/powercard_index_par.403.723228961";

    the value of newname for datafile 93 to "+ DATA/pcardtst/datafile/powercard_users.381.723228963";

    the value of newname for datafile 94 to "+ DATA/pcardtst/datafile/powercard_index_hist_part01.275.723229411";

    the value of newname for datafile 95 at "+ DATA/pcardtst/datafile/powercard_data_fe_part01.364.723229607";

    the value of newname for datafile 96 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.380.723228963";

    the value of newname for datafile 97 to '+ DATA/pcardtst/datafile/powercard_data_hist_part10.310.723228959;

    the value of newname for datafile 98 in "+ DATA/pcardtst/datafile/powercard_data_hist_part14.268.723229465";

    the value of newname for datafile 99 to "+ DATA/pcardtst/datafile/powercard_index_hist_part08.367.723229607";

    the value of newname for datafile 100 to "+ DATA/pcardtst/datafile/powercard_index_hist_part09.385.723229087";

    the value of newname for datafile 101 to "+ DATA/pcardtst/datafile/powercard_index_hist_part11.286.723229559";

    the value of newname for datafile 102 to "+ DATA/pcardtst/datafile/powercard_index_hist_part13.355.723229615";

    the value of newname for datafile 103 to "+ DATA/pcardtst/datafile/powercard_data_batch.330.723228961";

    the value of newname for datafile 104 to "+ DATA/pcardtst/datafile/powercard_data_hist_part13.335.723229485";

    the value of newname for datafile 105 to "+ DATA/pcardtst/datafile/powercard_index_bo_part03.285.723229567";

    the value of newname for datafile 106 to "+ DATA/pcardtst/datafile/powercard_index_bo_part01.351.723229617";

    the value of newname for datafile 107 to "+ DATA/pcardtst/datafile/powercard_index_fe_part04.261.723229627";

    the value of newname for datafile 108 to "+ DATA/pcardtst/datafile/powercard_index_hist_part02.264.723229465";

    the value of newname for datafile 109 to "+ DATA/pcardtst/datafile/powercard_data_bo_part01.284.723229573";

    the value of newname for datafile 110 to "+ DATA/pcardtst/datafile/powercard_data_hist_part01.406.723229497";

    the value of newname for datafile 111 to "+ DATA/pcardtst/datafile/powercard_data_hist_part07.291.723229557";

    the value of newname for datafile 112 to "+ DATA/pcardtst/datafile/powercard_data_hist_part08.371.723229615";

    the value of newname for datafile 113 to "+ DATA/pcardtst/datafile/powercard_data_hist_part09.346.723228973";

    the value of newname for datafile 114 to "+ DATA/pcardtst/datafile/powercard_data_hist_part12.401.723229447";

    the value of newname for datafile 115 to "+ DATA/pcardtst/datafile/powercard_index_fe_part02.262.723229625";

    the value of newname for datafile 116 to "+ DATA/pcardtst/datafile/powercard_data_fe_part04.374.723229627";

    the value of newname for datafile 117 to "+ DATA/pcardtst/datafile/powercard_data_bo_part03.276.723229585";

    the value of newname for datafile 118 to "+ DATA/pcardtst/datafile/powercard_data_bo_part04.350.723229633";

    the value of newname for datafile 119 to "+ DATA/pcardtst/datafile/powercard_index_bo_part04.317.723229633";

    the value of newname for datafile 120 to "+ DATA/pcardtst/datafile/powercard_data_hist_part03.400.723229511";

    the value of newname for datafile 121 in '+ DATA/pcardtst/datafile/powercard_index_hist_part12.369.723229605;

    the value of newname for datafile 122 to "+ DATA/pcardtst/datafile/powercard_index_hist_part05.373.723229641";

    the value of newname for datafile 123 to "+ DATA/pcardtst/datafile/powercard_data_par.319.723229635";

    the value of newname for datafile 124 to "+ DATA/pcardtst/datafile/powercard_users.402.723228957";

    the value of newname for datafile 125 to "+ DATA/pcardtst/datafile/powercard_index_batch.356.723229609";

    the value of newname for datafile 126 to "+ DATA/pcardtst/datafile/powercard_index_bo_part02.256.723229647";

    the value of newname for datafile 127 to "+ DATA/pcardtst/datafile/powercard_index_hist_part07.320.723229641";

    the value of newname for datafile 128 to "+ DATA/pcardtst/datafile/powercard_index_hist_part04.258.723229615";

    the value of newname for datafile 129 to "+ DATA/pcardtst/datafile/powercard_data_bo_part02.366.723229651";

    the value of newname for datafile 130 to "+ DATA/pcardtst/datafile/powercard_data_hist_part06.348.723228965";

    the value of newname for datafile 131 to "+ DATA/pcardtst/datafile/powercard_data_hist_part02.307.723229525";

    the value of newname for datafile 132 to "+ DATA/pcardtst/datafile/powercard_index_fe_part01.370.723229647";

    the value of newname for datafile 133 to "+ DATA/pcardtst/datafile/powercard_index_fe_part03.352.723229619";

    the value of newname for datafile 134 to "+ DATA/pcardtst/datafile/powercard_index_hist_part06.266.723229659";

    the value of newname for datafile 135 to "+ DATA/pcardtst/datafile/powercard_index_hist_part10.329.723229027";

    the value of newname for datafile 136 to "+ DATA/pcardtst/datafile/powercard_index_hist_part03.337.723229651";

    the value of newname for datafile 137 to "+ DATA/pcardtst/datafile/powercard_index_hist_part14.263.723229627";

    the value of newname for datafile 138 to "+ DATA/pcardtst/datafile/stpmw_data01.dbf";

    the value of newname for datafile 139 to "+ DATA/pcardtst/datafile/undotbs1_2.dbf";

    the value of newname for datafile 140 to "+ DATA/pcardtst/datafile/undotbs1_3.dbf";

    the value of newname for datafile 141 to "+ DATA/pcardtst/datafile/undotbs1_4.dbf";

    the value of newname for datafile 142 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_03.dbf";

    the value of newname for datafile 143 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.426.851242407";

    the value of newname for datafile 144 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_02.dbf";

    the value of newname for datafile 145 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_02.dbf";

    the value of newname for datafile 146 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_04.dbf";

    the value of newname for datafile 147 in "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_02.dbf";

    the value of newname for tempfile 1 to "+ DATA/pcardtst/tempfile/temp1.dbf";

    the value of newname for tempfile 2 to "+ DATA/pcardtst/tempfile/temp2.dbf";

    the value of newname for tempfile 3 to "+ DATA/pcardtst/tempfile/temp3.dbf";

    the value of newname for tempfile 4 to "+ DATA/pcardtst/tempfile/pwrcard_temp01.dbf";

    the value of newname for tempfile 5 to "+ DATA/pcardtst/tempfile/pwrcard_temp02.dbf";

    the value of newname for tempfile 6 to "+ DATA/pcardtst/tempfile/pwrcard_temp03.dbf";

    the value of newname for tempfile 7 to "+ DATA/pcardtst/tempfile/pwrcard_temp04.dbf";

    duplicate target database in the pcardtst log file

    GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_01') size 512 M,

    GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_02') size 512 M,

    GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_01') size 512 M,

    GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_02') size 512 M,

    GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_01') size 512 M,

    GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_02') size 512 M,

    GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_01') size 512 M,

    GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_02') size 512 M,

    GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_01') size 512 M,

    GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_02') size 512 M,

    GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_01') size 512 M,

    GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_02') size 512 M,

    GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_01') size 512 M,

    GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_02') size 512 M,

    GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_01') size 512 M,

    GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_02') size 512 M;

    output channel t1;

    output channel t2;

    output channel t3;

    }

    But gettting error below

    DATA FILE

    "+ DATA/pcardtst/datafile/system.635.878984933".

    CHARACTER SET WE8ISO8859P1

    output channel: t1

    output channel: t2

    output channel: t3

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

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

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

    RMAN-03002: failure of Db in dual at 06/05/2015 14:26:01

    RMAN-06136: the auxiliary database ORACLE error: ORA-01503: CREATE CONTROLFILE failed

    ORA-01167: two files are the same file/group number or the same file

    ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_02.

    ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_01.

    Complete recovery manager.

    Kind regards.

    Younus

    Hi Eric,.

    Let's not your syntax for log files. Check out the docs:

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm#BRADV89956

    You need only name the Group once followed a list separated by commas of the logfile members.

    Concerning

    Thomas

  • ORA-01017 with database link

    Hi all

    I have a small problem, but I can't find the solution yet.

    I created a DB1 databaselink: "create public database GO_TO_DB link

    connect to TEMP identified by PW_TEMP

    using DB2; »

    On DB2 I have the TEMP user with password PW_TEMP thanks to subsidies for the TEST table.

    In DB2, there is a table "TEST";

    I'm logged into DB1 and do: SELECT * FROM TEST;  I get: "ora-01017 name username/password invalid; connection refused

    ORA-02063 previous line of GO_TO_DB'

    messages.

    I can connect to DB2 with the TEMP of the user and can select: no problem.

    Also, I tried to connect with sqlplus and user TEMP on DB2: no problem.

    Connect to DB1 in sqlplus and don't select it * test, I get ora messages too.

    Do I did wrong or what I forgot?

    Greetz, Cees

    This error message means that you have provided the wrong username and password for the database that the DB connection is connected to.

    If the password is case-sensitive, you must put quotation marks when you create the DB link.

    The name of DB that you provided when you create the DB link could also be referring to a different database than the one you expect. You should check your tnsnames.ora file (or files) to verify this. You can also specify definitively the DB using the syntax ' host: port / SID "instead of a TNS name.

  • ORA-01017: name of user and password invalid when using the TNS Alias

    Friends,

    I have this strange problem in 11 G R2. When I use tnsalias and connect using sqlplus username/password@TNS it shows ORA-01017: name of user and password invalid. But the same works with ORACLE_SID. See below.
    -bash-3.00$ uname -a
    SunOS ibs-ash-sr147 5.10 Generic_144489-06 i86pc i386 i86pc
    -bash-3.00$ env | grep ORACLE
    ORACLE_SID=DB1
    ORACLE_BASE=/project/oracle/orabase
    ORACLE_HOME=/project/oracle/orabase/product/11.2.0/dbhome_1
    -bash-3.00$ tnsping DB
    
    TNS Ping Utility for Solaris: Version 11.2.0.1.0 - Production on 17-JUN-2011 12:23:12
    
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    
    Used parameter files:
    /project/oracle/orabase/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = crs-scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DB)))
    OK (0 msec)
    -bash-3.00$ sqlplus IRES_USER@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:30:22 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    Enter password:
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    
    SQL> show parameter sec_case_sensitive_logon
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sec_case_sensitive_logon             boolean     TRUE
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
    Data Mining and Real Application Testing options
    -bash-3.00$ sqlplus IRES_USER/U9$bvs#ir@DB
    
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Jun 17 12:34:30 2011
    
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    
    ERROR:
    ORA-01017: invalid username/password; logon denied
    
    
    Enter user-name: ^C
    My understanding is that both connections use a TNS alias, but then does not work. Any help is appreciated.

    Thanks in advance,
    SSN

    Published by: SSNair on June 17, 2011 05:43

    After sqlplus apostrophes and try

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28320/initparams211.htm

  • Doubts to duplicate a RMAN database on another test server

    Hello

    DB: 10.2.0.4
    Operating system: Aix 5.3 L

    I have the single server database and I want to duplicate other test server (AIX 5.3) database (10.2.0.4).

    My questions are,

    1) I'll have to take backup RMAN in Production , and then a move to the Test Server?.

    2) in the Test Server , I duplicate RMAN connection and database creation reason as follows.

    RMAN TARGET SYS/xxx@test SYS/xxx@PROD ASSISTANT

    RUN
    {
    allocate channel c1 DEVICE TYPE disk;
    DUPLICATE TARGET DATABASE to test nofilenamecheck. # test is my database to the TEST Server
    }

    The steps above from RMAN will work without RMAN backup in the TEST Server? If not, then how can create the database test without backup RMAN duplicate?



    My main problem is that I have enough disk space in my production server is saved and my database size is 3TO. My database is on ASM.


    I really like, if I have no response.

    Thank you
    Therese

    Yes, database of target duplicate of the active database is available 11 g.

    For 10g, you will need to take backup of primary education and take it all to the test and database duplicated just run.

    Hope that helped u :)

    Mark it as answered and close the question if answered :)

  • ORA-01017: name of user and password invalid. connection refused - Database Link

    Hi guys,.

    Could you help me, I have a problem connecting to a different database using the database link:

    * 1. I have added in the database 'customer' DEV2 tnsnanes.ora *.

    DEV =
    + (DESCRIPTION = +
    + (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) +.
    + (CONNECT_DATA = +
    + (SID = DEVDB) +.
    +)+
    +)+

    * 2. I tested my connection using tnsping *.

    Oracle@dev > tnsping dev

    AMT Ping utility for Linux: Version 10.2.0.1.0 - Production on July 10, 2010 14:35:35

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

    Use settings files:
    +/opt/Oracle/product/10.2/Db_1/network/admin/SQLNET.ora+


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.85)(PORT = 1521)) (CONNECT_DATA = (SID = DEVDB)))
    OK (0 msec)
    Oracle@dev >

    * 3. In SQLPLUS of DEV2 I connect to my database using the tnsnames entry *.

    SQL > conn devuser/pwd001@dev
    Connected.

    * 4. I then create a database of link.*

    SQL > Create Database Link dev_Link
    + 2 Connect devuser +.
    + 3 identified by pwd001 +.
    + 4 using "DEV"; +

    Database link created.

    SQL >

    * 5. When I try to connect to the database using the database link, I get an error, but I'm sure that the password and user name are ok.*

    SQL > select * from global_name@dev_link;
    Select * from global_name@dev_link
    *+
    ERROR on line 1:
    ORA-01017: name of user and password invalid. connection refused
    ORA-02063: preceding the line of DEV_LINK


    SQL >


    What could be wrong...?

    Try to connect to the database via SQLPlus target using the tnsnames.ora entry: sqlplus bob@remote.

    If the target db is 11g, then breaking the password may be the matter. Try placiing the password in quotes when you create the database link.

    HTH - Mark D Powell.

Maybe you are looking for