OGG-01223 TCP/IP error 111

本文介绍了一种解决Oracle GoldenGate在运行过程中出现TCP/IP错误111(连接被拒绝)的方法,主要原因是目标端管理器可用端口不足。解决方案包括:停止所有进程、修改管理器参数文件以增加动态端口范围、重启管理器和各进程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天检查ogg发现有投递进程abend,手动start检查ggserr.log

$ tail -f /ogg/ogggw/ggserr.log 
2017-04-14 15:40:05  INFO    OGG-01026  Oracle GoldenGate Capture for Oracle, extaa.prm:  Rolling over remote file ./dirdat/aa000003.
2017-04-14 15:40:05  INFO    OGG-01053  Oracle GoldenGate Capture for Oracle, extaa.prm:  Recovery completed for target file ./dirdat/aa000004, at RBA 1085.
2017-04-14 15:40:05  INFO    OGG-01057  Oracle GoldenGate Capture for Oracle, extaa.prm:  Recovery completed for all targets.
2017-04-14 15:40:10  INFO    OGG-01026  Oracle GoldenGate Capture for Oracle, extbb.prm:  Rolling over remote file ./dirdat/bb000011.
2017-04-14 15:40:10  INFO    OGG-01053  Oracle GoldenGate Capture for Oracle, extbb.prm:  Recovery completed for target file ./dirdat/bb000012, at RBA 1085.
2017-04-14 15:40:10  INFO    OGG-01057  Oracle GoldenGate Capture for Oracle, extbb.prm:  Recovery completed for all targets.
2017-04-14 15:40:10  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, dpecc.prm:  TCP/IP error 111 (Connection refused), endpoint: 100.14.132.64:7819.
2017-04-14 15:40:18  INFO    OGG-01026  Oracle GoldenGate Capture for Oracle, extdd.prm:  Rolling over remote file ./dirdat/repsd/dd000062.
2017-04-14 15:40:18  INFO    OGG-01053  Oracle GoldenGate Capture for Oracle, extdd.prm:  Recovery completed for target file ./dirdat/repsd/dd000063, at RBA 1091.
2017-04-14 15:40:18  INFO    OGG-01057  Oracle GoldenGate Capture for Oracle, extdd.prm:  Recovery completed for all targets.
2017-04-14 15:40:50  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, dpecc.prm:  TCP/IP error 111 (Connection refused), endpoint: 100.14.132.64:7819.
2017-04-14 15:41:01  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI command (oracle): stop dpecc.
2017-04-14 15:41:30  WARNING OGG-01223  Oracle GoldenGate Capture for Oracle, dpecc.prm:  TCP/IP error 111 (Connection refused), endpoint: 100.14.132.64:7819.
2017-04-14 15:41:31  INFO    OGG-01021  Oracle GoldenGate Capture for Oracle, dpecc.prm:  Command received from GGSCI: STOP.
2017-04-14 15:41:54  INFO    OGG-00987  Oracle GoldenGate Command Interpreter for Oracle:  GGSCI command (oracle): send dpecc forcestop.


搜索mos上发现有文章符合该输出


CAUSE

No ports available for the target manager to start a dynamic server collector.

When issued the following command in the target ggsci

ggsci> send manager childstatus debug

We might see that all the ports mentioned in the target manager dynamicportlist is already been used.

SOLUTION

Ensure that you have more ports open and then use that bigger range in the target manager parameter file under dynamicportlist.

Now stop/ start the target manager and then restart the source pump extract.


其实,文章中提到是目标端的mgr参数文件的动态参数列表中的端口号已经都被使用了。所以很简单

1.目标端停止所有进程

2.修改mgr参数,扩充动态参数列表中的端口号的范围

3.开启mgr进程。

4.目标端开启复制进程,开启其他进程,源端开启投递进程。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值