Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: RMAN madness !!

Re: RMAN madness !!

From: Jack van Zanen <nlzanen1_at_EY.NL>
Date: Mon, 08 Apr 2002 23:58:21 -0800
Message-ID: <F001.0043F32B.20020408235821@fatcity.com>

Hi,

You are probably encountering BUG 1834502

Fixed in 9.0.2 (duh)

don't use to date but instead write

set until time 'dd-MON-yyyy hh24:mi:ss'; {exact format mask}

Jack

                                                                                                                                                 
                      "SARKAR, Samir"                                                                                                            
                      <Samir.SARKAR_at_nottingham.se        To:       Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>                   
                      ma.slb.com>                        cc:       (bcc: Jack van Zanen/nlzanen1/External/MEY/NL)                                
                      Sent by: root_at_fatcity.com          Subject:  RMAN madness !!                                                               
                                                                                                                                                 
                                                                                                                                                 
                      08-04-2002 20:03                                                                                                           
                      Please respond to ORACLE-L                                                                                                 
                                                                                                                                                 
                                                                                                                                                 



Hi All,

I am back again........and yes, my script didn't work completely. It did write the data files
to the respective locations but it returned the following error during the process of duplicating
the db :

 RMAN-03021: executing script: Memory Script
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: set
RMAN-03022: compiling command: restore
RMAN-03022: compiling command: IRESTORE
RMAN-03023: executing command: IRESTORE
RMAN-08016: channel dupdb_d1: starting datafile backupset restore
RMAN-08502: set_count=335 set_stamp=456984311 creation_time=20-MAR-2002 RMAN-08089: channel dupdb_d1: specifying datafile(s) to restore from backup set
RMAN-08523: restoring datafile 00001 to
/disk01/oradata/test/data/system01sid1.dbf
RMAN-08523: restoring datafile 00002 to
/disk01/oradata/test/data/rbs01sid1.dbf

RMAN-08523: restoring datafile 00003 to
/disk01/oradata/test/data/rbslarge01sid1.dbf
RMAN-08523: restoring datafile 00004 to
/disk01/oradata/test/data/temp01sid1.dbf
RMAN-08523: restoring datafile 00005 to
/disk01/oradata/test/data/tools01sid1.dbf
RMAN-08523: restoring datafile 00006 to
/disk01/oradata/test/data/users01sid1.dbf

RMAN-08023: channel dupdb_d1: restored backup piece 1 RMAN-08511: piece handle=DB_BKUP_INCR_0_SID1_456984311_335_1 tag=DB_BKUP_INCR_0 params=NULL
RMAN-08024: channel dupdb_d1: restore complete RMAN-06162: sql statement: CREATE CONTROLFILE REUSE SET DATABASE "test" RESETLOGS ARCHIVELOG

  MAXLOGFILES     48
  MAXLOGMEMBERS      2
  MAXDATAFILES     1000
  MAXINSTANCES    10
  MAXLOGHISTORY     2042

 LOGFILE
  GROUP 1 ( '/disk03/oradata/test/logs/log01a01sid1.dbf' ) SIZE 188743680 ,
  GROUP 2 ( '/disk03/oradata/test/logs/log02a01sid1.dbf' ) SIZE 188743680 ,
  GROUP 3 ( '/disk03/oradata/test/logs/log03a01sid1.dbf' ) SIZE 188743680  DATAFILE
  '/disk01/oradata/test/data/system01sid1.dbf'  CHARACTER SET WE8ISO8859P1
RMAN-03027: printing stored script: Memory Script {

   switch clone datafile all;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: switch
RMAN-03023: executing command: switch
RMAN-08015: datafile 2 switched to datafile copy
RMAN-08507: input datafilecopy recid=1 stamp=458671845
filename=/disk01/oradata/test/data/rbs01sid1.dbf RMAN-08015: datafile 3 switched to datafile copy RMAN-08507: input datafilecopy recid=2 stamp=458671845 filename=/disk01/oradata/test/data/rbslarge01sid1.dbf RMAN-08015: datafile 4 switched to datafile copy RMAN-08507: input datafilecopy recid=3 stamp=458671845 filename=/disk01/oradata/test/data/temp01sid1.dbf RMAN-08015: datafile 5 switched to datafile copy RMAN-08507: input datafilecopy recid=4 stamp=458671845 filename=/disk01/oradata/test/data/tools01sid1.dbf RMAN-08015: datafile 6 switched to datafile copy RMAN-08507: input datafilecopy recid=5 stamp=458671845 filename=/disk01/oradata/test/data/users01sid1.dbf RMAN-08015: datafile 7 switched to datafile copy

RMAN-03027: printing stored script: Memory Script {

   set until time 'to_date(''20-MAR-2002 20:00:00'',''DD-MON-YYYY HH24:MI:SS'')';

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03012: fatal error during compilation of command
RMAN-03028: fatal error code: 600
RMAN-03013: command type: Duplicate Db

RMAN-00600: internal error, arguments [15120] [] [] [] [] RMAN-01005: syntax error: found "single-quoted-string": expecting one of: ";"
RMAN-01007: at line 2 column 30 file: Memory Script

Any ideas anybody ?????? My head is all mitered by now.

Thanks and Regards,
Samir

Samir Sarkar
Oracle DBA
SchlumbergerSema
Email : samir.sarkar_at_nottingham.sema.slb.com

            ssarkar2_at_slb.com
Phone : +44 (0) 115 - 957 6028
EPABX : +44 (0) 115 - 957 6418 Ext. 76028 Fax : +44 (0) 115 - 957 6018



This email is confidential and intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of SchlumbergerSema.
If you are not the intended recipient, be advised that you have received this
email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited.

If you have received this email in error please notify the SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: SARKAR, Samir
  INET: Samir.SARKAR_at_nottingham.sema.slb.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




==================================================================
De informatie verzonden in dit e-mailbericht is vertrouwelijk en is
uitsluitend bestemd voor de geadresseerde. Openbaarmaking,
vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan
derden is, behoudens voorafgaande schriftelijke toestemming van Ernst &
Young, niet toegestaan. Ernst & Young staat niet in voor de juiste en
volledige overbrenging van de inhoud van een verzonden e-mailbericht, noch
voor tijdige ontvangst daarvan. Ernst & Young kan niet garanderen dat een
verzonden e-mailbericht vrij is van virussen, noch dat e-mailberichten
worden overgebracht zonder inbreuk of tussenkomst van onbevoegde derden.

Indien bovenstaand e-mailbericht niet aan u is gericht, verzoeken wij u
vriendelijk doch dringend het e-mailbericht te retourneren aan de verzender
en het origineel en eventuele kopieën te verwijderen en te vernietigen.

Ernst & Young hanteert bij de uitoefening van haar werkzaamheden algemene
voorwaarden, waarin een beperking van aansprakelijkheid is opgenomen. De
algemene voorwaarden worden u op verzoek kosteloos toegezonden.
=====================================================================
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed. You should not copy, disclose or distribute this communication
without the authority of Ernst & Young. Ernst & Young is neither liable for
the proper and complete transmission of the information contained in this
communication nor for any delay in its receipt. Ernst & Young does not
guarantee that the integrity of this communication has been maintained nor
that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.

In carrying out its engagements, Ernst & Young applies general terms and
conditions, which contain a clause that limits its liability. A copy of
these terms and conditions is available on request free of charge.
===================================================================


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack van Zanen
  INET: nlzanen1_at_EY.NL

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Tue Apr 09 2002 - 02:58:21 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US