数据库中出现RMAN-06820 ORA-17629错误怎么办
admin
2023-05-09 11:22:00
0

在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错误怎么办RMAN-06820 ORA-17629 During Backup at Standby Site (文档 ID 1616074.1)

数据库中出现RMAN-06820 ORA-17629错误怎么办

In this Document

SymptomsChangesCauseSolutionReferences


APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.2.0.4 and later
Information in this document applies to any platform.

SYMPTOMS

RMAN archivelog backup at the standby site is throws the following errors at the start of the job:


Starting backup at 15-JAN-2014 13:44:46
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

 

But the rest of the backup actually complete successfully:

 

skipping archived log of thread 1 with sequence 607; already backed up
skipping archived log of thread 1 with sequence 614; already backed up
channel t1: starting archived log backup set
channel t1: specifying archived log(s) in backup set
input archived log thread=1 sequence=678 RECID=290 STAMP=836919086
input archived log thread=1 sequence=679 RECID=291 STAMP=836919369
input archived log thread=1 sequence=680 RECID=292 STAMP=836919706
input archived log thread=1 sequence=681 RECID=293 STAMP=836919873
channel t1: starting piece 1 at 15-JAN-2014 13:44:52
channel t1: finished piece 1 at 15-JAN-2014 13:46:17
piece handle=LOG_THMDB_20140115_171228_1_1 tag=LOG_TWMDB comment=API Version 2.0,MMS Version 5.4.1.0
channel t1: backup set complete, elapsed time: 00:01:25
Finished backup at 15-JAN-2014 13:46:17

 

 

CHANGES

 Database was upgraded to 11.2.0.4

CAUSE

Per '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.

However, the connection to the primary failed when attempting to do so.


This is due to this bug:
      Bug 17580082 - ACTIVE STANDBY - RMAN-06820: WARNING: FAILED TO ARCHIVE CURRENT LOG AT PRIMARY
 

SOLUTION

Workaround

Do not use operating system authentication to login with RMAN. Use a username and password.

That is, do not use just the "/" (operating system authentication) connect to the standby database:

$ rman target /


Instead put in the username and password for the SYSDBA user:


$ rman sys/password

 


 

REFERENCES

BUG:17580082 - ACTIVE STANDBY - RMAN-06820: WARNING: FAILED TO ARCHIVE CURRENT LOG AT PRIMARY

NOTE: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

相关内容

热门资讯

参加完中美会谈,马斯克、黄仁勋... 5月14日,在参加完中美元首会谈后,特斯拉首席执行官马斯克、苹果首席执行官库克、英伟达首席执行官黄仁...
河南防汛新观察 5月12日,抢险人员在白龟山水库大坝上巡堤查险。 王毛生 摄5月10日,2026年度防汛抢险联合演练...
胡锡进:武大做出了彻底开放的示... 武汉大学宣布正式取消社会公众进校预约制度,校外人员只需凭本人身份证即可进入校园。这是很有意义的一件事...
全国医保基金飞行检查正式启动,... 【大河财立方消息】5月14日,国家医保基金飞行检查湖南现场启动会暨警示教育会在长沙召开,标志着202...
坚定不移沿着习近平总书记指引的... 在中航光电的展馆里,一辆新能源汽车的剖面模型格外醒目。 河南日报全媒体记者 冉衡 摄【编者按】202...
河南一地入选!国家级试点城市名... 【大河财立方消息】5月14日消息,工业和信息化部、财政部公示第三批制造业新型技术改造城市试点拟入选名...
周日有大到暴雨!郑州将有连续性... 受切变线和低空急流共同影响,16日至18日我市将有一次明显降水过程。15日夜里有阵雨,16日下午到夜...
降的是费率 增的是底气 河南失... 中国铁路郑州局集团有限公司开展业务技能实操训练。受访者供图一笔失业保险稳岗返还资金,到了企业手里,可...
宇树科技发布全球首款载人变形机... 宇树科技CEO王兴兴与载人变形机甲GD01击拳。宇树科技供图5月12日,宇树科技发布全球首款量产版载...
洗衣机地漏盖不闭合怎么修 如果您发现您的洗衣机地漏盖不闭合,这可能是由于以下原因之一: 1. 漏水管生锈或破裂:这可能是漏水...