Long sys session active after rman backup completed

Hi all,
We use Oracle DB 11g in RAC and the Rman backups running on SLES 11 SP1.
All days the backup jobs are executed normally, but, sometimes some SYS sessions (used during the backup, i think) remains ACTIVE by hours (day, weeks...)
At this moment, we have 3 sessions running (actives) since Nov, 04. Their LOGON_TIME is the same backup job start time.
The current statement is empty. I think that is relationed with the backup Job. The processes are ORAOxxx and there are sessions in ASM instance with the same LOGON_TIME.
What can we DO? Kill these sessions?
The last time we restarted the Oracle DB instance, but the "zombies" sessions came back soon, after a backup job. :(
Thanks!

Thanks,
but I know how to query the sessions, I use Gv$session because it´s an oracle cluster.
I Want to Know: What do we have to do with the long sessions? To kill? Simply?
--> Below the query to see the sessions:
'ACTIVE' or 'INACTIVE':
SELECT 'kill -9 '
|| b.spid
|| ' # '
|| a.inst_id
|| ' - '
|| a.username
|| ' - '
|| a.program
|| ' - '
|| TO_CHAR (a.logon_time, 'DD-MM-YYYY HH24:MI:SS')
|| ' - '
|| TRUNC (a.last_call_et / 60 / 60, 0)
|| ' horas - '
|| a.status
FROM gv$session a, gv$process b
WHERE a.username IS NOT NULL
AND a.last_call_et / 60 / 60 > 4
AND a.status = 'INACTIVE'
AND a.paddr = b.addr
AND a.inst_id = 1
ORDER BY a.last_call_et DESC
---------- The result is:
kill -9 20516 # 3 - SYS - oracle@art (O003) - 04-11-2011 01:07:51 - 88 horas - ACTIVE
kill -9 26562 # 3 - SYS - oracle@art (O003) - 04-11-2011 01:07:51 - 88 horas - ACTIVE
kill -9 13213 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
kill -9 26021 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
kill -9 21749 # 3 - SYS - oracle@art (O004) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
kill -9 1844 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
kill -9 2214 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE
kill -9 21759 # 3 - SYS - oracle@art (O005) - 05-11-2011 01:02:12 - 64 horas - ACTIVE

Similar Messages

  • Query to check how far RMAN backup completed?

    is there a way to check how far RMAN backup been completed. What is through put etc.
    Let me know if you know any.
    Thanks,
    RK

    Additional info...Monitoring RMAN Through V$ Views and Query V$ Views to Identify Bottlenecks.

  • Restore RMAN from different Database Rman backup

    Hi Everybody
    I am practicing Rman so I have one query that how to restore rman backup from another database.
    For Example :
    1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
    2. I need to import or restore Rman backup of DB1 to another database DB2.
    What is the procedure for doing the above queries. Please anyone one help me out.
    I have using oracle 10g r2 running in windows server 2003.
    Thanks in advance.

    These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
    1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
    2) Create a PFILE for the destination database db2 using the database db1
    3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
    4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
    5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
    6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
    7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
    RMAN> run {
    2> set until sequence 59 thread 1;
    3> set newname for datafile 1 to '/new_location/system01.dbf';
    4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
    5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
    6> set newname for datafile 4 to '/new_location/users01.dbf';
    7> restore database;
    8> switch datafile all;
    9> recover database;
    10> }

  • RMAN Backup job fails after changing sys, system passwords

    Hello Oracle community,
    11.1g
    After we changed the passwords for sys, system and sysman the backup jobs fails. this is my error log:
    Recovery Manager: Release 11.1.0.7.0 - Production on Mo Aug 30 11:16:29 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-12532: TNS: Ungültiges Argument
    RMAN>
    Echo einstellen ein
    RMAN> set command id to 'BACKUP_MEGALON.INT_083010111617';
    Befehl wird ausgeführt: SET COMMAND ID
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei set Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' database;
    Starten backup um 30.08.10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> backup device type disk tag 'BACKUP_MEGALON.INT_083010111617' archivelog all not backed up;
    Starten backup um 30.08.10
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: Fehler bei backup Befehl auf 08/30/2010 11:16:29
    RMAN-06171: Nicht bei Zieldatenbank angemeldet
    RMAN> exit;
    Recovery Manager abgeschlossen.
    Ikrischer

    Hello Tychos,
    I am able to make a sqlplus connection, but your hint send me in the correct direction. I had a special character "@" in the password and I think that was the reason for my problems with RMAN.
    Ikrischer

  • After  RMAN duplicate  adcfgclone dbconfig completing with error

    we have R12.1.1 on redhat 5.3 ( 64 bit ).
    i am clonning my TEST server with RMAN hot full backup.
    i am using command
    rman target sys/prod_sys@PROD catalog rman/rman@PROD auxiliary /
    run {
    set until scn 5967654364306;
    allocate auxiliary channel ch1 type disk;
    allocate auxiliary channel ch2 type disk;
    duplicate target database to TEST8002;}
    when this command has restored database then i have to perform a
    CANCEL based recovery
    alter database open resetlogs;
    after that when i run
    perl adcfgclone dbconfig it is ending with error at 50%
    Controlfile creation failed.
    How to proceed ?
    Edited by: user13376823 on Nov 13, 2012 7:03 PM

    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
    RESETLOGS MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGFILES 32
    MAXLOGHISTORY 14607
    MAXLOGMEMBERS 5
    WARNING: Default Temporary Tablespace not specified in CREATE DATABASE command
    Default Temporary Tablespace will be necessary for a locally managed database in future release
    Setting recovery target incarnation to 1
    Successful mount of redo thread 1, with mount id 3760580547
    Completed: CREATE CONTROLFILE REUSE SET DATABASE "TEST8002"
    LOGFILE
    GROUP 1 ('/opt/R12.1.3/oracle/db/apps_st/data/log01a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log01b.dbf') SIZE 1048576000,
    GROUP 2 ('/opt/R12.1.3/oracle/db/apps_st/data/log02a.dbf', '/opt/R12.1.3/oracle/db/apps_st/data/log02b.dbf') SIZE 1048576000
    DATAFILE
    '/opt/R12.1.3/oracle/db/apps_st/data/system12.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system11.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system10.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system08.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system09.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/system13.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sysaux01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sysaux02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/ctxd01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data06.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data07.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_data03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind04.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_txn_ind05.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/owad01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/odm.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/olap.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/apps_ts_tools01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/undo02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/sscards_01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/rman_01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ02.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ03.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/portal01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/undo01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_int01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_summ01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_nolog01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_archive01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_queue01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_media01.dbf',
    '/opt/R12.1.3/oracle/db/apps_st/data/a_ref02.dbf'
    RESETLOGS MAXDATAFILES 512
    MAXINSTANCES 8
    MAXLOGFILES 32
    MAXLOGHISTORY 14607
    MAXLOGMEMBERS 5
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02.dbf' REUSE...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp01A.dbf' REUSE...
    alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP2 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp02A.dbf' REUSE...
    alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE
    ORA-1109 signalled during: alter tablespace TEMP1 add tempfile '/opt/R12.1.3/oracle/db/apps_st/data/temp03.dbf' REUSE...
    Wed Nov 14 20:44:52 2012
    Shutting down instance (abort)
    License high water mark = 1
    USER (ospid: 4918): terminating the instance
    Instance terminated by USER, pid = 4918
    Wed Nov 14 20:44:53 2012
    Instance shutdown complete
    Wed Nov 14 20:45:58 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/arch
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =44
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    Starting up ORACLE RDBMS Version: 11.1.0.7.0.
    Using parameter settings in client-side pfile /opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/initTEST8002.ora on machine testing.fgho.com
    System parameters with non-default values:
    processes = 200
    sessions = 400
    timed_statistics = TRUE
    shared_pool_size = 400M
    shared_pool_reserved_size= 40M
    nls_language = "american"
    nls_territory = "america"
    nls_sort = "binary"
    nls_date_format = "DD-MON-RR"
    nls_numeric_characters = ".,"
    nls_comp = "binary"
    nls_length_semantics = "BYTE"
    sga_target = 1G
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl01.dbf"
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl02.dbf"
    control_files = "/opt/R12.1.3/oracle/db/apps_st/data/cntrl03.dbf"
    db_block_checksum = "TRUE"
    db_block_size = 8192
    compatible = "11.1.0"
    log_buffer = 10485760
    log_checkpoint_interval = 100000
    log_checkpoint_timeout = 1200
    db_files = 512
    log_checkpoints_to_alert = TRUE
    dml_locks = 10000
    undo_management = "AUTO"
    undo_tablespace = "APPS_UNDOTS1"
    db_block_checking = "FALSE"
    sec_case_sensitive_logon = FALSE
    session_cached_cursors = 500
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/usr/tmp"
    utl_file_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/appsutil/outbound/TEST8002_testing"
    utl_file_dir = "/usr/tmp"
    plsql_native_library_dir = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/plsql/nativelib"
    plsql_native_library_subdir_count= 149
    plsql_code_type = "INTERPRETED"
    plsql_optimize_level = 2
    job_queue_processes = 2
    systemtrig_enabled = TRUE
    cursor_sharing = "EXACT"
    parallel_min_servers = 0
    parallel_max_servers = 8
    db_name = "TEST8002"
    open_cursors = 600
    ifile = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/dbs/TEST8002_testing_ifile.ora"
    sortelimination_cost_ratio= 5
    btree_bitmap_plans = FALSE
    fastfull_scan_enabled = FALSE
    query_rewrite_enabled = "true"
    indexjoin_enabled = FALSE
    sqlexecprogression_cost= 2147483647
    likewith_bind_as_equality= TRUE
    pga_aggregate_target = 1G
    workarea_size_policy = "AUTO"
    optimizerautostats_job = FALSE
    optimizer_secure_view_merging= FALSE
    aq_tm_processes = 1
    olap_page_pool_size = 4M
    diagnostic_dest = "/opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing"
    tracefiles_public = TRUE
    max_dump_file_size = "20480"
    Wed Nov 14 20:45:58 2012
    PMON started with pid=2, OS id=5067
    Wed Nov 14 20:45:58 2012
    VKTM started with pid=3, OS id=5069
    VKTM running at (100ms) precision
    Wed Nov 14 20:45:58 2012
    DIAG started with pid=4, OS id=5073
    Wed Nov 14 20:45:58 2012
    DBRM started with pid=5, OS id=5075
    Wed Nov 14 20:45:58 2012
    PSP0 started with pid=6, OS id=5077
    Wed Nov 14 20:45:58 2012
    DIA0 started with pid=7, OS id=5079
    Wed Nov 14 20:45:58 2012
    MMAN started with pid=8, OS id=5081
    Wed Nov 14 20:45:58 2012
    DBW0 started with pid=9, OS id=5083
    Wed Nov 14 20:45:58 2012
    DBW1 started with pid=10, OS id=5085
    Wed Nov 14 20:45:58 2012
    LGWR started with pid=11, OS id=5087
    Wed Nov 14 20:45:58 2012
    CKPT started with pid=12, OS id=5089
    Wed Nov 14 20:45:58 2012
    SMON started with pid=13, OS id=5091
    Wed Nov 14 20:45:58 2012
    RECO started with pid=14, OS id=5093
    Wed Nov 14 20:45:58 2012
    MMON started with pid=15, OS id=5095
    Wed Nov 14 20:45:58 2012
    MMNL started with pid=16, OS id=5097
    ORACLE_BASE not set in environment. It is recommended
    that ORACLE_BASE be set in the environment
    Wed Nov 14 20:45:58 2012
    ALTER DATABASE MOUNT
    Set as converted control file due to db_unique_name mismatch
    Changing di2dbun from to TEST8002
    Setting recovery target incarnation to 1
    Successful mount of redo thread 1, with mount id 3760563974
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Wed Nov 14 20:46:02 2012
    ALTER DATABASE OPEN
    ORA-1589 signalled during: ALTER DATABASE OPEN...
    Wed Nov 14 20:46:47 2012
    alter database open resetlogs
    ORA-1194 signalled during: alter database open resetlogs...
    Wed Nov 14 20:47:11 2012
    ALTER DATABASE RECOVER database until cancel using backup controlfile
    Media Recovery Start
    Fast Parallel Media Recovery enabled
    Errors in file /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/trace/TEST8002_ora_5127.trc (incident=6537):
    ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [], [], [], [], [], []
    Incident details in: /opt/R12.1.3/oracle/db/tech_st/11.1.0/admin/TEST8002_testing/diag/rdbms/test8002/TEST8002/incident/incdir_6537/TEST8002_ora_5127_i65 37.trc
    Media Recovery failed with error 600
    ORA-283 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...
    Wed Nov 14 20:47:13 2012
    Trace dumping is performing id=[cdmp_20121114204713]
    Wed Nov 14 20:47:13 2012
    Sweep Incident[6537]: completed

  • Completeness of Prerequisites for Recovering Tables for PDBs from RMAN Backups

    Could you verify the completeness of following prerequisities on pag. 441 of the "Backup and Recovery User's Guide 12c Release 1 (12.1) E17630-14"
    Prerequisites for Recovering Tables and Table Partitions from RMAN Backups
    ■ The target database must be in read-write mode.
    ■ The target database must be in ARCHIVELOG mode.
    ■ You must have RMAN backups of the tables or table partitions as they existed at the point in time to which you want recover these objects.
    ■ To recover single table partitions, the COMPATIBLE initialization parameter for target database must be set to 11.1.0 or higher.
    According to my test Database administrator workshop: How to recover a table in a pluggable database from a backup
    those prerequisities are valid for CDBs or non-CBDs, but if you want to recover tables or table partitions in PDBs a different prerequisite is needed.
    Indeed if you have a backup of only the pluggable database including the missing table (the third prerequisite above), but you don't have any backup of the container database the command...
    recover table ... of pluggable database ... until scn ... auxiliary destination ...
    will fail with the following errors:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 02/12/2014 12:22:18
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    So to recover table in PDBs you must have also the RMAN backups of the CDB or in the opposite way it's not sufficient to have only the backups of the pluggable database, because during the creation of the auxiliary database the SYS, SYSAUX and the UNDO tablespace are required.
    Regards,
    MarcoV

    Hi,
    Before dropping a DB we had taken an RMAN backup.I hope you were in mount mode.
    Will RMAN automatically recognize the FORMAT of the backup piece and restore ?No it won't.
    First you have to restore a controlfile in nomount mode with:
    restore controlfile from '/u04/backup/rmanbkp /02mo9fnc_1_1';
    and do alter database mount.
    Than you have to run "catalog start with '/u04/backup/rmanbkp'; " so the instance now knows where to find the pieces.
    Now you can run a restore database command.
    Than open the database with resetlogs.
    Regards,
    Tycho

  • RMAN backup files are still exist since long time, how to delete?

    Dear sir;
    I'm using the below script to do daily backup, however there are many rman backup files are still exist and consumes HD size, how could I delete these files in daily bases? some files dated in FEB, MAR, APR,
    ============Daily RMAN script=========
    rman target /<<!
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ================================END
    Thanks and best regards
    Ali

    Hi;
    Our backup policy should have 7 days; however we have here some files from JAN, FEB,MAR, APR /2012 WHICH ARE BEYOND THE RETENTION DATE and these files should be deleted by executing " delete noprompt obsolete; ".
    All files are exist in /u15/rman/
    -rw-r----- 1 oracle oinstall 1151763968 Jan 21 01:36 arc_backup_7kn19h4a_1_1.rman
    -rw-r----- 1 oracle oinstall 1136882176 Jan 21 01:36 arc_backup_7ln19h4q_1_1.rman
    -rw-r----- 1 oracle oinstall 1135984640 Jan 21 01:36 arc_backup_7mn19h5a_1_1.rman
    -rw-r----- 1 oracle oinstall 1126627328 Jan 21 01:37 arc_backup_7nn19h5q_1_1.rman
    -rw-r----- 1 oracle oinstall 880606720 Mar 12 02:53 arc_backup_7nn5ldhp_1_1.rman
    -rw-r----- 1 oracle oinstall 1093043712 Jan 21 01:37 arc_backup_7on19h6a_1_1.rman
    -rw-r----- 1 oracle oinstall 9797632 Dec 15 01:04 control_04mu7tcp_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 3 02:55 control_4cn4tm9k_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 4 02:53 control_4on50ahm_1_1.rman
    -rw-r----- 1 oracle oinstall 36896768 Mar 5 02:55 control_56n52v1j_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 23 01:40 control_8tn1eq3t_1_1.rman
    -rw-r----- 1 oracle oinstall 16252928 Jan 24 01:40 control_9cn1heg0_1_1.rman
    -rw-r----- 1 oracle oinstall 202940416 Dec 15 01:04 full_backup_01mu7t50_1_1.rman
    -rw-r----- 1 oracle oinstall 1097728 Dec 15 01:04 full_backup_02mu7tcc_1_1.rman
    -rw-r----- 1 oracle oinstall 201285632 Dec 14 01:04 full_backup_0nmu58ou_1_1.rman
    -rw-r----- 1 oracle oinstall 5957304320 Feb 29 02:46 full_backup_2ln4g9l1_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Feb 29 02:47 full_backup_2mn4gft8_1_1.rman
    -rw-r----- 1 oracle oinstall 6027075584 Mar 1 02:49 full_backup_32n4o6ov_1_1.rman
    -rw-r----- 1 oracle oinstall 4128768 Mar 1 02:49 full_backup_33n4od66_1_1.rman
    -rw-r----- 1 oracle oinstall 6187171840 Mar 2 02:51 full_backup_3gn4qr50_1_1.rman
    -rw-r----- 1 oracle oinstall 4145152 Mar 2 02:51 full_backup_3hn4r1kn_1_1.rman
    -rw-r----- 1 oracle oinstall 6115786752 Mar 3 02:51 full_backup_40n4tfgu_1_1.rman
    above is a short list of contents.
    to do our daily backup we perform the following script (in daily)
    ==================
    backup incremental level=0 as compressed backupset database format '/u15/rman/full_backup_%U.rman';
    backup archivelog all not backed up 2 times format '/u15/rman/arc_backup_%U.rman';
    backup current controlfile format '/u15/rman/control_%U.rman';
    delete archivelog all backed up 2 times to device type disk completed before 'sysdate-7';
    delete noprompt obsolete;
    ==================
    Thanks and best regards
    Ali

  • My ipad air was bought and activated AFTER September 1st and I downloaded pages, keynote and numbers. I then changed my Apple ID as the password no longer worked, these apps were also deleted I order to be updated. Now I cannot get the free version. Help?

    My ipad air was bought and activated AFTER September 1st (activated December 25th) and I downloaded pages, keynote and numbers. I then changed my Apple ID as the password no longer worked, These apps had to be deleted as I needed to update them. Now I cannot get the free version on my ipad. I have searched the internet to see if there is a solution, and I found a few but unfortunately none have worked. I desperately need these apps as my iPad is used for school. Is this an issue I should take up with the apple support centre or something? Please help! Thanks

    How to get all the iWork apps, iPhoto, and iMovie for free on an eligible iPhone or iPad
    http://www.imore.com/how-get-all-iwork-apps-iphoto-and-imovie-free-eligible-ipho ne-or-ipad
     Cheers, Tom

  • RMAN backup is getting failed after oracle 11g upgarde (11.2.0.2)

    Hi Basis Expert,
    We have done oracle 11g ugrade (11.2.0.2) in our Dev BI system.
    But after the upgrade the RMAN backup is failing. The backup use to work fine when we were on 10g (10.2.0.4).
    Has anyone face this issue earlier.
    Appreciate your help.
    Regards,
    Anil Shenoy

    Hello Anil,
    Syntax is -
    ln -s /path/to/original/ /path/to/linkName
    Output will be -
    linkName --> original
    In your case, 112_64 is the link name according to above SAP Note and 11202 is the original/physical path. So, the command should be -
    ln -s /oracle/<DBSID>/11202 /oracle/<DBSID>/112_64
    And the Result should be, 112_64 --> 11202 (in short)
    So, I think you should change the existing link, 11202->112_64
    Thanks

  • RMAN BACKUPS  TAKING A LONG TIME IN 11.1.0.6

    Its almost 4 days since the RMAN Full Backup is running and it has completed almost 91% and is stuck at this point since last 2 days, so now we killed the RMAN backup Process and started the RMAN Full Backup on Disk. We need to take the RMAN Backups on Tapes.
    When we take the RMAN Full Backup to Tape manually with the same script attached, the Backup runs successfully withing Hours. While if the RMAN Full Backup is running through Cronjobs , then it takes days and it gets hung.
    Initially it happened with Full backup , now Incremental Backup is also not working.
    Log File of Current RMAN Incremental Backup Running and in Hung state
    Recovery Manager: Release 11.1.0.6.0 - Production on Mon Nov 5 20:00:02 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: ZSBO (DBID=4052190355)
    RMAN>
    2>
    3>
    4> run{
    5> allocate channel t1 type 'SBT_TAPE'
    6> parms 'ENV=(NSR_SERVER=sa-backup01,NSR_CLIENT=sa-dm03b)';
    7> allocate channel t2 type 'SBT_TAPE'
    8> parms 'ENV=(NSR_SERVER=sa-backup01,NSR_CLIENT=sa-dm03b)';
    9> allocate channel t3 type 'SBT_TAPE'
    10> parms 'ENV=(NSR_SERVER=sa-backup01,NSR_CLIENT=sa-dm03b)';
    11> allocate channel t4 type 'SBT_TAPE'
    12> parms 'ENV=(NSR_SERVER=sa-backup01,NSR_CLIENT=sa-dm03b)';
    13> backup
    14> incremental level 2
    15> format 'Incremental_zsbo_%U_%t'
    16> (database);
    17> sql "alter system archive log current";
    18> backup
    19> format 'arch_zsbo_%d_%s_%p_%t'
    20> (archivelog from time 'sysdate-1' all delete input);
    21> release channel t1;
    22> release channel t2;
    23> release channel t3;
    24> release channel t4;
    25> }
    26>
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: SID=2086 device type=SBT_TAPE
    channel t1: NMO v4.5.0.0
    allocated channel: t2
    channel t2: SID=2075 device type=SBT_TAPE
    channel t2: NMO v4.5.0.0
    allocated channel: t3
    channel t3: SID=2069 device type=SBT_TAPE
    channel t3: NMO v4.5.0.0
    allocated channel: t4
    channel t4: SID=2061 device type=SBT_TAPE
    channel t4: NMO v4.5.0.0
    Starting backup at 05-NOV-12
    channel t1: starting incremental level 2 datafile backup set
    channel t1: specifying datafile(s) in backup set
    input datafile file number=00096 name=/data13/oradata/zsbo/A0186LA2591_00_CURR_12.dbf
    input datafile file number=00058 name=/data17/oradata/zsbo/A0436IL2022_00_PREV_01.DBF
    input datafile file number=00014 name=/data7/oradata/zsbo/A1225NY2502_00_TEMP_01.dbf
    input datafile file number=00087 name=/data7/oradata/zsbo/A1086IL2502_00_PREV_01.dbf
    input datafile file number=00045 name=/data7/oradata/zsbo/A1143BO2515_00_CURR_IDX_01.dbf
    input datafile file number=00130 name=/data7/oradata/zsbo/A0171LA2034_01_DEMO_IDX_01.dbf
    input datafile file number=00080 name=/data7/oradata/zsbo/A0436IL2022_00_CURR_IDX_02.DBF
    input datafile file number=00119 name=/data10/oradata/zsbo/A0136NJ2533_00_CURR_05.dbf
    input datafile file number=00136 name=/data5/oradata/zsbo/A1225NY2502_00_TEMP_11.dbf
    channel t1: starting piece 1 at 05-NOV-12
    channel t2: starting incremental level 2 datafile backup set
    channel t2: specifying datafile(s) in backup set
    input datafile file number=00095 name=/data12/oradata/zsbo/A0186LA2591_00_CURR_11.dbf
    input datafile file number=00075 name=/data17/oradata/zsbo/A0186LA2591_00_CURR_IDX_02.dbf
    input datafile file number=00094 name=/data6/oradata/zsbo/A0186LA2591_00_CURR_10.dbf
    input datafile file number=00151 name=/data10/oradata/zsbo/A0136NJ2533_00_CURR_06.dbf
    input datafile file number=00148 name=/data8/oradata/zsbo/A1143BO2515_00_PREV_02.dbf
    channel t2: starting piece 1 at 05-NOV-12
    channel t3: starting incremental level 2 datafile backup set
    channel t3: specifying datafile(s) in backup set
    input datafile file number=00127 name=/data8/oradata/zsbo/A1143BO2515_00_PREV_01.dbf
    input datafile file number=00018 name=/data15/oradata/zsbo/A1225NY2502_00_TEMP_05.dbf
    input datafile file number=00062 name=/data15/oradata/zsbo/A0436IL2022_00_TEMP_02.dbf
    input datafile file number=00081 name=/data15/oradata/zsbo/A1110CH2505_00_PREV_01.dbf
    input datafile file number=00137 name=/data7/oradata/zsbo/A1225NY2502_00_TEMP_12.dbf
    input datafile file number=00065 name=/data18/oradata/zsbo/A1086IL2003_00_CURR_01.dbf
    input datafile file number=00103 name=/data2/oradata/zsbo/A0186LA2591_00_PREV_05.dbf
    channel t3: starting piece 1 at 05-NOV-12
    channel t4: starting incremental level 2 datafile backup set
    channel t4: specifying datafile(s) in backup set
    input datafile file number=00059 name=/data6/oradata/zsbo/A0436IL2022_00_PREV_02.DBF
    input datafile file number=00068 name=/data5/oradata/zsbo/A0186LA2591_00_CURR_01.dbf
    input datafile file number=00071 name=/data9/oradata/zsbo/A0186LA2591_00_CURR_04.dbf
    input datafile file number=00078 name=/data10/oradata/zsbo/A0136NJ2533_00_CURR_01.dbf
    channel t4: starting piece 1 at 05-NOV-12 ----> No Progress since last 10 hours
    Any help will be appreciated.
    Regards,
    Mohit
    Edited by: 969777 on Nov 6, 2012 4:29 AM

    Hi,
    We have upgraded our database from 10.2.0.3 to 11.1.0.6.
    The Script runs fine when we take command line backup on disk which we took 6 days backup, but when we schedule the same on cronjob RMAN Full Backup completes till 91% and it hangs forever. Everything was running fine with Incremental backup which we took 2 days before and it ran successfully but the above log is of Incremental Backup which is still in Hang state from the last 10 Hours , but still showing no Errors.
    Please let me know if anything you want to confirm.
    Thanks for ur prompt response,
    Mohit

  • RMAN Last Completed Backup recorded in any table/view?

    Hi Friends,
    we are running RMAN backup of Full Database every day on 11g R2 Database.
    I would like to know where can i query the last completed backup date/time (in any table/view...) so that i will put a script to query that table/view to verify that the backup is completed .
    Regards,
    DB

    Hello;
    if you are using a catalog you can try this :
    select
            db_name,
            start_time,
            end_time,
            status,
            time_taken_display,
            output_bytes_display,
            output_device_type,
            session_key,
            session_recid,
            session_stamp
    from rc_rman_backup_job_details where end_time > sysdate -1If you not using a catalog V$RMAN_BACKUP_JOB_DETAILS should provide similar information.
    Best Regards
    mseberg

  • Time Machine Backups disk not automatically unmounting after backup completes in Lion

    I am using Time Machine over WiFi on a 3rd party USB drive shared as an AirDisk through an Airport Extreme router. Ever since switching to Lion (clean install), I have noticed that the Time Machine backup disk will not automatically unmount after a backup is completed. This creates a problem when my MacBook Pro comes back from sleep. Specifically, the WiFi notification icon in the Finder toolbar indicates that WiFi is connected, even though it's not connected to a network, and I am unable to connect to any networks for what seems like several minutes until the Time Machine backups disk disappears from the desktop and WiFi actually connects.
    Since the disk was not cleanly unmounted, Time Machine then keeps complaining that the sparse bundle file is locked and cannot be mounted every time it tries to do a backup. I have to either disconnect/reconnect the USB drive physically from the router, or restart the router every time this happens to resolve the issue. That is getting really annoying to have to do every time. I suppose I could manually unmount the Time Machine disk after every backup but it's ridiculous to have to do that every time I want to put the computer to sleep.
    Is anyone else experiencing this issue and is there a fix?

    For others who might be having this problem - I was able to resolve it by connecting my backup disk to my mac via USB, completely erasing it, and starting over from a new backup. Disk Utility was not reporting any errors when I verified the disk, but I went ahead and repartitioned it and started fresh. The disk now automatically unmounts after backups complete.

  • What file extension should I see after doing a complete PSE backup?

    I repetedly have had problems getting back a catalog after getting a new computer, getting an additional hard drive, etc.  So...when I do a complete back up, what file name extension should I see, so that I am POSITIVE that I can get my catalog back later, with all tags? Or is that too much to expect?
    (1) For instance, after doing a complete backup recently, I only see a "My Catalog.psb" file in the folder.  When I go to get the file loaded back into my new PSE 9 program (no matter if I "restore" or "convert" or whatever) from my old PSE 7, PSE will only look for a .tly file, so I  can't even choose that .psb file.  Also, my tags are usually nested within subcategories.  Can I get those nests back, too?
    (2)  I have given up and re-imported all of my photos, which at least brings in a list of tags that are on each photo.  But,I have to rebuild all the subcategories and tags underneath those subcategories.  UGH.
    So, what do I look for to make sure I have a correct backup file, and will I get everything back like I see it?  Or will it look different? Please post easy instructions - I am not an expert with PSE (because if I was, I wouldn't still be having the same problems year after year when I update PSE).

    Done!!  It took lots of effort, and lots of trial and error, but I figured
    out what I had been doing wrong...I had been confusing CATALOG with a FULL
    BACKUP.  To me, they were one and same but now I know they aren't.   Who
    knew?
    For those who read this thread in the future who only convert a catalog once
    every two or three years, like me (which means it is not very easy to
    remember what to do) here's what I found out when I was trying to load a
    PSE7 catalog into my new PSE9 program. (Please correct me if I am wrong
    about anything.)
    1)  Before you do anything, I suggest that you make a Full Backup of the
    catalog of  the older PSE program (the catalog you will soon import into to
    the newer PSE program) .  This will make it easier on you, rather than
    converting several incremental backups.
    2)  Open up the newest version of your PSE, holding down the Shift key as
    the Elements Organizer opens up.  This will open up the Elements Catalog
    Manager.
    3)  In the Catalog Manager go to "Convert" (top right corner)
    ...You may be lucky and automatically see the catalog you used in your older
    program listed here.  If so, skip to #8.
    I wasn't so lucky, so I had to do the following...
    4)  Click on "Find More Catalogs".
    5)  Navigate to the Adobe Photoshop Elements folder (usually located at
    C/Program Data/Adobe/Photoshop Elements),
    6)  Now here's the important part:
    ...Double click on the folder you see with the NAME OF THE CATALOG YOU WISH
    TO IMPORT (the catalog used in your older program).  When you do this, it
    will find your most up to date backup.
    ...Do not click on the folder that has your latest backup in it (it won't
    do anything no matter how much you try). THE BACKUP IS NOT YOUR CATALOG.  To
    me it seemed logical that it was, but to the Photoshop Elements program it
    was not...how was I to know?
    7)  After you double click on the folder with the name of the catalog you
    wish to import, you will see a line pop into the "Convert Catalog" box.
    8)  Highlight the line with the name of your older catalog in the "Convert
    Catalog" box, and click on "Convert" at the bottom of that box. Name your
    new catalog. Your tags, nesting, and photos should now all import into your
    newer version of Photoshop Elements.
    Finally...success for me!  Thank you SO MUCH for all of your help.  It
    steered me in the right direction, and taught me a few new tricks as I
    researched my problem.  I really appreciate your help!
    Note to Adobe Help Manual Writers:
    If only someone had written clearer directions on how to do this, I might
    have saved several days of anguish.  Please do not assume we know and
    understand your lingo.  Please do not assume that things will automatically
    load. Tell us what to do if they don't...AND what to do if our navigation
    to what we think is the right place doesn't work.  *A couple of sentences
    like this would have helped tremendously: "A catalog is not a backup.  When
    you navigate, make sure you are clicking on a catalog folder with the name
    of the catalog you wish to convert.  Don't click on a backup folder because
    that won't mean anything to the program."  *Please assume we will make
    mistakes, and when you see a pattern of people making the same mistake
    (having trouble importing catalogs, for instance), use that information to
    write better directions.

  • RMAN Backup after  gracefull Switchover

    We have Oracle 11.2.0.1 .
    We are going to switchoever to standby databse for 6 months.
    We take rman backup with catalog .
    do i need to reregister database to catalog after grace full switchoever ?
    Thanks,

    851707 wrote:
    Hi,
    By using
    when we do full database recovery or when we open database using alter database open resetlogs;
    does we need to take again fresh backup or old back will work further also.After performing a full database recovery it would be better to take a fresh backup, although you can reset the incarnation after opening the database with RESETLOGS
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • Wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app

    wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app so I am concerned

    If the backup and restore takes place properly, you shouldn't have any issue as millions of people have done an update from iOS 4.

