Home » RDBMS Server » Backup & Recovery » RMAN-01005:,.RMAN-01007
RMAN-01005:,.RMAN-01007 [message #69936] Wed, 20 March 2002 22:13 Go to next message
krishna
Messages: 141
Registered: October 1998
Senior Member
I successfully created the recovery catalog in a database called kris. The other database is sonata.
This is the transcript
C:>SET ORACLE_SID=SONATA

C:>rman TARGET/RCVCAT rman/rman@sonata

Argument Value Description
-----------------------------------------------------------------------------
target quoted-string connect-string for target database
rcvcat quoted-string connect-string for recovery catalog
debug none if specified, activate debugging mode
cmdfile quoted-string name of input command file
msglog quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, msglog opened in append mode
nocatalog none if specified, then no recovery catalog
-----------------------------------------------------------------------------
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01005: syntax error: found "rman": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, slaxdebug, send
, target, timeout, trace"
RMAN-01007: at line 2 column 1 file: command line arguments

What's happening? Can anybody out there help me?
Re: RMAN-01005:,.RMAN-01007 [message #69944 is a reply to message #69936] Thu, 21 March 2002 05:29 Go to previous message
Grant
Messages: 578
Registered: January 2002
Senior Member
You have two connections to make. You need to connect to SYS on the target and the catalog owner.

c:> rman rcvcat rman/PASSWORD@tns_alias target sys/PASSWORD@tns_alias

or

C:> rman
RMAN> connect rcvcat rman/PASSWORD@tns_alias
RMAN> connect target sys/PASSWORD@tns_alias

Read article "Maintaining RMAN Respository" in MetaLink. This will help you greatly.
Previous Topic: How to perform automatic execution of backup with RMAN
Next Topic: RESTORE TABLES FRom BACKUP TAPE
Goto Forum:
  


Current Time: Thu Apr 25 06:40:03 CDT 2024