QUOTE:
最初由 caoliwei 发布
-bash-2.05b$ rman target sys/test
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: TZCENTER (DBID=2319033668)
RMAN>
[oracle@ericdb oracle]$ rman target sys/eric@eric.aopen.com
rman: can't open target
[oracle@ericdb oracle]$
这个问题应该大家都没碰到过了,我在我的EBS 测试环境中
也不会碰到,如下:
[root@aoztest01 root]# su - oracle
[oracle@aoztest01 visappl]$ rman catalog rman/rman
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-00569: ================error message stack follows================
RMAN-00552: syntax error in command line arguments
RMAN-01005: syntax error: found "catalog": expecting one of: "append, cmdfile, clone, debug, msglog, mask, nocatalog, rcvcat, slaxdebug, target, trace"
RMAN-01007: at line 2 column 1 file: command line argumen
这才是正常的。。(我没有创建恢复目录数据库)