racle@OSSserver2:~/oradb/home/dbs]oracle@OSSserver2:~/oradb/home/dbs[/url]> rman target sys/huawei@ossdbstb auxiliary/
Recovery Manager: Release 11.1.0.7.0 - Production on Sat Sep 17 19:56:21 2011
Copyright (c) 1982, 2007, Oracle.All rights reserved.
connected to target database: OSSDB (not mounted)
connected to auxiliary database: OSSDB (not mounted)
RMAN> duplicate target database for standbynofilenamecheck;
Starting Duplicate Db at 17-SEP-11
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=549 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/17/2011 19:56:30
RMAN-05502: the target database must be mounted when issuing a DUPLICATE command
1,已将全备及控制文件挎到备机上(与主机OSSserver1相同位置)
2,RMAN-05502: 这个报错后,我将备库mount
SQL>ALTER DATABASE MOUNT ;
Database altered.
再次尝试:又报错
RMAN>duplicate target database for standbynofilenamecheck;
Starting Duplicate Db at 17-SEP-11
released channel: ORA_AUX_DISK_1
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=1101 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/17/2011 19:54:32
RMAN-05500: the auxiliary database must be not mounted when issuing a DUPLICATE command