Home > Database > Mysql Tutorial > GoldenGate源端意外宕机,导致OGG-01031报错

GoldenGate源端意外宕机,导致OGG-01031报错

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:16:39
Original
1595 people have browsed it

原因是由于目标端的OGG代码正在更新,同时dpump进程没有停止导致dpump进程始终寻找老的manager端口和源端的trail文件。解决方法重

服务器宕机,没有停止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

进程启动恢复正常。

linux

Related labels:
ogg
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template