Re: RMAN error while TSPITR

2002-01-31 Thread nlzanen1



Hi,

I had problems duplicating to a point in time and the workaround was to set
the nls_date_format on OS level
so I started my script with export NLS_DATE_FORMAT= and that
fixed my problem


Jack





"Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hi,
I encountered the following error while performing TSPITR using RMAN
Below is the script being executed
run
 {
 allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
 recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
DD
 HH24:MI:SS')";
 }

Teh error stack is as follows

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=9 devtype=DISK

RMAN-03022: compiling command: set

RMAN-03022: compiling command: recover

RMAN-03027: printing stored script: Memory Script
{
# set the until clause
set until  time 'JAN 30 2002 14:53:56';
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: set

RMAN-03022: compiling command: restore

RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03015: error occurred in stored script Memory Script
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06136: ORACLE error from auxiliary database: ORA-01841: (full) year
must be between -4713 and +, and not be 0
RMAN-06097: text of failing SQL statement: select to_date('JAN 30 2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354

NLS_DATE_FORMAT is set to MON DD  HH24:MI:SS for the target database.
I even tried this but got the same error.

run
{
 set until time '30-JAN-2002 14:53:56';
  allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
 recover tablespace admin;
 release channel c1;
 }

Any ideas about this one?
TIA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sona
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 a

Re: RMAN error while TSPITR

2002-01-31 Thread Jared . Still

IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.

Jared





[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/30/02 11:45 PM
Please respond to ORACLE-L

 
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc: 
Subject:        Re: RMAN error while TSPITR




Hi,

I had problems duplicating to a point in time and the workaround was to 
set
the nls_date_format on OS level
so I started my script with export NLS_DATE_FORMAT= and that
fixed my problem


Jack





"Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hi,
I encountered the following error while performing TSPITR using RMAN
Below is the script being executed
run
 {
 allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
 recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
DD
 HH24:MI:SS')";
 }

Teh error stack is as follows

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=9 devtype=DISK

RMAN-03022: compiling command: set

RMAN-03022: compiling command: recover

RMAN-03027: printing stored script: Memory Script
{
# set the until clause
set until  time 'JAN 30 2002 14:53:56';
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: set

RMAN-03022: compiling command: restore

RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03015: error occurred in stored script Memory Script
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06136: ORACLE error from auxiliary database: ORA-01841: (full) year
must be between -4713 and +, and not be 0
RMAN-06097: text of failing SQL statement: select to_date('JAN 30 2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354

NLS_DATE_FORMAT is set to MON DD  HH24:MI:SS for the target database.
I even tried this but got the same error.

run
{
 set until time '30-JAN-2002 14:53:56';
  allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
 recover tablespace admin;
 release channel c1;
 }

Any ideas about this one?
TIA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sona
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 v

Re: RMAN error while TSPITR

2002-01-31 Thread Sona

What do i set the NLS_DATE_FORMAT  as? I tried setting it as
export NLS_DATE_FORMAT=MON DD  HH24:MI:SS

But got this error :
ksh: HH24:MI:SS: is not an identifier

Setting it to  export NLS_DATE_FORMAT=MON-DD-HH24:MI:SS  worked but i
still get the same error.



Sona




- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:38 AM


IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.

Jared





[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/30/02 11:45 PM
Please respond to ORACLE-L


To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:
        Subject:    Re: RMAN error while TSPITR




Hi,

I had problems duplicating to a point in time and the workaround was to
set
the nls_date_format on OS level
so I started my script with export NLS_DATE_FORMAT= and that
fixed my problem


Jack





"Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hi,
I encountered the following error while performing TSPITR using RMAN
Below is the script being executed
run
 {
 allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
 recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
DD
 HH24:MI:SS')";
 }

Teh error stack is as follows

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=9 devtype=DISK

RMAN-03022: compiling command: set

RMAN-03022: compiling command: recover

RMAN-03027: printing stored script: Memory Script
{
# set the until clause
set until  time 'JAN 30 2002 14:53:56';
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: set

RMAN-03022: compiling command: restore

RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03015: error occurred in stored script Memory Script
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06136: ORACLE error from auxiliary database: ORA-01841: (full) year
must be between -4713 and +, and not be 0
RMAN-06097: text of failing SQL statement: select to_date('JAN 30 2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354

NLS_DATE_FORMAT is set to MON DD  HH24:MI:SS for the target database.
I even tried this but got the same error.

run
{
 set until time '30-JAN-2002 14:53:56';
  allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
 recover tablespace admin;
 release channel c1;
 }

Any ideas about this one?
TIA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sona
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 gara

RE: RMAN error while TSPITR

2002-01-31 Thread Kempf, Reed

you should set it as such :
export NLS_DATE_FORMAT="MON DD  HH24:MI:SS"

you were missing the double quotes

regards

ReedK


-Original Message-
Sent: Thursday, January 31, 2002 3:50 PM
To: Multiple recipients of list ORACLE-L


What do i set the NLS_DATE_FORMAT  as? I tried setting it as
export NLS_DATE_FORMAT=MON DD  HH24:MI:SS

But got this error :
ksh: HH24:MI:SS: is not an identifier

Setting it to  export NLS_DATE_FORMAT=MON-DD-HH24:MI:SS  worked but i
still get the same error.



Sona




- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:38 AM


IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.

Jared





[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/30/02 11:45 PM
Please respond to ORACLE-L


To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
    cc:
    Subject:    Re: RMAN error while TSPITR




Hi,

I had problems duplicating to a point in time and the workaround was to
set
the nls_date_format on OS level
so I started my script with export NLS_DATE_FORMAT= and that
fixed my problem


Jack





"Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hi,
I encountered the following error while performing TSPITR using RMAN
Below is the script being executed
run
 {
 allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
 recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
DD
 HH24:MI:SS')";
 }

Teh error stack is as follows

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=9 devtype=DISK

RMAN-03022: compiling command: set

RMAN-03022: compiling command: recover

RMAN-03027: printing stored script: Memory Script
{
# set the until clause
set until  time 'JAN 30 2002 14:53:56';
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: set

RMAN-03022: compiling command: restore

RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03015: error occurred in stored script Memory Script
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06136: ORACLE error from auxiliary database: ORA-01841: (full) year
must be between -4713 and +, and not be 0
RMAN-06097: text of failing SQL statement: select to_date('JAN 30 2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354

NLS_DATE_FORMAT is set to MON DD  HH24:MI:SS for the target database.
I even tried this but got the same error.

run
{
 set until time '30-JAN-2002 14:53:56';
  allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
 recover tablespace admin;
 release channel c1;
 }

Any ideas about this one?
TIA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sona
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 

RE: RMAN error while TSPITR

2002-01-31 Thread Sujatha Madan

Sona,

Try setting the NLS_DATE_FORMAT="DD-MON- 24HH:MI:SS" at the OS level.

Then in your RMAN script you should specify the point in time date as
follows:

set until time '31-JAN-2002 23:05:00';

It should work (I've tested it).

Regards,

Sujatha

-Original Message-
Sent: Friday, 1 February 2002 9:50 AM
To: Multiple recipients of list ORACLE-L


What do i set the NLS_DATE_FORMAT  as? I tried setting it as
export NLS_DATE_FORMAT=MON DD  HH24:MI:SS

But got this error :
ksh: HH24:MI:SS: is not an identifier

Setting it to  export NLS_DATE_FORMAT=MON-DD-HH24:MI:SS  worked but i
still get the same error.



Sona




- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 10:38 AM


IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.

Jared





[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
01/30/02 11:45 PM
Please respond to ORACLE-L


To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
    cc:
Subject:Re: RMAN error while TSPITR




Hi,

I had problems duplicating to a point in time and the workaround was to
set
the nls_date_format on OS level
so I started my script with export NLS_DATE_FORMAT= and that
fixed my problem


Jack





"Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30

Please respond to [EMAIL PROTECTED]

Sent by:  [EMAIL PROTECTED]


To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)

Hi,
I encountered the following error while performing TSPITR using RMAN
Below is the script being executed
run
 {
 allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
 recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
DD
 HH24:MI:SS')";
 }

Teh error stack is as follows

RMAN-03022: compiling command: allocate
RMAN-03023: executing command: allocate
RMAN-08030: allocated channel: c1
RMAN-08500: channel c1: sid=9 devtype=DISK

RMAN-03022: compiling command: set

RMAN-03022: compiling command: recover

RMAN-03027: printing stored script: Memory Script
{
# set the until clause
set until  time 'JAN 30 2002 14:53:56';
# restore the controlfile
restore clone controlfile to clone_cf;
# replicate the controlfile
replicate clone controlfile from clone_cf;
# mount the controlfile
sql clone 'alter database mount clone database';
# archive current online log for tspitr to a resent until time
sql 'alter system archive log current';
# resync catalog after controlfile restore
resync catalog;
}
RMAN-03021: executing script: Memory Script

RMAN-03022: compiling command: set

RMAN-03022: compiling command: restore

RMAN-03022: compiling command: IRESTORE
RMAN-03026: error recovery releasing channel resources
RMAN-08031: released channel: c1
RMAN-00571: ===
RMAN-00569: === ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: recover
RMAN-03015: error occurred in stored script Memory Script
RMAN-03002: failure during compilation of command
RMAN-03013: command type: restore
RMAN-03002: failure during compilation of command
RMAN-03013: command type: IRESTORE
RMAN-06136: ORACLE error from auxiliary database: ORA-01841: (full) year
must be between -4713 and +, and not be 0
RMAN-06097: text of failing SQL statement: select to_date('JAN 30 2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354

NLS_DATE_FORMAT is set to MON DD  HH24:MI:SS for the target database.
I even tried this but got the same error.

run
{
 set until time '30-JAN-2002 14:53:56';
  allocate channel c1 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
 recover tablespace admin;
 release channel c1;
 }

Any ideas about this one?
TIA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sona
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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 gead

Re: RMAN error while TSPITR

2002-01-31 Thread Sona

Sujatha,

I tried doing that but it failed

Set the  NLS_DATE_FORMAT="DD-MON- HH24:MI:SS" at OS level.

RMAN script is
run
 {
 set until time '30-JAN-2002 14:53:56';
 allocate clone channel c1 type disk;
 allocate clone channel c2 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
recover tablespace admin;
 }

RMAN-03022: compiling command: set

RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===
RMAN-00569: =ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06136: ORACLE error from auxiliary database: ORA-01858: a non-numeric
character was found where a numeric was expected
RMAN-06097: text of failing SQL statement: select to_date('30-JAN-2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354


Am I missing something? I also set the nls_date_format  for the target
database to   DD-MON- HH24:MI:SS


Sona


- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 3:40 PM


> Sona,
>
> Try setting the NLS_DATE_FORMAT="DD-MON- 24HH:MI:SS" at the OS level.
>
> Then in your RMAN script you should specify the point in time date as
> follows:
>
> set until time '31-JAN-2002 23:05:00';
>
> It should work (I've tested it).
>
> Regards,
>
> Sujatha
>
> -Original Message-
> Sent: Friday, 1 February 2002 9:50 AM
> To: Multiple recipients of list ORACLE-L
>
>
> What do i set the NLS_DATE_FORMAT  as? I tried setting it as
> export NLS_DATE_FORMAT=MON DD  HH24:MI:SS
>
> But got this error :
> ksh: HH24:MI:SS: is not an identifier
>
> Setting it to  export NLS_DATE_FORMAT=MON-DD-HH24:MI:SS  worked but i
> still get the same error.
>
>
>
> Sona
>
>
>
>
> - Original Message -
> To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
> Sent: Thursday, January 31, 2002 10:38 AM
>
>
> IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.
>
> Jared
>
>
>
>
>
> [EMAIL PROTECTED]
> Sent by: [EMAIL PROTECTED]
> 01/30/02 11:45 PM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
<[EMAIL PROTECTED]>
> cc:
> Subject:Re: RMAN error while TSPITR
>
>
>
>
> Hi,
>
> I had problems duplicating to a point in time and the workaround was to
> set
> the nls_date_format on OS level
> so I started my script with export NLS_DATE_FORMAT= and that
> fixed my problem
>
>
> Jack
>
>
>
>
>
> "Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30
>
> Please respond to [EMAIL PROTECTED]
>
> Sent by:  [EMAIL PROTECTED]
>
>
> To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)
>
> Hi,
> I encountered the following error while performing TSPITR using RMAN
> Below is the script being executed
> run
>  {
>  allocate channel c1 type disk;
>  set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
>  recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
> DD
>  HH24:MI:SS')";
>  }
>
> Teh error stack is as follows
>
> RMAN-03022: compiling command: allocate
> RMAN-03023: executing command: allocate
> RMAN-08030: allocated channel: c1
> RMAN-08500: channel c1: sid=9 devtype=DISK
>
> RMAN-03022: compiling command: set
>
> RMAN-03022: compiling command: recover
>
> RMAN-03027: printing stored script: Memory Script
> {
> # set the until clause
> set until  time 'JAN 30 2002 14:53:56';
> # restore the controlfile
> restore clone controlfile to clone_cf;
> # replicate the controlfile
> replicate clone controlfile from clone_cf;
> # mount the controlfile
> sql clone 'alter database mount clone database';
> # archive current online log for tspitr to a resent until time
> sql 'alter system archive log current';
> # resync catalog after controlfile restore
> resync catalog;
> }
> RMAN-03021: executing script: Memory Script
>
> RMAN-03022: compiling command: set
>
> RMAN-03022: compiling command: restore
>
> RMAN-03022: compiling command: IRESTORE
> RMAN-03026: error recovery releasing channel resources
> RMAN-08031: released channel: c1
> RMAN-00571: ===

RE: RMAN error while TSPITR

2002-01-31 Thread Sujatha Madan

Sona,

Try this in your rman script

set until time "to_date('30-JAN-2002 12:00:00' ,'dd-mon- hh24:mi:ss')";

Make sure you have the NLS_DATE_FORMAT set too.

Sujatha

-Original Message-
Sent: Friday, 1 February 2002 11:45 AM
To: Multiple recipients of list ORACLE-L


Sujatha,

I tried doing that but it failed

Set the  NLS_DATE_FORMAT="DD-MON- HH24:MI:SS" at OS level.

RMAN script is
run
 {
 set until time '30-JAN-2002 14:53:56';
 allocate clone channel c1 type disk;
 allocate clone channel c2 type disk;
 set newname for datafile 3 to '/ora/data01/bkuptest/clone/admin.1.dbf';
recover tablespace admin;
 }

RMAN-03022: compiling command: set

RMAN-03022: compiling command: allocate
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===
RMAN-00569: =ERROR MESSAGE STACK FOLLOWS
RMAN-00571: ===
RMAN-03002: failure during compilation of command
RMAN-03013: command type: allocate
RMAN-06136: ORACLE error from auxiliary database: ORA-01858: a non-numeric
character was found where a numeric was expected
RMAN-06097: text of failing SQL statement: select to_date('30-JAN-2002
14:53:56') from sys.dual
RMAN-06099: error occurred in source file: krmk.pc, line: 4354


Am I missing something? I also set the nls_date_format  for the target
database to   DD-MON- HH24:MI:SS


Sona


- Original Message -
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 3:40 PM


> Sona,
>
> Try setting the NLS_DATE_FORMAT="DD-MON- 24HH:MI:SS" at the OS level.
>
> Then in your RMAN script you should specify the point in time date as
> follows:
>
> set until time '31-JAN-2002 23:05:00';
>
> It should work (I've tested it).
>
> Regards,
>
> Sujatha
>
> -Original Message-
> Sent: Friday, 1 February 2002 9:50 AM
> To: Multiple recipients of list ORACLE-L
>
>
> What do i set the NLS_DATE_FORMAT  as? I tried setting it as
> export NLS_DATE_FORMAT=MON DD  HH24:MI:SS
>
> But got this error :
> ksh: HH24:MI:SS: is not an identifier
>
> Setting it to  export NLS_DATE_FORMAT=MON-DD-HH24:MI:SS  worked but i
> still get the same error.
>
>
>
> Sona
>
>
>
>
> - Original Message -
> To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
> Sent: Thursday, January 31, 2002 10:38 AM
>
>
> IIRC the manuals suggest that you set NLS_DATE_FORMAT anyway.
>
> Jared
>
>
>
>
>
> [EMAIL PROTECTED]
> Sent by: [EMAIL PROTECTED]
> 01/30/02 11:45 PM
> Please respond to ORACLE-L
>
>
> To: Multiple recipients of list ORACLE-L
<[EMAIL PROTECTED]>
> cc:
> Subject:Re: RMAN error while TSPITR
>
>
>
>
> Hi,
>
> I had problems duplicating to a point in time and the workaround was to
> set
> the nls_date_format on OS level
> so I started my script with export NLS_DATE_FORMAT= and that
> fixed my problem
>
>
> Jack
>
>
>
>
>
> "Sona" <[EMAIL PROTECTED]>@fatcity.com on 31-01-2002 01:11:30
>
> Please respond to [EMAIL PROTECTED]
>
> Sent by:  [EMAIL PROTECTED]
>
>
> To:   Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> cc:(bcc: Jack van Zanen/nlzanen1/External/MEY/NL)
>
> Hi,
> I encountered the following error while performing TSPITR using RMAN
> Below is the script being executed
> run
>  {
>  allocate channel c1 type disk;
>  set newname for datafile 3 to '/ora/data01/test/clone/admin.1.dbf';
>  recover tablespace admin until time "to_date('JAN 30 2002 14:53:56','MON
> DD
>  HH24:MI:SS')";
>  }
>
> Teh error stack is as follows
>
> RMAN-03022: compiling command: allocate
> RMAN-03023: executing command: allocate
> RMAN-08030: allocated channel: c1
> RMAN-08500: channel c1: sid=9 devtype=DISK
>
> RMAN-03022: compiling command: set
>
> RMAN-03022: compiling command: recover
>
> RMAN-03027: printing stored script: Memory Script
> {
> # set the until clause
> set until  time 'JAN 30 2002 14:53:56';
> # restore the controlfile
> restore clone controlfile to clone_cf;
> # replicate the controlfile
> replicate clone controlfile from clone_cf;
> # mount the controlfile
> sql clone 'alter database mount clone database';
> # archive current online log for tspitr to a resent until time
> sql 'alter system archive log current';
> # resync catalog after controlfile restore
> resync catalog;
> }
> RMAN-0302