Maybe you are looking for

  • How to resolve #Multivalue Error

    HI All, I have a data like below, in this for inpatient data is NULL and as per business requirement  if data is null then "0". so i create a variable and drag into inpatient's total column statement for inpatient is =If IsNull([total]) Then 0 Else [

  • Unable to view the groups in Oracle Internet Directory

    Hi Experts, We have created groups in ContentDB by executing the Groups.java program provided with cdbdevkit. We could able to view the groups in ContentDB Web UI. HowEver when logged onto OID....we are unable to view the groups. How can i view the g

  • Filters.cfg - enough info to rebuild my filters from scratch?

    I have the luxury of 2 BM servers. On the one, I want to completely delete all the filters and rebuild from scratch - lots of unneeded, old stuff in there, and I want to simply put in what I _know_ is needed and wait to get asked for the rest. To tha

  • Oracle 10g client software downloads

    Hi Guys, Can anyone direct me to the above. If you've got an existing client software i.e. 9i Do you have to remove it first or it will be automatically be removed / upgraded. What are about the existing configuartions, will they be lost or will stay

  • Edge animate crashes once video imported

    hi I'm trying to import a video into edge timeline. It imports fine and works exactly how i want on the timeline, but if i close and reopen the file edge immediately crashes, its only when i add video that this happens. can anyone help? Emily