源端
系统 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
问题解决。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。