GoldenGate源端意外宕機,導(dǎo)致OGG-01031報錯 |
發(fā)布時間: 2012/9/5 17:19:32 |
服務(wù)器宕機,沒有停止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)). 原因是由于目標(biāo)端的OGG代碼正在更新,同時dpump進程沒有停止導(dǎo)致dpump進程始終尋找老的manager端口和源端的trail文件。 解決方法重新啟動exp、ddump、ext、mananger進程,若還是報錯就需要更改參數(shù)。 dpump添加 ETROLLOVER屬性,產(chǎn)生一個新的文件點 alter extract ext1 etrollover start extract dpump info extract dpump 標(biāo)記源端trail文件sequence number開啟生成新的rt文件 send replicat rep1,logend alter replicat rep1,extseqno 4, extrba 0 start replicat rep1 進程啟動恢復(fù)正常。
本文出自:億恩科技【xuefeilisp.com】 服務(wù)器租用/服務(wù)器托管中國五強!虛擬主機域名注冊頂級提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |