December 19 2014

RMAN-05541: no archived logs found in target database

RMAN-05541: no archived logs found in target database

[oracle@gsoracle admin]$ rman target sys/oracle@web auxiliary sys/oracle@webp

Recovery Manager: Release 11.2.0.3.0 – Production on Fri Dec 19 16:24:04 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: WEB (DBID=3138677200)
connected to auxiliary database: WEB (not mounted)

RMAN> DUPLICATE TARGET DATABASE TO web nofilenamecheck from active database;

Starting Duplicate Db at 19-DEC-14
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=129 device type=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 12/19/2014 16:24:17
RMAN-05501: aborting duplication of target database
RMAN-05541: no archived logs found in target database

出现这种错误很可能是你刚刚将主数据库切换为归档模式然后紧接着就利用RMAN的duplicate创建standby数据库导致的。原

因就在于主数据库切换为归档模式之后还未发生过切换,手动在主数据库上执行alter system switch logfile;切换一次就

可以了。



Copyright 2019. All rights reserved.

Posted 2014年12月19日 by ucjmh in category "oracle

Leave a Reply

Your email address will not be published. Required fields are marked *