GoldenGate源端意外宕機,導致OGG-01031報錯

來源:互聯網
上載者:User

伺服器宕機,沒有停止dpump進程,啟動後處於abend狀態,檢查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

進程啟動恢複正常。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.