RMAN-06820 ORA-17629 During Backup at Standby Site
在standby数据库进行数据库备份,如下:
oracle@node1:~> rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Thu Jun 4 06:45:04 2015
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORACLE (DBID=1753883584, not open)
RMAN> backup database format ‘/home/oracle/fulldb_%U.bak‘ plus archivelog format ‘/home/oracle/arch_%U.bak‘ delete all input;
Starting backup at 04-JUN-15
using target database control file instead of recovery catalog
RMAN-06820: WARNING: failed to archive current log at primary database
ORACLE error from target database:
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
在standby数据库执行数据库备份报如上红色字体错误,官方给予处理方法如下(经测试,主备库应设置相同的密码,否则同样存在问题)
RMAN-06820 ORA-17629 During Backup at Standby Site (文档 ID 1616074.1) |
In this Document
APPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterInformation in this document applies to any platform. SYMPTOMSRMAN archivelog backup at the standby site is throws the following errors at the start of the job:
But the rest of the backup actually complete successfully:
skipping archived log of thread 1 with sequence 607; already backed up
CHANGESDatabase was upgraded to 11.2.0.4 CAUSEPer ‘unpublished‘ Bug 8740124, as of 11.2.0.4, we now include the current standby redo log as part of an RMAN archivelog backup at the standby site. This is achieved by forcing a log switch at the primary site.
SOLUTIONWorkaround Do not use operating system authentication to login with RMAN. Use a username and password. $ rman target /
REFERENCESBUG:17580082 - ACTIVE STANDBY - RMAN-06820: WARNING: FAILED TO ARCHIVE CURRENT LOG AT PRIMARYNOTE:8740124.8 - Bug 8740124 - Current standby redo log group should be included in the database backup by RMAN NOTE:1301769.1 - ORA-17629 : RMAN Resync Catalog from db_unique_name all fails |
本文出自 “技术成就梦想!” 博客,请务必保留此出处http://dreamsanqin.blog.51cto.com/845412/1660296
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。