Recover on new host

hi all,
i am using xp, oracle 10.1.0.2.0
i recovered my database named jal on new host.
but when i am trying to create a table using scott user, it gives me error "cannot use system rollback segment for nonsystem tablespace 'users'
can any1 put some light on this one?
how can i enable the users to create tables in the tablespace users.
Regards
Tamanna

Check the status of your undo tablespace
SQL> select tablespace_name, status, contents
  2  from dba_tablespaces
  3  where contents = 'UNDO'
  4  /
TABLESPACE_NAME                STATUS    CONTENTS
UNDOTBS1                       ONLINE    UNDO
SQL> show parameter undo
NAME                                 TYPE        VALUE
undo_management                      string      AUTO
undo_retention                       integer     900
undo_tablespace                      string      UNDOTBS1and plese post the output of the above on the forum.
With kind regards
Krystian Zieja

Similar Messages

  • [HELP] Problem with restore and recovery to new host

    Hi, guys!
    I have been trying for two days, but still cannot get it to work.
    I have taken a full hot(online) backup with archive logs as well as the control file and SPFILE, and then copied the backup to the new host with the same directory structure and settings. Finally, I have tried to restore & recover the database on the new host but failed during the restore process.
    Both the original host and the new host have the same Oracle installed down to the patch level. I couldn't figure out the proper solution to this problem base on my limited knowledge about Oracle DB.
    Could anyone help me out here? Any advice would be appreciated!
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATADATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 11:41:33
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Here is some extra information that you might want to know about:
    RMAN> list incarnation;
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 PRODDB 3774691295 PARENT 1 17-APR-07
    2 2 PRODDB 3774691295 PARENT 521803 06-OCT-11
    3 3 PRODDB 3774691295 PARENT 1595143 20-OCT-11
    4 4 PRODDB 3774691295 PARENT 1600974 20-OCT-11
    5 5 PRODDB 3774691295 PARENT 1952053 27-OCT-11
    6 6 PRODDB 3774691295 CURRENT 2146951 07-NOV-11
    RMAN> list backup recoverable;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    37 Full 822.34M DISK 00:29:47 07-NOV-11
    BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20111107T175037
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BKP
    List of Datafiles in backup set 37
    File LV Type Ckp SCN Ckp Time Name
    1 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSTEM01.DBF
    2 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\UNDOTBS01.DBF
    3 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\SYSAUX01.DBF
    4 Full 2149673 07-NOV-11 D:\DBDATA\PRODDB\USERS01.DBF
    5 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA01.DBF
    6 Full 2149673 07-NOV-11 D:\ORA_DATA\DATA02.DBF
    7 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX01.DBF
    8 Full 2149673 07-NOV-11 D:\ORA_DATA\INDX02.DBF
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    SPFILE Included: Modification time: 07-NOV-11
    BS Key Size Device Type Elapsed Time Completion Time
    39 18.46M DISK 00:00:05 08-NOV-11
    BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093359
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\BACKUPSET\
    2011_11_08\O1_MF_ANNNN_TAG20111108T093359_7CJY7TG1_.BKP
    List of Archived Logs in backup set 39
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 1 2146951 07-NOV-11 2149493 07-NOV-11
    1 2 2149493 07-NOV-11 2149519 07-NOV-11
    1 3 2149519 07-NOV-11 2149565 07-NOV-11
    1 4 2149565 07-NOV-11 2149641 07-NOV-11
    1 5 2149641 07-NOV-11 2172859 07-NOV-11
    1 6 2172859 07-NOV-11 2197851 07-NOV-11
    1 7 2197851 07-NOV-11 2220349 08-NOV-11
    1 8 2220349 08-NOV-11 2222621 08-NOV-11
    1 9 2222621 08-NOV-11 2222729 08-NOV-11
    1 10 2222729 08-NOV-11 2223088 08-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    Control File Included: Ckp SCN: 2223097 Ckp time: 08-NOV-11
    SPFILE Included: Modification time: 08-NOV-11
    Thanks in advance!
    Jay

    Thank you for your reply,Hemant K Chitale!
    >
    a) Does the directory structur exist on the new server :
    D:\DBDATA\PRODDB\ --- for files 1 to 4
    D:\ --- for file 5
    D:\ORA_DATA\ --- for files 6 to 8
    >
    Yep, I have doubled check the directory structure that get in the way, and they are all exist.
    Would it be something to do with the folder permissions?
    >
    b) Apparently a RESETLOGS has been issued on 07-Nov. Which controflile backup do you have restored and mounted on the new server ? It should be the one after the RESETLOGS.
    >
    I restored the one included with the backup. Should I take another backup of controlfile seperately and restore from it instead?
    >
    (I assume that you did a RESTORE CONTROLFILE followed by sql "alter database mount" before the attempt to RESTORE DATABASE)
    >
    Yep, that's exactly what I did.
    //executed @ RMAN prompt of the new host
    startup nomount; 'the new host has the right SPFILE to start with so i didn''t bother to RESTORE SPFILE first.
    restore controlfile from autobackup;
    alter database mount;
    restore  database sequence 10 thread 1;
    //get stucked here with RMAN-06026, 06023
    //...the following is not executed yet.... :-(
    recover database until sequence 10;
    alter database open resetlogs;Edited by: HappyJay on 2011/11/08 13:25
    I have made several attemps with your advice, but still get the same type of errors.
    Here is the output:
    RMAN> list backup of controlfile;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    38 Full 6.95M DISK 00:00:03 07-NOV-11
    BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20111107T182034
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    \2011_11_07\O1_MF_S_766606834_7CH8Q439_.BKP
    Control File Included: Ckp SCN: 2151141 Ckp time: 07-NOV-11
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    40 Full 6.95M DISK 00:00:00 08-NOV-11
    BP Key: 40 Status: AVAILABLE Compressed: NO Tag: TAG20111108T093411
    Piece Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP
    +\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP+
    Control File Included: Ckp SCN: 2223097      Ckp time: 08-NOV-11
    as you suggested, this backup piece of controlfile should be right one to be restored.
    RMAN> shutdown;
    database dismounted
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 364907424 bytes
    Database Buffers 121634816 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore controlfile from autobackup;
    Starting restore at 08-NOV-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=157 devtype=DISK
    recovery area destination: C:\oracle\product\10.2.0\flash_recovery_area
    database name (or database unique name) used for search: PRODDB
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AR
    EA\PRODDB\AUTOBACKUP\2011_11_08\O1_MF_S_766661651_7CJY84LK_.BKP
    channel ORA_DISK_1: control file restore from autobackup complete
    output filename=D:\DBDATA\PRODDB\CONTROL01.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL02.CTL
    output filename=D:\DBDATA\PRODDB\CONTROL03.CTL
    Finished restore at 08-NOV-11
    tried shutdown normally and mount again instead.
    RMAN> shutdown;
    Oracle instance shut down
    RMAN> exit
    Recovery Manager complete.
    C:\>rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Nov 8 13:49:42 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area 490733568 bytes
    Fixed Size 1291360 bytes
    Variable Size 369101728 bytes
    Database Buffers 117440512 bytes
    Redo Buffers 2899968 bytes
    RMAN> restore database until sequence 10 thread 1;
    Starting restore at 08-NOV-11
    Starting implicit crosscheck backup at 08-NOV-11
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    Crosschecked 3 objects
    Finished implicit crosscheck backup at 08-NOV-11
    Starting implicit crosscheck copy at 08-NOV-11
    using channel ORA_DISK_1
    Crosschecked 2 objects
    Finished implicit crosscheck copy at 08-NOV-11
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\PRODDB\AUTOBACKUP\2011_11_
    08\O1_MF_S_766661651_7CJY84LK_.BKP
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\DBDATA\PRODDB\SYSTEM01.DBF
    restoring datafile 00002 to D:\DBDATA\PRODDB\UNDOTBS01.DBF
    restoring datafile 00003 to D:\DBDATA\PRODDB\SYSAUX01.DBF
    restoring datafile 00004 to D:\DBDATA\PRODDB\USERS01.DBF
    restoring datafile 00005 to D:\ORA_DATA\DATA01.DBF
    restoring datafile 00006 to D:\ORA_DATA\DATA02.DBF
    restoring datafile 00007 to D:\ORA_DATA\INDX01.DBF
    restoring datafile 00008 to D:\ORA_DATA\INDX02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\PRODUCT\10.2.0\FLASH_REC
    OVERY_AREA\PRODDB\BACKUPSET\2011_11_07\O1_MF_NNNDF_TAG20111107T175037_7CH6YYVJ_.BK
    P
    failover to previous backup
    //however, still get the same results(ended up with errors)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 11/08/2011 13:50:29
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    Edited by: HappyJay on 2011/11/08 13:59

  • Restore to new host from tape, can't find autobackups

    Thankfully this is just a test, but I'm having trouble restoring a cold backup from a production host to a test/dev host. I tried the following:
    rman target /
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN> run
    2> {
    3> allocate channel t1 device type sbt;
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup;
    6> shutdown abort;
    7> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090514
    channel t1: looking for autobackup on day: 20090513
    channel t1: looking for autobackup on day: 20090512
    channel t1: looking for autobackup on day: 20090511
    channel t1: looking for autobackup on day: 20090510
    channel t1: looking for autobackup on day: 20090509
    channel t1: looking for autobackup on day: 20090508
    channel t1: no autobackup in 7 days found
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 05/14/2009 10:27:37
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece
    Here is the log file from when the backup was taken on 5/10, that was the last backup of this db.
    RMAN> connect target *
    2>
    3> show all;
    4> run {
    5> shutdown immediate;
    6> startup mount;
    7> backup database;
    8> alter database open;
    9> }
    10>
    connected to target database: EDI (DBID=1600196320)
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO 'SBT_TAPE';
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' SEND 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/sapp/oracle/product/10.2/dbs/snapcf_edi.f'; # default
    database closed
    database dismounted
    Oracle instance shut down
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    Starting backup at may-10-2009 08:00:19
    allocated channel: ORA_SBT_TAPE_1
    channel ORA_SBT_TAPE_1: sid=157 devtype=SBT_TAPE
    channel ORA_SBT_TAPE_1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    channel ORA_SBT_TAPE_1: starting full datafile backupset
    channel ORA_SBT_TAPE_1: specifying datafile(s) in backupset
    input datafile fno=00007 name=/sdb4/oradata/edi/data01.dbf
    input datafile fno=00006 name=/sdb5/oradata/edi/indx01.dbf
    input datafile fno=00008 name=/sdb2/oradata/edi/undo01.dbf
    input datafile fno=00001 name=/sdb1/oradata/edi/system01.dbf
    input datafile fno=00004 name=/sdb2/oradata/edi/sysaux01.dbf
    input datafile fno=00002 name=/sdb4/oradata/edi/tools01.dbf
    input datafile fno=00005 name=/sdb4/oradata/edi/users01.dbf
    channel ORA_SBT_TAPE_1: starting piece 1 at may-10-2009 08:00:20
    channel ORA_SBT_TAPE_1: finished piece 1 at may-10-2009 08:08:55
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020 comment=API Version 2.0,MMS Version 5.0.0.0
    channel ORA_SBT_TAPE_1: backup set complete, elapsed time: 00:08:34
    Finished backup at may-10-2009 08:08:55
    Starting Control File and SPFILE Autobackup at may-10-2009 08:08:55
    piece handle=c-1600196320-20090510-00 comment=API Version 2.0,MMS Version 5.0.0.0
    Finished Control File and SPFILE Autobackup at may-10-2009 08:09:50
    database opened
    Recovery Manager complete.
    Do I need to pass in the source host name when configuring the channel? So instead of
    send 'NB_ORA_SERV=pobackup01, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    i would need,
    send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=newhost, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    ??

    Ok, problem solved. Here's the complete process for recovering a non-archivelog mode data base to a new host from a cold backup from veritas 6.5 tape library.
    I used the "until time 'SYSDATE-5'" option because the cold backup was taken 5 days ago, and while rman will look back up to 7 days, it was taking forever to search for the autobackup. This let it start searching on the day the backup was made. The original problem I was having was due to the fact that the backup was taken from one host and the restore was going to another and I wasn't sending the old host name as the NB_ORA_CLIENT parameter. So it was searching backups from the new host for the data.
    oracle_sandbox1> rman target /
    Recovery Manager: Release 10.2.0.2.0 - Production on Thu May 14 14:05:02 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database (not started)
    RMAN> set dbid 1600196320;
    executing command: SET DBID
    RMAN> startup nomount;
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/app/oracle/product/10.2/dbs/initedi.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area 159383552 bytes
    Fixed Size 2069720 bytes
    Variable Size 67111720 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 6316032 bytes
    RMAN>run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore spfile to pfile '/dbexport/oracle/bckup/test_restore/edipfile_new.ora' from autobackup until time 'SYSDATE-5';
    5> }
    using target database control file instead of recovery catalog
    allocated channel: t1
    channel t1: sid=36 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 15-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: SPFILE restore from autobackup complete
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> shutdown abort;
    Oracle instance shut down
    \/\/\\/\/\//\//\/\/\/\/\ edit pfile from another session to remove references to old host
    RMAN> startup force nomount pfile='/dbexport/oracle/bckup/test_restore/edipfile_new.ora';
    Oracle instance started
    Total System Global Area 356515840 bytes
    Fixed Size 2070976 bytes
    Variable Size 314574400 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 6316032 bytes
    RMAN> run {
    2> allocate channel t1 device type 'SBT_TAPE';
    3> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    4> restore controlfile from autobackup until time 'SYSDATE-5';
    5> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    Starting restore at 14-MAY-09
    channel t1: looking for autobackup on day: 20090510
    channel t1: autobackup found: c-1600196320-20090510-00
    channel t1: control file restore from autobackup complete
    output filename=/dbexport/oracle/bckup/test_restore/control01.ctl
    output filename=/dbexport/oracle/bckup/test_restore/control02.ctl
    Finished restore at 15-MAY-09
    released channel: t1
    RMAN> alter database mount;
    database mounted
    RMAN> @reco_2.rman
    RMAN> run
    2> {
    3> allocate channel t1 device type 'SBT_TAPE';
    4> send 'NB_ORA_SERV=pobackup01, NB_ORA_CLIENT=sent1, NB_ORA_POLICY=jdeoracle, NB_ORA_SCHED=hotfull';
    5> set newname for datafile 1 to '/dbexport/oracle/bckup/test_restore/system01.dbf';
    6> set newname for datafile 2 to '/dbexport/oracle/bckup/test_restore/tools01.dbf';
    7> set newname for datafile 4 to '/dbexport/oracle/bckup/test_restore/sysaux01.dbf';
    8> set newname for datafile 5 to '/dbexport/oracle/bckup/test_restore/users01.dbf';
    9> set newname for datafile 6 to '/dbexport/oracle/bckup/test_restore/indx01.dbf';
    10> set newname for datafile 7 to '/dbexport/oracle/bckup/test_restore/data01.dbf';
    11> set newname for datafile 8 to '/dbexport/oracle/bckup/test_restore/undo01.dbf';
    12> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo'' ";
    13> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo'' ";
    14> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo'' ";
    15> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo'' ";
    16> sql "ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo'' ";
    17> restore database;
    18> switch datafile all;
    19> recover database noredo;
    20> }
    allocated channel: t1
    channel t1: sid=156 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 6.5 (2008052301)
    sent command to channel: t1
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo03.log'' TO ''/dbexport/oracle/bckup/test_restore/redo3.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo02.log'' TO ''/dbexport/oracle/bckup/test_restore/redo2.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo01.log'' TO ''/dbexport/oracle/bckup/test_restore/redo1.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo05.log'' TO ''/dbexport/oracle/bckup/test_restore/redo5.rdo''
    sql statement: ALTER DATABASE RENAME FILE ''/sdb1/oradata/edi/redo04.log'' TO ''/dbexport/oracle/bckup/test_restore/redo4.rdo''
    Starting restore at 15-MAY-09
    channel t1: starting datafile backupset restore
    channel t1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /dbexport/oracle/bckup/test_restore/system01.dbf
    restoring datafile 00002 to /dbexport/oracle/bckup/test_restore/tools01.dbf
    restoring datafile 00004 to /dbexport/oracle/bckup/test_restore/sysaux01.dbf
    restoring datafile 00005 to /dbexport/oracle/bckup/test_restore/users01.dbf
    restoring datafile 00006 to /dbexport/oracle/bckup/test_restore/indx01.dbf
    restoring datafile 00007 to /dbexport/oracle/bckup/test_restore/data01.dbf
    restoring datafile 00008 to /dbexport/oracle/bckup/test_restore/undo01.dbf
    channel t1: reading from backup piece 2jkeljgl_1_1
    channel t1: restored backup piece 1
    piece handle=2jkeljgl_1_1 tag=TAG20090510T080020
    channel t1: restore complete, elapsed time: 00:04:55
    Finished restore at 15-MAY-09
    datafile 1 switched to datafile copy
    input datafile copy recid=8 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/system01.dbf
    datafile 2 switched to datafile copy
    input datafile copy recid=9 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/tools01.dbf
    datafile 4 switched to datafile copy
    input datafile copy recid=10 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/sysaux01.dbf
    datafile 5 switched to datafile copy
    input datafile copy recid=11 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/users01.dbf
    datafile 6 switched to datafile copy
    input datafile copy recid=12 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/indx01.dbf
    datafile 7 switched to datafile copy
    input datafile copy recid=13 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/data01.dbf
    datafile 8 switched to datafile copy
    input datafile copy recid=14 stamp=686913242 filename=/dbexport/oracle/bckup/test_restore/undo01.dbf
    Starting recover at 15-MAY-09
    Finished recover at 15-MAY-09
    released channel: t1
    RMAN> **end-of-file**
    RMAN> alter database open resetlogs;
    database opened
    RMAN> exit
    Edited by: PktAces on May 18, 2009 8:04 AM

  • Enterprise Manager Configin a new host after recovery from cold backup

    Dear friends ,
    we have recovered a DB in new host(windows) from the cold backup.
    Listener is configured and EM is also configured .
    I am able to login through the EM . In the front page i get an error like
    java.lang.exception:unknownhost exception sensding request ::<hostname>.<domain>
    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB.
    Also when i clicked the link for administration page or performance page
    i was taken to the login page which was showing as follows
    user name:
    password:
    Connect String : <old host name>.<domain name>
    Now i dont know where is parameter of old host details are stored and how it has to be replaced.
    Please reply if anyone can have the solution .
    Thanks in advance
    Madhu

    Please Note :The hostname from which we have taken backup(operation system) is different from the new host name where have recovered the DB
    This is the call for trouble actually.EM repository stores the info of hostname/ipaddress of the machine where it is configured. So any change in that information will not let you use EM.There are couple of files which are there in which this information is stored and if needed, that information can be be manualy edited.But manual editing is not a good way to deal with repository.So the better option for you is to recreate the repository of your EM
    Follow the link for the description of the commands.
    You would have to use
    $emca -deconfig dbcontrol db -repos drop
    $emca -config dbcontrol db -repod createHTH
    Aman....

  • RMAN full DB restore on New Host

    Hi There,
    My RMAN full backup script is like this:
    RMAN> CONNECT TARGET *
    CONNECT CATALOG *
    run {
    allocate channel 'dev_0' type 'sbt_tape'
      parms 'ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=db1,OB2BARLIST=Off-site,OB2BARHOSTNAME=db1.blah.tr)';
    backup incremental level 0
      format 'Off-site<db1_%s:%t:%p>.dbf'
      cumulative
      database;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      archivelog all;
    backup
      format 'Off-site<db1_%s:%t:%p>.dbf'
      current controlfile;
    EXITCan you help writing a full restore/recover script...
    Thanks
    Edited by: user642423 on Jan 24, 2009 11:11 PM

    I want to restore to a New Host and the above script will not work for me...
    Doing this procedure "http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1007814" I get an error like this:
    PS: I've set "maxdays 30" but again same "no autobackup found or specified handle is not a valid copy or piece" error...
    channel dev_0: looking for autobackup on day: 20090125
    channel dev_0: looking for autobackup on day: 20090124
    channel dev_0: looking for autobackup on day: 20090123
    channel dev_0: looking for autobackup on day: 20090122
    channel dev_0: looking for autobackup on day: 20090121
    channel dev_0: looking for autobackup on day: 20090120
    channel dev_0: looking for autobackup on day: 20090119
    channel dev_0: no autobackup in 7 days found
    released channel: dev_0
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 01/25/2009 00:27:00
    RMAN-06172: no autobackup found or specified handle is not a valid copy or piece

  • Restore to new host from tape

    Hello!
    Oracle 10.2.0.2
    Linux x86 Red Hat Enterprise
    Netbackup 6.0
    Netbackup 6.0 MP5
    Netbackup Oracle Agent
    Production server; 2,5 TB
    Hello
    Id like to restore a backup from tape to another host
    But i am having doubts regarding the restore script, ive done a channel for maintenance with success, so i think netbackup is okey installed.
    Now i want to restore a backup to the new host, witch has been pre-configured with same catalogues, and oracle binaries.
    Before this script i will manually restore spfile and put the database in nomount, and set DBID
    run
    ALLOCATE CHANNEL ch0 type 'SBT_TAPE';
    ALLOCATE CHANNEL ch1 type 'SBT_TAPE';
    RESTORE controlfile from autobackup;
    ALTER DATABASE mount;
    RESTORE database;
    RECOVER database;
    ALTER DATABASE OPEN RESETLOGS;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    }When i enter this script, i guess netbackup wont allow me to come and claim a backup from someone else, so i have configured netbackup master server to cllow restore to alternate host, and i have configured this new host to trick netbackup that he is the old one (NB_ORA_CLIENT), but im having doubts about the parms parameter in rman, i think i need to define the policy somewhere, but i dont know where. Have any of you completet a similiar task once, then maybe u can shed light on me.
    Thanks!

    siva_pappu wrote:
    Hi,
    Have you tried the restore? If yes and any errors received, post them to get the help.
    Some information is required to finalize the script.
    Up to what time you want to restore and recover? depending on it, you have to use "set the until time " clause.
    you are trying to restore control file from backup, so "RECOVER database" will not work. have to use "recover database using backup control file until scn/until time '<time>'/until scn". To know about all the options, refer manuals, metalink, etc.
    in the env params, I guess policy is not required.
    example script:
    run
    set until time "to_date('10-apr-2010 10:00:00','DD-mon-YYYY hh24:mi:ss')" ;
    ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=master_serv, NB_ORA_CLIENT=client_where_backup_was_taken)';
    ALLOCATE CHANNEL ch1 TYPE 'SBT_TAPE' PARMS 'ENV=(NB_ORA_SERV=see above, NB_ORA_CLIENT=see above)';
    RESTORE controlfile from autobackup;
    ALTER DATABASE mount;
    RESTORE database;
    restore archive log from seq <start number> until seq <end seq> ;
    RECOVER database using backup control file;
    ALTER DATABASE OPEN RESETLOGS;
    RELEASE CHANNEL ch0;
    RELEASE CHANNEL ch1;
    The archive logs required for recovery can be identified from your source database v$archived_log based on the recove until time.
    Thanks,
    SivaOk, i didnt think about that, i guess what i want to do is using backup controlfile until cancel. Wont he go into the tape and find the needed redo logs himself, i did not know that i needed to restore them to my disk before?

  • Showmount: new-host: RPC: Program not registered

    I always have problem shutting down my solaris system, anytime i issue the shutdown command i always get this error "showmount: new-host: RPC: Program not registered" and the system dows not shutdown instead reboots.
    bash-3.00$ su
    Password:
    # shutdown
    Shutdown started.    Wednesday, March  5, 2008 12:03:30 PM EST
    Broadcast Message from root (pts/3) on new-host Wed Mar  5 12:03:30...
    The system new-host will be shut down in 1 minute
    showmount: new-host: RPC: Program not registered
    Broadcast Message from root (pts/3) on new-host Wed Mar  5 12:04:00...
    The system new-host will be shut down in 30 seconds
    showmount: new-host: RPC: Program not registered
    Do you want to continue? (y or n):

    I think the shutdown command executes "showmount" as part of its execution process and if the nfs deamon is not running at that time, it produces this error. If you just execute "showmount", you'll see the same problem. Check this page:
    http://access1.sun.com/FAQSets/Solarisx86FAQs.html#14
    You should execute shutdown with some parameters:
    # shutdown -i0 -g0 -y
    -y : non-interactive shutdown
    -i0 : init state 0 (for shutdown)
    -g0 : grace period in seconds (0 for immediate, 60 by default)

  • My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

    My kids pushed something and this message comes up on a black screen: Darwin/BSD (new-host-4.home)(console) Login:  What do I do to fix it?

    Maybe I've spoken to quickly, see this thread https://discussions.apple.com/thread/320663?tstart=0

  • Listener error while restoring to new host

    I'm trying to restore a production database to a new host using a complete RMAN backup following these instructions:
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov.htm#i1006453
    I'm trying to force the database to start in NOMOUNT so I can restore the control files, then the data files. I took a crack at editing the initialization file, but I'm not sure I got things right, as I'm trying to restore a single-node RAC to a non-RAC system. Both servers are Windows.
    I'm getting the following error:
    RMAN> startup force nomount pfile='D:\Oracle\product\10.2.0\TSBAK\database\initt
    sbak.ora';
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/21/2010 14:01:19
    RMAN-04014: startup failed: ORA-01078: failure in processing system parameters
    RMAN-04017: startup error description: ORA-00119: invalid specification for syst
    em parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_TSBAK'This is the listener (I just ran the net configuration wizard)
    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\TSBAK\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER_TSBAK =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\oracle\product\10.2.0\TSBAK)
          (PROGRAM = extproc)
    LISTENER_TSBAK =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = TSSQL2008B)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
      )This is the init.ora file
    *.__db_cache_size=343932928
    *.__java_pool_size=209715200
    *.__large_pool_size=8388608
    *.__shared_pool_size=209715200
    *.__streams_pool_size=8388608
    *._optimizer_connect_by_cost_based=false
    *.audit_file_dest='D:\Oracle\product\10.2.0\admin\TSBAK\ADUMP'
    *.background_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\BDUMP'
    *.cluster_database=FALSE
    *.cluster_database_instances=1
    *.compatible='10.2.0.1.0'
    *.control_files='+DATA/tsbak/controlfile/current.260.591973329'
    *.core_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\CDUMP'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA'
    *.db_file_multiblock_read_count=16
    *.db_files=1024# INITIAL
    *.db_name='TS'
    *.global_names=FALSE
    ##clustdb1.instance_name='TS1'
    *.instance_number=1
    ##clustdb1.instance_number=1
    *.java_pool_size=209715200
    *.job_queue_processes=10
    *.large_pool_size=8388608
    ##clustdb1.local_listener='LISTENER_TSBAK'
    *.local_listener='LISTENER_TSBAK'
    *.log_archive_dest_1='LOCATION=+DATA/TSBAK/'
    *.log_archive_format='ARC%S_%R.%T'
    *.log_buffer=8192# INITIAL
    *.log_checkpoint_interval=10000
    *.max_dump_file_size='10240'# limit trace file size to 10 K each
    *.nls_timestamp_format='YYYY-MM-DD HH24:MI.SS.FF'
    *.open_cursors=300
    *.open_links=4
    *.parallel_max_servers=5
    *.pga_aggregate_target=203423744
    *.processes=250# INITIAL
    *.remote_listener='LISTENER_TSBAK'
    *.remote_login_passwordfile='EXCLUSIVE'
    ##clustdb1.remote_login_passwordfile='exclusive'
    *.sga_max_size=1317011456
    *.sga_target=788529152
    *.shared_pool_size=209715200
    *.smtp_out_server='mail.mt.net:25'
    *.thread=1
    ##clustdb1.thread=1
    *.undo_management='AUTO'# For automatic undo management
    *.undo_tablespace='UNDOTBS1'
    ##clustdb1.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='D:\Oracle\product\10.2.0\admin\TSBAK\UDUMP'I am not sure which piece has the error, but would appreciate some help. This is one of the few steps that there isn't much mention of in the guide.

    okay moving on. I got previous error corrected (the directories hadn't been created yet). Now, I'm facing a new one and I did a copy/paste of the directory string, so I know it's valid.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/22/2010 12:13:34
    RMAN-04014: startup failed: ORA-16024: parameter LOG_ARCHIVE_DEST_1 cannot be parsedthe parameter is:
    *.log_archive_dest_1='D:\Oracle\product\10.2.0\TSBAK\database\archive'Can someone see what I'm doing wrong here?

  • Creating a new host in Tomcat 4.1

    I am trying to create new hosts within tomcat that are outside of the "webapps" directory, but with no luck.
    I am aware that i have to edit the server.xml in the "%Tomcat Home%/conf" directory to add my new host in, and i am then also spoofing the address through Windows' host file (C:\WINDOWS\system32\drivers\etc)
    the code i have added is below:
    Server.xml (including the localhost that was already present) :
    <Host name="localhost"
    debug="0"
    appBase="webapps"
    unpackWARs="true"
    autoDeploy="true">
    </Host>
    <Host
    name="development"
    debug="0"
    appbase="development">
    <Context
    path=""
    docBase="C:\Program Files\Apache Group\Tomcat 4.1\development\WEB-INF\"/>
    </Host>
    and in the Windows host file:
    127.0.0.1 localhost
    127.0.0.1 development
    the directory i am pointing to in the "docBase" contains an "index.jsp" and a WEB-INF folder containing and standard web.xml file, similar to the one that is contained within the "webapps" dir for the Tomcat test page.
    Do i need to apply a different IP or port for the development host? I was wondering whether this would work as Tomcat is obviously only working from the IP of my machine.
    Is there something that i am missing?
    Thanks in advance
    SteveW

    Hello Abdul,
    Javahar is right. Default configuration works this way only.
    Still if you want to confirm, please create one test user and login to BI Launchpad and see if you can do admin related tasks.
    If YES...then you need to create few Custom Access Levels as per requirement and break the inheritance while mapping them with the users, so it will not inherit anything from its Parent/Top-Level.
    Regards,
    Mahesh

  • HT1766 I recently replaced my iphone and took 6 weeks of new pictures, I plugged it to my computer and by accident I restored the back from 4 months ago and erased my new pictures. How can I recover the new pictures ?? Help!!

    I recently replaced my iphone and took 6 weeks of new pictures, I plugged it to my computer and by accident I restored the back from 4 months ago and erased my new pictures. How can I recover the new pictures ?? Help!!

    Sorry those pics might be gone, since you restored from your backup.
    Only way possible if by some possibility you were able to backup your current data to itunes, then you can restore from that backup.
    Open itunes - edit - preference - devices - backup - see if there is an up to date backup.
    If you don't have one then sorry those pics are gone.

  • SLD/JCo Migration to new host

    Dear Experts,
    I have gone through many posts but still not able to understand fully the procedure to migrate SLD from one host to another. So its my humble request you to read my issue and guide me.
    We have a situation that we have moved from physical to virtual host on our SLD. But when I shutdown the previous host, my ESS/MSS on Portal stops functioning.
    My Landscape is : Portal 7.1  - Old SLD -- Was serving as both Solution Manager and SLD (for around 20-30 systems)
    Now we want to move the OLD SLD to a new host, -- New SLD -- Will serve as SLD for all systems.
    There is one production Portal system which has ESS/MSS with Jco's, it is currently pointing to OLD SLD. When I login to OLD SLD and search for my Production Portal, I can see that it has few Jco Destinations and few "deployed objects" as shown in screenshot below
    These are the steps I have followed in my new SLD.
    1. Went to Visual Admin of my Portal system -- Changed SLD Data Supplier (CIM) to NEW SLD. Restarted Portal
    2. Logged in to new SLD and created JCO Destinations (exactly same as in OLD SLD)
    This is my NEW SLD, I cant see the "deployed objects" but i have created the JCO destinations (manually)
    But then, I am getting errors in ESS/MSS Applications for Jco related.
    Can someone please help me in figuring out what I am missing ??
    1.     Importing CIM data in new SLD from old SLD ??
    Any guidance on this will be helpful.
    Thanks,

    Hi Rajat,
    Take a look at More on System Landscape Directory. There are several blogs there that talk about migrating from one SLD to another. (Especially Switching between 2 SLD Systems in Sync with an LMDB or a 3rd SLD).
    It sounds to me like you changed the setup for the data supplier side, (so your new SLD has the correct data) but you haven't changed the SLD-client setup of the portal (so your portal doesn't know to look at the new SLD for data). Take a look at this SAP help document, Synchronizing the System Landscape Directory with the Portal, and see if you can find what you need there.
    I hope this helps!
    Best regards,
      --Tom

  • How to define new host in catalog?

    Hi guys,
    I have migrate 9R2 database to new host location and i wanted to run backup using same script which worked on old host but i get error :
    Wed Dec 8 13:59:13 CET 2010
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> #
    2> # Full Backup
    3> #
    4> # Recovery Manager script
    5> #
    6>
    7> #connect target sys/xxxyyy@dev;
    8> connect target "/";
    9> connect CATALOG rman/catalog@oemrep;
    10>
    11> run { 
    12> backup database plus archivelog delete input ;
    13> report obsolete;
    14> delete obsolete;
    15> crosscheck backup;
    16> delete noprompt expired backup;
    17> }
    18>
    19> exit;
    connected to target database: DEV (DBID=1703379406)
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04004: error from recovery catalog database: ORA-12154: TNS:could not resolve service name
    Recovery Manager complete.
    Is this means that i need to define new host location in RMAN CATALOG or what?

    You are right!
    But still i receive this
    Wed Dec 8 14:49:47 CET 2010
    Recovery Manager: Release 9.2.0.4.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> #
    2> # Full Backup
    3> #
    4> # Recovery Manager script
    5> #
    6>
    7> #connect target sys/xxxyyy@ssl21dev;
    8> connect target "/";
    9> connect CATALOG rman/catalog@oemrep;
    10>
    11> run { 
    12> backup database plus archivelog delete input ;
    13> report obsolete;
    14> delete obsolete;
    15> crosscheck backup;
    16> delete noprompt expired backup;
    17> }
    18>
    19> exit;
    connected to target database: SSL21DEV (DBID=1703379406)
    connected to recovery catalog database
    Starting backup at 08-DEC-10
    current log archived
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 12/08/2010 14:49:48
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    Recovery Manager complete.
    So prorbably old host database has different DBID defined in RAN catalog?

  • Could not locate new host added from Solaris 10 Sparc servers

    Hi All,
    I am having difficulty finding a new host (Stallion terminal server. e.g. jodie - 10.56.4.7) using ping on our Sun Fire T5220 Solaris 10 on our network, even though jodie has been updated to the DHCP (10.56.19.157) server and can be located from other hosts that runs Red Hat Linux and Windows XP. By restarting nscd daemon with the following commands did not help:
    # svcadm disable system/name-service-cache
    # svcadm enable system/name-service-cache
    Below is the static IP address detail for the Solaris 10 server:
    $ showrev
    Hostname: angel
    Hostid: 4e2f56yu
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:
    Kernel version: SunOS 5.10 Generic_144488-12
    $ ifconfig -a                                                                  
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 10.56.120.12 netmask fffffe00 broadcast 10.56.121.255
    The same detail on a Red Hat Linux server that can locate jodie is:
    root@bobby /sbin>uname -a
    Linux bobby.abc.com 2.4.18-3 #1 ...... i686 unknown
    root@bobby /sbin/ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:20:ED:5D:2F:94 
              inet addr:10.56.8.218  Bcast:10.56.15.255  Mask:255.255.240.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:653366594 errors:0 dropped:0 overruns:698544 frame:0
              TX packets:5815250 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:2492338569 (2376.8 Mb)  TX bytes:1003467939 (956.9 Mb)
              Interrupt:10 Base address:0xd000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:145903 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145903 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:12496874 (11.9 Mb)  TX bytes:12496874 (11.9 Mb)
    Likewise, the IP configuration on my Windows XP PC that can also see jodie after having flushed its local dns cache with "ipconfig /flushdns":
    C:\Documents and Settings\crystal>ipconfig -all
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : BEATLE
            Primary Dns Suffix  . . . . . . . : musician.abc.com
            Node Type . . . . . . . . . . . . : Unknown
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : musician.abc.com
                                                abc.com
                                                abc.com
                                                com
    Ethernet adapter Local Area Connection:
            Connection-specific DNS Suffix  . : abc.com
            Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection
            Physical Address. . . . . . . . . : 00-19-BB-55-79-90
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 10.56.3.91
            Subnet Mask . . . . . . . . . . . : 255.255.240.0
            Default Gateway . . . . . . . . . : 10.56.0.1
            DHCP Server . . . . . . . . . . . : 10.56.19.157
            DNS Servers . . . . . . . . . . . : 10.56.0.2,10.56.0.33What I suspect is the DNS configuration on angel (Solaris 10) to lookup DNS server (10.56.0.2, 10.56.0.33) is not correct, or that it is on another subnet (10.56.120.0) and require additional setup to see other hosts that do not belong to its own subnet. angel has only recently been built and its likely that its DNS setup has not been configured correctly.
    Other Solaris 10 Sparc servers on the same subnet 10.56.120.0 also experienced the same issue even though they have been around for a while. Nevertheless, their DNS configuration may have been manually configured to see certain subnets and not 10.56.4.0 where jodie lives.
    Any idea on where the problem lies?
    Thanks in advance,
    Crystal

    Hi All,
    I am having difficulty finding a new host (Stallion terminal server. e.g. jodie - 10.56.4.7) using ping on our Sun Fire T5220 Solaris 10 on our network, even though jodie has been updated to the DHCP (10.56.19.157) server and can be located from other hosts that runs Red Hat Linux and Windows XP. By restarting nscd daemon with the following commands did not help:
    # svcadm disable system/name-service-cache
    # svcadm enable system/name-service-cache
    Below is the static IP address detail for the Solaris 10 server:
    $ showrev
    Hostname: angel
    Hostid: 4e2f56yu
    Release: 5.10
    Kernel architecture: sun4v
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain:
    Kernel version: SunOS 5.10 Generic_144488-12
    $ ifconfig -a                                                                  
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet 10.56.120.12 netmask fffffe00 broadcast 10.56.121.255
    The same detail on a Red Hat Linux server that can locate jodie is:
    root@bobby /sbin>uname -a
    Linux bobby.abc.com 2.4.18-3 #1 ...... i686 unknown
    root@bobby /sbin/ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:20:ED:5D:2F:94 
              inet addr:10.56.8.218  Bcast:10.56.15.255  Mask:255.255.240.0
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:653366594 errors:0 dropped:0 overruns:698544 frame:0
              TX packets:5815250 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100
              RX bytes:2492338569 (2376.8 Mb)  TX bytes:1003467939 (956.9 Mb)
              Interrupt:10 Base address:0xd000
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:145903 errors:0 dropped:0 overruns:0 frame:0
              TX packets:145903 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:12496874 (11.9 Mb)  TX bytes:12496874 (11.9 Mb)
    Likewise, the IP configuration on my Windows XP PC that can also see jodie after having flushed its local dns cache with "ipconfig /flushdns":
    C:\Documents and Settings\crystal>ipconfig -all
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : BEATLE
            Primary Dns Suffix  . . . . . . . : musician.abc.com
            Node Type . . . . . . . . . . . . : Unknown
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
            DNS Suffix Search List. . . . . . : musician.abc.com
                                                abc.com
                                                abc.com
                                                com
    Ethernet adapter Local Area Connection:
            Connection-specific DNS Suffix  . : abc.com
            Description . . . . . . . . . . . : Intel(R) 82566DM Gigabit Network Connection
            Physical Address. . . . . . . . . : 00-19-BB-55-79-90
            Dhcp Enabled. . . . . . . . . . . : Yes
            Autoconfiguration Enabled . . . . : Yes
            IP Address. . . . . . . . . . . . : 10.56.3.91
            Subnet Mask . . . . . . . . . . . : 255.255.240.0
            Default Gateway . . . . . . . . . : 10.56.0.1
            DHCP Server . . . . . . . . . . . : 10.56.19.157
            DNS Servers . . . . . . . . . . . : 10.56.0.2,10.56.0.33What I suspect is the DNS configuration on angel (Solaris 10) to lookup DNS server (10.56.0.2, 10.56.0.33) is not correct, or that it is on another subnet (10.56.120.0) and require additional setup to see other hosts that do not belong to its own subnet. angel has only recently been built and its likely that its DNS setup has not been configured correctly.
    Other Solaris 10 Sparc servers on the same subnet 10.56.120.0 also experienced the same issue even though they have been around for a while. Nevertheless, their DNS configuration may have been manually configured to see certain subnets and not 10.56.4.0 where jodie lives.
    Any idea on where the problem lies?
    Thanks in advance,
    Crystal

  • Disaster recovery on a new host. Oracle 11.1.0.6

    Oracle 11.1.0.6, windows server 2003 R2 Service Pack 2 x64)
    I need to test disaster recovery on a new host(with diferent name).
    It looks like I am able to complete recovery stage but dbcontrol doesn't work for me.
    I was told: if you change host name or ip address you should delete repository and recreate it.
    Do I need to import emkey.ora file on a new host as well?
    I used this post
    11g Disaster recovery on a new host.

    restored database on a new host
    copied emkey.ora to a new host c:\oracle\product\11.1.0\db_1\sysman\config
    set ORACLE_SID=ORA2
    run cmd
    C:\oracle\product\11.1.0\db_1\BIN>emctl config emkey -emkeyfile C:\oracle\produc
    t\11.1.0\db_1\sysman\config\emkey.ora -force
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Please enter repository password:
    The Em Key has been configured successfully.
    C:\oracle\product\11.1.0\db_1\BIN>emctl config emkey -copy_to_repos
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.6.0
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Please enter repository password:
    The Em Key has been copied to the Management Repository. This operation will cau
    se the Em Key to become unsecure.
    After the required operation has been completed, secure the Em Key by running "e
    mctl config emkey -remove_from_repos".
    emctl.bat stop dbconsole
    emctl config emkey -repos -sysman_pwd password
    emctl secure dbconsole -sysman_pwd password
    emctl.bat start dbconsole
    now able to open
    https://oratest05.domainname.com:1158/em/
    but unable to logon
    Your username and/or password are invalid.

