Problem in moving database to new host

Hi,
I'm moving database from linux to windows and it perfectly moves as there is no endian formate issue between two OS. Now my problem is when I run below script
RUN
SET NEWNAME FOR DATAFILE 1 TO 'C:\app\Administrator\oradata\orcl\system01.dbf';
SET NEWNAME FOR DATAFILE 3 TO 'C:\app\Administrator\oradata\orcl\undotbs01.dbf';
SET NEWNAME FOR DATAFILE 2 TO 'C:\app\Administrator\oradata\orcl\sysaux01.dbf';
SET NEWNAME FOR DATAFILE 4 TO 'C:\app\Administrator\oradata\orcl\users01.dbf';
SET NEWNAME FOR DATAFILE 5 TO 'C:\app\Administrator\oradata\orcl\example01.dbf';
SET NEWNAME FOR DATAFILE 6 TO 'C:\app\Administrator\oradata\orcl\apps_data01.dbf';
SQL "ALTER DATABASE RENAME FILE
''D:\test\redo01.log''
TO ''C:\app\Administrator\oradata\orcl\redo01.log'' ";
SQL "ALTER DATABASE RENAME FILE
''/u01/app/oracle/oradata/orcl/redo02.log''
TO ''C:\app\Administrator\oradata\orcl\redo02.log'' ";
SQL "ALTER DATABASE RENAME FILE
''/u01/app/oracle/oradata/orcl/redo03.log''
TO ''C:\app\Administrator\oradata\orcl\redo03.log'' ";
SET UNTIL SCN 743262;
RESTORE DATABASE from 'C:\app\Administrator\flash_recovery_area\ORCL\backupset\2010_10_03\o1_mf_nnndf_TAG20101003T121537_6bjcf7bj_.bkp';
SWITCH DATAFILE ALL;
RECOVER DATABASE;
datafiles get renamed successfuly but it gives error on remaning redolog files as error stack of RMAN is given below
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''D:\test\redo01.log''TO ''C:\app\Admin
istrator\oradata\orcl\redo01.log''
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of sql command on default channel at 10/06/2010 20:30:43
RMAN-11003: failure during parse/execution of SQL statement: ALTER DATABASE RENA
ME FILE'D:\test\redo01.log'TO 'C:\app\Administrator\oradata\orcl\redo01.log'
ORA-01511: error in renaming log/data files
ORA-01516: nonexistent log file, datafile, or tempfile "D:\test\redo01.log"
Now I have created all dummy redolog to redo01.log,redo02.log and redo03.log on location D:\test, but it is still giving errors
what could be the problem of this as it seems that RMAN can rename files that it get from backupset but unable to read redolog files on the given path. I'm using 11gR1.
Looking for reply
Regards,
Usman

Dear user8812764,
Welcome to the OTN forums.
Please see the error explanations;
ORA-01511: error in renaming log/data files
Cause: An error occurred during the ALTER DATABASE RENAME FILE command.
Action: Check the error stack for detailed error information.So now you need to check the accompanying error;
ORA-01516: nonexistent log file, datafile, or tempfile "string"
Cause: An attempt was made to use ALTER DATABASE to rename a log file, datafile, or tempfile; or to change attributes of a datafile or tempfile (e.g., resize, autoextend, online/offline, etc.); or to re-create a datafile. The attempt failed because the specified file is not known to the database's control file or is not of a type supported by the request.
Action: Specify the name or number of an existing file of the correct type, as appropriate. Check the relevant V$ table for a list of possible files.By the way why do you have different redolog for group 1?
SQL "ALTER DATABASE RENAME FILE
''D:\test\redo01.log''
TO ''C:\app\Administrator\oradata\orcl\redo01.log'' ";
SQL "ALTER DATABASE RENAME FILE
''/u01/app/oracle/oradata/orcl/redo02.log''
TO ''C:\app\Administrator\oradata\orcl\redo02.log'' ";
SQL "ALTER DATABASE RENAME FILE
''/u01/app/oracle/oradata/orcl/redo03.log''
TO ''C:\app\Administrator\oradata\orcl\redo03.log'' ";There should be really an inconsistency here with your redolog naming conventions.
Hope That Helps.
Ogan

