GoldenGate源端意外宕機,導致OGG-01031報錯 |
發(fā)布時間: 2012/9/5 17:19:32 |
服務器宕機,沒有停止dpump進程,啟動后處于abend狀態(tài),檢查ggserr.log報以下錯誤: 2011-04-01 11:13:19 ERROR OGG-01031 Oracle GoldenGate Capture for Oracle, dpump.prm: 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 "/vistor/media/GG/dirdat/rt000003" (error 11, Resource temporarily unavailable)). 原因是由于目標端的OGG代碼正在更新,同時dpump進程沒有停止導致dpump進程始終尋找老的manager端口和源端的trail文件。 解決方法重新啟動exp、ddump、ext、mananger進程,若還是報錯就需要更改參數。 dpump添加 ETROLLOVER屬性,產生一個新的文件點 alter extract ext1 etrollover start extract dpump info extract dpump 標記源端trail文件sequence number開啟生成新的rt文件 send replicat rep1,logend alter replicat rep1,extseqno 4, extrba 0 start replicat rep1 進程啟動恢復正常。
本文出自:億恩科技【www.allwellnessguide.com】 |