Maybe you are looking for

  • I am having trouble re-installing iTunes on my windows 7 pc.....

    I was having a bunch of trouble once I updated iTunes to 10. iTunes/apple mobile was taking up 100% of my CPU and making my pc SLOW! I uninstalled all things "Apple", ran a cache cleaner, rebooted and downloaded iTunes again. Now I am getting an erro

  • XPR0 and XLR0

    Dear Experts, I'm reading last payroll result using AMT= O XXXX where XXXX is the wagetype calculated on the basis of Basic Pay. The requirement is the value of the wagetype should be unchanged except in the start of Financial Year. The value of Basi

  • CC 5.1:Incorrect Management Report

    Hi All, I have the following 2 queries: 1. I have created one user 2 days  ago in production system     and assigned SAP_ALL profile. There are 2 background    jobs scheduled to run daily and those are:     1.User/Role/Profile Synchronization (Increm

  • REPOSITORY SYNC

    Hello, Currently we are working on configuration of LDAP AD on GRC(sp13) system. Done with all the required configuration as per the recommendations by SAP. But, while trying to perform repository sync getting error as" USER ADAPTER IS EMPTY". I am a

  • 4.51 new InitialContext never returns

    4.51 new InitialContext never returns When I do a "new InitialContext" in my client test program, it never returns when run on solaris or linux, it works fine on NT. Another symptom of the same problem is that a LIST command of weblogic.Admin works o