码迷,mamicode.com
首页 > 数据库 > 详细

Oracle GoldenGate

时间:2014-07-15 11:45:48      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:oracle   数据库   

 

环境

源端

系统 HPUNIX 11.31

集群架构 HP高可用集群

数据库 Oracle 10.2.0.3

目标端

系统 RHEL 5.8 x64

集群架构 ORACLE RAC

数据库 11.2.0.1.0

描述

HP集群异常自动切换,导致GG进程异常。

源端报错

2014-07-14 16:38:52  ERROR   OGG01031  There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable)).

目标端报错

2014-07-14 16:32:57  WARNING OGG-01223  Oracle GoldenGate Collector for Oracle:  Unable to lock file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).  Lock currently held by process id (PID) 21438.
2014-07-14 16:32:57  WARNING OGG-01223  Oracle GoldenGate Collector for Oracle:  Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).

解决

kill目标端锁定文进的系统进程。

处理过程

源端

启动gg进程,投递进程异常止

查看投递进程日志 view report 投递进程

2014-07-14 16:38:52  ERROR   OGG01031  There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Reply received is Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable)).

查看ggserr.log

目标端

查看ggserr.log

2014-07-14 16:32:57  WARNING OGG-01223  Oracle GoldenGate Collector for Oracle:  Unable to lock file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).  Lock currently held by process id (PID) 21438.
2014-07-14 16:32:57  WARNING OGG-01223  Oracle GoldenGate Collector for Oracle:  Unable to open file "/u01/ogg/dirdat/rt001995" (error 11, Resource temporarily unavailable).

ps –ef | grep 21438

kill –9 21438

问题解决。

Oracle GoldenGate,布布扣,bubuko.com

Oracle GoldenGate

标签:oracle   数据库   

原文地址:http://jinda.blog.51cto.com/2701883/1438199

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!