Similar Messages

  • Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab?

    Version 33, problems when moving tab to new window, then if you open a new tab in that window it doesn't switch to it unless you use Ctrl-Tab.

    Type '''about:preferences'''<enter> in the address bar.
    Select '''General.''' Look for '''Tabs.'''
    Turn on '''When I open a link in a new tab, switch to it immediately'''

  • Moved database to new server, not sure about NT AUTHORITY\* users

    I just moved database to new instance of SQL Server (SQL Server 2012 Web from Amazon EC2) and am now cleaning up database users.
    I am not sure if/why these 2 users are needed (they exist in original database that someone else created and managed before me):
    NT AUTHORITY\IUSR
    NT AUTHORITY\NETWORK SERVICE
    Note that there are also 2 database schemas with exactly the same names. These schemas do not contain any objects.
    I am more clear on NT AUTHORITY\IUSR - this seems to be a user for IIS and IIS is not even installed on new instance (IIS will not be used). So this one probably can be deleted (together with matching schema?).
    I am not sure about NT AUTHORITY\NETWORK SERVICE (or how it got created to begin with - new databases created on new server don't have it. Newly created databases don't have NT AUTHORITY\IUSR either).
    Neither of these 2 users exist at server level on a new instance or on an old instance.

    BOL says
    Local System account. The name of this account is NT AUTHORITY\System. It is a powerful account that has unrestricted access to all local system resources. It is a member of the Windows Administrators group on the local computer, and is therefore a member of
    the SQL Server sysadmin fixed server role
    Network Service account. The name of this account is NT AUTHORITY\NetworkService. It is available in Microsoft Windows XP and Microsoft Windows Server 2003. All services that run under the Network Service account are authenticated to network resources as the
    local computer.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Move Portal Database to New Host

    Hi,
    We currently have EP7.0 installed and running on a single host.  We are running a DB2 database on AIX and would like to move just the database to a different host. 
    Can anyone advise the process by which we can do this?
    Thanks,

    Hi Michael,
    Not sure about AIX & DB2, but for Windows & MS SQL the next steps should be performed:
    1) Shut down J2EE and move backup of DB on the new host;
    2) Run ..\usr\sap\F12\JC30\j2ee\configtool\configtool.bat and change DB parameters here;
    3) Start J2EE.
    In your case I think will be the same.
    Regards,
    Andrei

  • [SOLVED] Problem in moving /var to new partition

    Hi,
    I setup a new systemd Arch instalation on an SSD and migrated successfully from my old initscripts based HDD setup. I have 2 problems now, one leading to another.
    I wanted to move /var to a partition on HDD and followed the following steps.
    Created a new reiserfs partition for var on my HDD using gparted. Labelled it as "var"
    Rebooted to emergency mode and mounted it. (I remounted root as read-write)
    # mount /dev/sda8 /mnt/new_var
    Copied var contents to new_var
    # cd /var
    # cp -Rax * /mnt/new_var/
    # cd /
    # mv var var.old
    # umount /mnt/new_var
    # mkdir var
    # mount /dev/sda8 /var
    Added the following line to /etc/fstab
    LABEL=var /var reiserfs defaults 0 1
    When I reboot after this, systemd is timing out waiting for a var partition. Here is an pic taken during boot.
    I restored the old var using the emergency shell and could reboot properly. I tried the same thing as a normal user using sudo after the system was up. (During the moving, I got sudo warnings because the sudo folder in /var/db wasnt there.)
    With the new var partition in place, I proceeded to install a few packages. But when I rebooted, I the same thing happened again and had to get into emergency shell and restore the old var.
    However, after this, the packages which I installed in the interim are not available in pacman database.
    So,
    1. How can I move /var to a separate partition and still keep systemd happy?
    2. Is there a way to rescan or rebuild the pacman database? Will syncing the 2 different var setups that I've solve the problem? If so, how can I sync them?
    Last edited by kungsu (2012-11-04 14:54:25)

    I'm thinking in collision propabilities here. How probably might the device node change? I have machines that keep doing this without a real reason. I'd prefer labels on such machines. Other machines don't - without a real reason as well. I'd prefer device node notation on such machines. Labels can be changed manually, new partitions can be added and USB sticks with labled partitions can be inserted. While the USB situation should not be a big deal, both, labels as well as device nodes can be subject to changes, collisions and other arbitrary events. The only thing that is unlikely to change (for no obvious reason), be altered by accident or made collide with another one, are UUIDs.
    I would not say using lables is bad, it's just that if you already have an issue, why not rule that out? It seemed to have solved the issue, it can be as easy as playing safe sometimes. Furthermore, the reason why I recommended to change the label from "var" to something else, is how common "var" is. It is like using a keyword in a programming language as a variable name, it may or may not work, so why not make it a habbit of not using such meta-keywords at all?
    EDIT: There is no particular reason, I suspect the lable isn't set correctly. Maybe there is a problem with the partition table - that's where I'd suspect the LABLE to be stored.
    Or maybe you just did the whole by-label thing wrong.
    "/dev/disk/by-label/var" instead of LABEL="var"…
    Last edited by Awebb (2012-11-04 15:27:43)

  • Restore Database on New Host in Catalog mode

    Dearest DBAs,
    Here is RMAN configuration details,
    163.19.0.153
    Production Database (orcl)
    163.19.0.154
    RMAN Catalog Database (rman)
    163.19.0.155
    BackupSets Location
    163.19.0.156
    Test Machine
    I have taken the backup through RMAN and now want to restore the database using RMAN to a test machine. Where test database was already running and I have only removed the data files, control files and redo log files.
    This document on the following link describes the steps
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov002.htm#sthref723
    I have connected to rman using following command
    c:\>set oracle_sid=orcl
    c:\>rman target rman/zaffar@rman nocatalog
    rman>set dbid 111122
    it gives me following error
    RMAN-03002
    RMAN-06188
    but rman is running in catalog mode that disallow me to set the dbid of the target database and because of this I am unable to proceed further.
    Kindly help.
    Regards,
    Asif

    the problem mentioned above has been solved, but now i am getting following error when i execute following script
    RUN
    # allocate a channel to the tape device
    ALLOCATE CHANNEL c1 DEVICE TYPE sbt PARMS='...';
    # rename the datafiles and online redo logs
    SET NEWNAME FOR DATAFILE 1 TO '?/oradata/test/system01.dbf';
    SET NEWNAME FOR DATAFILE 2 TO '?/oradata/test/undotbs01.dbf';
    SET NEWNAME FOR DATAFILE 3 TO '?/oradata/test/cwmlite01.dbf';
    SET NEWNAME FOR DATAFILE 4 TO '?/oradata/test/drsys01.dbf';
    SET NEWNAME FOR DATAFILE 5 TO '?/oradata/test/example01.dbf';
    SET NEWNAME FOR DATAFILE 6 TO '?/oradata/test/indx01.dbf';
    SET NEWNAME FOR DATAFILE 7 TO '?/oradata/test/tools01.dbf';
    SET NEWNAME FOR DATAFILE 8 TO '?/oradata/test/users01.dbf';
    SQL "ALTER DATABASE RENAME FILE ''/dev3/oracle/dbs/redo01.log''
    TO ''?/oradata/test/redo01.log'' ";
    SQL "ALTER DATABASE RENAME FILE ''/dev3/oracle/dbs/redo02.log''
    TO ''?/oradata/test/redo02.log'' ";
    # Do a SET UNTIL to prevent recovery of the online logs
    SET UNTIL SCN 123456;
    # restore the database and switch the datafile names
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    # recover the database
    RECOVER DATABASE;
    ora-01511: erro in renaming log/data files
    ora-01516: nonexistent log file, datafile or tempfile 'e:\oradata\orcl\orcl\redo03.log'
    any help
    Regards,
    Asif

  • Moving Databases to new servers

    Hi,
    We are planning to move several 10.2.0.3 databases to a new servers. Can I just copy the oracle binaries to the new servers (both servers are Solaris 5.10) and start using or do I have to install oracle all over again on the new server ?
    Once we copy or install oracle on the new server, we will copy the datafiles to the new server.
    Are there any issues I need to watchout during this whole process.
    Thanks in advance.

    Can I just copy the oracle binaries to the new servers (both servers are Solaris 5.10) and start using or do I have to install oracle all over again on the new server ?You need to install Oracle on new server as there are some linkings which need to be in place.
    Are there any issues I need to watchout during this whole process.Are your directory structures on source and target servers exactly the same? If not then you will need to recreate the control files.

  • Problem with moving itunes to new computer

    I recently bought a new computer and when i downloaded Itunes some of my songs did not come through complete. About 50 songs in my library will randomly stop playing in the middle of the song and move on to the next song. I downloaded the latest version of itunes.  When I go to my library and play a defective song if i force it to fast forward it will play the remaining part of the song so the music is there. So far the only solution to my problems is an expensive one. only thing I can think of to do is delete the affected songs and pay to redownload them. Is there another way to resolve this issue? When I first noticed the problem itunes did let me redownload 3 songs for free then when I went to do it again ( because I have alot a music and haven't discovered ALL the defective songs yet. I cant find them till they play and I notice it) but when I went to redownload song I already paid for they wanted to charge me again.

    Thanks for your advice.
    Unfortunately it did not solve the problem.
    I’m now convinced that my problem is related to the Intel Viiv Technology.
    In an article at tweakdown.com, http://www.tweaktown.com/articles/937/index.html , they proclaim that if you have a computer with Intel Viiv Technology "you’re locked out of iTunes".

  • ORA-01041 error when duplicating database to new host

    I'm using RHEL 5 with Oracle 11g and I'm testing data guard.
    I am trying to setup data guard by following this link:
    http://www.databasejournal.com/features/oracle/article.php/3816751/Oracle-11g-Data-Guard-Building-a-Physical-Standby-Database.htm
    I use the following command:
    [oracle@linux-test ~]$ rman target sys/oracle auxiliary sys/oracle@stdby
    Recovery Manager: Release 11.1.0.6.0 - Production on Tue Oct 6 11:54:47 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: ORCL (DBID=1227314034)
    connected to auxiliary database: STDBY (not mounted)
    RMAN> RUN {
    ALLOCATE CHANNEL d1 TYPE DISK;
    ALLOCATE CHANNEL d2 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv1 TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL cnv2 TYPE DISK;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    FROM ACTIVE DATABASE
    DORECOVER
    SPFILE
    SET db_unique_name='stdby'
    SET control_files='/home/u01/app/oracle/oradata/orcl/control01.ctl'
    SET log_file_name_convert='/home/u01/app/oracle/oradata/orcl/','/home/u01/app/oracle/oradata/stdby/'
    SET log_archive_dest_1='location=/home/u01/app/oracle/flash_recovery_area/STDBY/ valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=stdby'
    SET log_archive_dest_2='service=orcl ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orcl'
    SET fal_client='stdby'
    SET fal_server='orcl'
    SET standby_file_management='AUTO'
    SET log_archive_config='dg_config=(orcl,stdby)'
    NOFILENAMECHECK;
    When it's starting datafile copy, I get this error:
    channel d1: starting datafile copy
    input datafile file number=00001 name=/home/u01/app/oracle/oradata/orcl/system01.dbf
    channel d2: starting datafile copy
    input datafile file number=00002 name=/home/u01/app/oracle/oradata/orcl/sysaux01.dbf
    RMAN-03009: failure of backup command on d1 channel at 10/06/2009 11:56:41
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    channel d1 disabled, job failed on it will be run on another channel
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/06/2009 11:56:54
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on d2 channel at 10/06/2009 11:56:54
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    I have googled it but I still have no solution yet.
    Any idea please?
    Sarith

    Use a 'Try and Error' strategy, remove the manual channel allocations from the script, these are not mandatory. Let RMAN automatically allocate channels.
    Werner

  • 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?

  • [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

  • Have published iweb site for five years with no problems and just opened a new site and get - 404: Page not found  This error is generated when there was no web page with the name you specified at the web site.-is the problem with iweb or with hosting?  T

    I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
    Have published iweb site for five years with no problems and just opened a new site and get -
    404: Page not found 
    This error is generated when there was no web page with the name you specified at the web site.-
    Troubleshooting suggestions:
    Ensure the page you are linking to exists in the correct folder.
    Check your file name for case sensitivity . Index.htm is not the same as index.htm!
    Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
    is the problem with
    iweb or with hosting?
    One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
    to local folder. NWS has checked sttting a few times-
    Any help would be extremely appreciated as trying to fix this for about five weeks
    Thanks VG
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
    You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
    If that's not the page you are having trouble with, what is that page's URL?

  • Migrating database target to new host

    Hi,
    I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
    I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
    I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
    Salman

    Salman Qureshi wrote:
    Hi,
    I have OEM Grid control 10.2.0.5 running on Red Hat Linux 64 bit
    I have a database target with version 9.2.0.6 and grid agent on this target host is 10.2.0.5.
    I want to migrate my this database target from current server to another server and name of server will be changed. I have historical data about this database target in my OEM Grid. Is there any way that i can migrate my database to other server with new name and install agent there but don't want to loose the statistics data about this target database from OEM Grid because as far as i know, i would need to remove this target database and target node, then migrate database to new server(node) then reconfigure this target node and this target database. So any way to do this without deconfiguring the target database during this migration?
    Hi Salman
    As server name will be changed , I am not sure if it is possible. What you can do is , just configure database on new server with a different name and keep the old configuration in GRID. In this you target will be unavailable all the time but you can get the historical report about this.
    Regards
    Rajesh

  • Existing APEX:  Migration to new host/database

    We'll be migrating the database containing our APEX install to a new host and new database. As long as all of the objects, views, etc. are copied from the present location where APEX resides, will there be any special considerations we need to factor in for the transition to go smoothly? Also, would APEX need to be reinstalled on the new database, or will copying the objects suffice? Obviously, our intent is to avoid recreating our applications within APEX. Any insight would be appreciated.

    Jason,
    You can do a full database export and import (I think that means all schemas) or just do selective ones. For Application Express that would be FLOWS_030000 for versions 3.x, FLOWS_FILES, and APEX_PUBLIC_USER. If you do that you'll have to generate and run a script to grant privileges from SYS as described here: Re: 404 error after restoring the database
    Another approach would be to simply reinstall Application Express. From your old database use the apex workspace export for each of your workspaces and gather those export files. Then use the apex workspace import pages to import those workspaces in the new instance. Then do the same for all of your applications, i.e., login to each workspace as an admin, export each application, then repeat this on the new instance but import/install each application into each workspace. This can be tedious.
    I hope others will offer their recommendations about this. It sort of depends on how many workspaces and apps you already have.
    Scott

  • Problem after moving to new house

    I previously had no problem with wireless Airport Express connected via cable modem.
    Now I've moved to a new house and cannot get it to work. Same Internet Service Provider. The green light on AX is on. Internet Connect utility says I am connected to AX, and that AX is connected to the internet via ethernet (?). My MacBook recognizes the AX name and says it's connected wirelessly. But then I open Safari and cannot connect to the internet.
    I've reset AX by pressing the little reset button, and also reset it through Airport Utility. No luck.
    Finally, my wireless connection works fine through a neighbor's system.
    The only thing I know of left to try is connecting via an ethernet cable, which I don't have now.

    Oh, and I can use AX to play music wirelessly just fine.

Maybe you are looking for

  • Hp photosmart premium c309g not printing correctly

    this problem has slowly gotten worse. printer had been working fine since Oct 2010 (when a newly installed cartridge would not print) but recently stopped printing black. According to the ink cartridge estimated ink levels, I had PLENTY of black ink,

  • External Drives won't let iMac to Restart...???

    I have three External HDs connected to my iMac. One Firewire800, one firewire400 and one USB 2.0... and everything works great until I restart the iMac, it keep a blue screen stand by forever, and I need to disconect the drives to restart the iMac an

  • How to convert a text file content to String in JSP?

    Hi, I need to read the content of a text file and convert it into String and display it on to a JSP file. But the codings below don't work. Please advise me on how can i display the text file content. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Client proxy from user exit

    I am invoking a client proxy from user exit (user exit is invoked in update task). Is there any red flags I need to be aware of. Proxy takes a while to execute and till that time, My original document does not get updated.

  • Why does my home button keep sticking. I have to press it 4 or 5 times for it to take me from an app back to the home page

    My home button keeps sticking. I have to press it about 4 or 5 times to move from an app back to home page. Very frustrating when I want to change apps in a hurry. I have had the phone for just over a year without any problems. This started about thr