Home » RDBMS Server » Backup & Recovery » error with RMAN utility
error with RMAN utility [message #74328] Tue, 16 November 2004 01:28 Go to next message
karthik kumar
Messages: 5
Registered: November 2004
Junior Member
Hi,

I get the following error with the RMAN utility. Can anyone help.

SQL*Plus: Release 8.1.7.0.0 - Production on Tue Nov 16 16:34:25 2004

(c) Copyright 2000 Oracle Corporation.  All rights reserved.
/export/home/oracle->rman

Recovery Manager: Release 8.1.7.0.0 - Production

RMAN> connect target system/silterra

RMAN-06005: connected to target database: SILTERRA (DBID=3575114284)

RMAN> allocate channel t1 type disk;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "for"
RMAN-01008: the bad identifier was: t1
RMAN-01007: at line 1 column 18 file: standard input

RMAN>

 
Re: error with RMAN utility [message #74331 is a reply to message #74328] Tue, 16 November 2004 08:23 Go to previous messageGo to next message
Frank Naude
Messages: 4420
Registered: April 1998
Senior Member
Try the following:

run {    
  allocate channel t1 type disk;   
  ...   
}


Best regards.

Frank
Re: error with RMAN utility [message #74334 is a reply to message #74331] Tue, 16 November 2004 20:41 Go to previous messageGo to next message
karthik kumar
Messages: 5
Registered: November 2004
Junior Member
Hi Frank,
Thanks for your suggestion. I had tried it out and got the following error. Could ther be any issues with the settings.

/export/home/oracle->rman

Recovery Manager: Release 8.1.7.0.0 - Production

RMAN> connect target system/silterra

RMAN-06005: connected to target database: SILTERRA (DBID=3575114284)

RMAN> run {
2> allocate channel t1 type disk;
3> }

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-06172: not connected to recovery catalog database

RMAN>
Re: error with RMAN utility [message #74344 is a reply to message #74334] Mon, 22 November 2004 05:22 Go to previous messageGo to next message
croK
Messages: 170
Registered: April 2002
Senior Member
look at the final line:
RMAN-06172: not connected to recovery catalog database

you are only connected to your target database, but you also need to connect to catalog DB.

Best luck.
Re: error with RMAN utility [message #110706 is a reply to message #74334] Wed, 09 March 2005 14:50 Go to previous messageGo to next message
job_id
Messages: 3
Registered: March 2005
Junior Member
I presume that you are not using a recovery catalog;in that case
you need to specify that at connection time(atleast in 8.1.7) as follows:

RMAN> connect target system/silterra nocatalog

then allocate a channel within run block

RMAN> run{
allocate channel t1 type disk;
}



this should fix your problem.
Re: error with RMAN utility [message #110708 is a reply to message #110706] Wed, 09 March 2005 14:59 Go to previous messageGo to next message
job_id
Messages: 3
Registered: March 2005
Junior Member
I'm sorry the earlier solution that I gave,doesn't seem to work .Do this instead:
at the shell prompt type

rman target system/silterra nocatalog;

Re: error with RMAN utility [message #565796 is a reply to message #74344] Thu, 06 September 2012 12:52 Go to previous message
bandy16
Messages: 3
Registered: September 2012
Location: Queretaro
Junior Member
croK wrote on Mon, 22 November 2004 05:22
look at the final line:
RMAN-06172: not connected to recovery catalog database

you are only connected to your target database, but you also need to connect to catalog DB.

Best luck.

*********************************************************************

Gracias!!! muy Ăștil.

Previous Topic: RMAN DUPLICATE error
Next Topic: RMAN tablespace backup and restore
Goto Forum:
  


Current Time: Wed Oct 22 01:36:31 CDT 2014

Total time taken to generate the page: 0.23223 seconds