有个8i的库,solaris9的,之前没维护过8i,为什么备份时的命令都用不了,报错是什么原因,有了解的告诉下。
直接进入 rman target /
RMAN> list backup;
RMAN-03022: compiling command: list
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: list
RMAN-06172: not connected to recovery catalog database
是不是说被注册到catalog库了?
想使用nocatalog方式,备份下库,但执行命令都报错,这是什么原因呢
rman target / nocatalog
Recovery Manager: Release 8.1.6.0.0 - Production
RMAN-06005: connected to target database: NEEAORA (DBID=4188339699)
RMAN-06009: using target database controlfile instead of recovery catalog
RMAN> show all;
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: "allocate, alter, beginline, catalog, change, connect, create, crosscheck, configure, debug, delete, drop, exit, endinline, host, {, library, list, mount, open, print, register, release, replace, report, renormalize, reset, resync, rman, rpct"
RMAN-01008: the bad identifier was: show
RMAN-01007: at line 1 column 1 file: standard input
RMAN>
RMAN> allocate channel c1 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: c1
RMAN-01007: at line 2 column 18 file: standard input
RMAN>
RMAN> backup datafile6 format='/ora08/file6.bak';
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "backup": expecting one of: "allocate, alter, beginline, catalog, change, connect, create, crosscheck, configure, debug, delete, drop, exit, endinline, host, {, library, list, mount, open, print, register, release, replace, report, renormalize, reset, resync, rman, rpct"
RMAN-01007: at line 2 column 1 file: standard input