ERROR OGG-01224 TCP/IP error 110 (Connection timed out); retries exceeded.
Cause
This is generally due due to basic issues like: * The remote manager process is not running or is running with incorrect port number * The RMTHOST parameter in the pump extract is not configured correctly.
In other cases, the issue could be due to firewalls that forbid the connection, blocking certain ports or processes. This is generally seen when there is a firewall between the source and target machine and
either the ports are not open or just the manager port is open .
|
Solution
The Extract, Replicat and Ggsci processes use ports normally starting at port 7840 and ascend sequentially. The ggsci command 'send manager getportinfo detail ' will retrieve the current list of ports that have been
allocated by Manager and their corresponding process IDs. If you have some port restrictions, then you could use the DYNAMICPORTLIST with some range so that the
collector process will allocate the ports from that range. In general to overcome this issue, we could do something like below
1. Change the target manager parameter file to use something like the following
port 7809 dynamicportlist 7810-7820 2. Stop and start the manager 3. Open ports 7809 through 7820 in the firewall
4. Re-start the source pump
The port range used in dynamicportlist(7810-7820) and the manager port 7809 is just an example.
You can define your own ports there and have them open .
|
从源端PING目标端,也能PING通,使用telnet测试7809端口,也能顺利连接上:
$ telnet X.X.X.X 7809
Trying X.X.X.X ...
Connected to X.X.X.X (X.X.X.X).
Escape character is '^]'.
Connection closed by foreign host.
但是PUMP进程就是无法连接到目标端!
在确保PUMP的各项配置正确后,使用tcpdump来抓取网络包:
在源端运行:tcpdump -v host <SOURCE> and <TARGET>
经过一段时间的跟踪,发现:
。。。
14:28:25.836419 IP (tos 0x0, ttl 64, id 24609, offset 0, flags [DF], proto: TCP (6), length: 60)
SOURCE.53922 > TARGET.7819: S, cksum 0x6026 (correct), 2731187048:2731187048(0) win 5840
<mss 1460,sackOK,timestamp 293365436 0,nop,wscale 7>
。。。
15:05:07.276469 IP (tos 0x0, ttl 61, id 48226, offset 0, flags [DF], proto: TCP (6), length: 52)
SOURCE.57845 > TARGET.7810: ., cksum 0xb486 (correct), ack 400 win 46
<nop,nop,timestamp 295566806 1709213240>
PUMP进程访问的并不是7809端口!每次启动进程访问的端口是有变化的,7810、7819。。。,查看官方文档[Oracle GoldenGate Windows and UNIX Administrator’s Guide],在P20-P21的Maintaining ports for remote connections through firewalls一节中说明了
在有防火墙的网络中,需要开通额外的端口,并使用DYNAMICPORTLIST参数,指定端口范围。问题已经找到,那就实践看看,重新申请开通了源端访问目标端的7809-7830端口,并修改目标端MANAGER进程的参数,加上:
。。。
DYNAMICPORTLIST 7809-7830
。。。
重新启动MANAGER和PUMP进程,一切OK了!
相关推荐
mount.nfs: Connection timed out
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ...npm ERR! npm ERR!... Connection timed out npm
在Android开发过程中,掌握如何获取和管理源代码是至关重要的,`repo`工具就是为此而生的。`repo`是一个Python脚本,用于简化从Git仓库中获取、更新和管理工作流,它是由Google为Android项目专门设计的。...
### TCP/IP 常用命令详解 #### 一、引言 在现代互联网技术中,TCP/IP协议族作为网络通信的基础标准,对于网络管理和故障排查至关重要。本文将深入探讨几个常用的TCP/IP命令,包括`ping`、`winipcfg/ipconfig`以及`...
在使用SQL Server数据库时,有时会遇到通过端口1433连接到本地主机127.0.0.1的TCP/IP连接失败的问题,错误提示为“connect timed out”。这个错误通常意味着客户端无法在指定时间内与服务器建立连接,可能是由于网络...
archiver:pom:1.0 from/to central (http://repo.maven.apache.org/maven2): connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/ plexus-archiver/1.0/plexus-archiver-1.0.pom ...
openwrt 3.10.49 的内核代码linux-3.10.49.tar.xz,编译时经常不能下载,上传保留备份,同时分享给有需要的同学。 解决的如下问题: ...Connecting to downloads.openwrt.org ... failed: Connection timed out.
Timed out whilst downloading the prebuilt binary Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g. export HTTP_PROXY=http://example.com:1234...
Android TensorFlow Timeout 所需资源
springboot-0.0.1-SNAPSHOT.jar
#### 添加定时元数据(Adding Timed Metadata) HLS支持在媒体流中插入定时元数据,例如时间戳、章节标记等,这些元数据可以帮助客户端更好地组织和呈现内容。 #### 添加隐藏字幕(Adding Closed Captions) 对于需要...
主要介绍了 linux上TCP connection timeout问题解决办法的相关资料,需要的朋友可以参考下
绝大部分异常信息为:System.Net.WebException: The operation has timed out,即网络操作超时的异常
Connection timed out(解决方案).md
Xposed框架是一个在Android系统上运行的模块化框架,它允许用户通过安装各种插件来修改系统的功能或应用的行为,而无需对系统进行root。在Android开发和个性化领域,Xposed框架深受高级用户和开发者喜爱。...
系统环境:CentOS Linux release 7.6.1810 (Core) 起因:npm构建时报错 npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t ...npm ERR! npm ERR!... Connection timed out npm
今天小编就为大家分享一篇关于Java中Connection timed out和Connection refused的区别讲解,小编觉得内容挺不错的,现在分享给大家,具有很好的参考价值,需要的朋友一起跟随小编来看看吧
- I/O exception (java.net.ConnectException) caught when processing request: Connection timed out: connect - Retrying request - I/O exception (java.net.ConnectException) caught when processing request:...
sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 这种错误是由于环境中缺少 libpcre.so.1 文件所致。解决方法是创建一个软链接: ...
hive-jdbc-1.2.1-standalone.jar hive-jdbc驱动jar包,欢迎下载