OGG-01224 error 111:Connection refused - retries exceeded.
目标端进程正常启动,端口开启监听,且没有防火墙限制,但源端p进程一致报出Connection refused错误。
2019-01-04 02:25:08 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:25:18 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:25:28 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:25:38 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:25:48 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:25:58 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:26:08 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:26:18 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:26:28 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:26:38 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
2019-01-04 02:26:48 WARNING OGG-01221 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused.
Source Context :
SourceModule : [ggnet.tcprtn]
SourceID : [/scratch/aime/adestore/views/aime_adc00jza/oggcore/OpenSys/src/gglib/ggnet/tcprtn.c]
SourceMethod : [opt_negotiate]
SourceLine : [4648]
ThreadBacktrace : [12] elements
: [/lib64/libc.so.6(__libc_start_main)]
: [/data/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
: [/data/ogg/extract(_ZN3ggs5gglib14MultiThreading6Thread9RunThreadEPNS2_10ThreadArgsE+0x14c) [0x83e1bc]]
: [/lib64/libc.so.6(__libc_start_main)]
: [/data/ogg/extract()]
: [/data/ogg/extract()]
: [/data/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**)]
: [/data/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**)+0xb5) [0x83e875]]
: [/data/ogg/extract(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
: [/data/ogg/extract(main)]
: [/lib64/libc.so.6(__libc_start_main)]
: [/data/ogg/extract()]
2019-01-04 02:26:58 ERROR OGG-01224 Connect failed to 10.101.x.xxx:9902, error 111:Connection refused - retries exceeded.
2019-01-04 02:26:58 ERROR OGG-01668 PROCESS ABENDING.
[oracle@yt-rac2 dirrpt]$
目标端ggserr.log文件权限问题,因为用zabbix用户部署了ogg的监控,运行是会将该日志权限改变,导致目标端实际上端口存在异常,mgr进程貌似无法完全打开端口及动态端口。
以此记录,不深入研究了。
2019-01-03 23:57:52 INFO OGG-00963 Command received from EXTRACT on host [10.101.x.x]:57344 (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ).
2019-01-03 23:57:52 INFO OGG-00963 Command received from EXTRACT on host [10.101.x.x]:57347 (VERSION).
2019-01-03 23:57:52 INFO OGG-00960 Access granted (rule #1).
2019-01-03 23:57:52 INFO OGG-00963 Command received from EXTRACT on host [10.101.x.x]:57348 (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ).
2019-01-03 23:57:52 INFO OGG-01888 TCP network is configured as
OS DEFAULT SPECIFIED ACTUAL VALUE
IP_DSCP 0 N/A 0
IP_TOS 0 N/A 0
TCP_NODELAY 0 N/A 0
TCP_QUICKACK 1 N/A 1
TCP_CORK 0 N/A 0
SO_SNDBUF 8192 N/A 8192
SO_RCVBUF 43690 N/A 43690.
2019-01-03 23:57:52 WARNING OGG-01525 Failed to open trace output file, '/data/ogg/ggserr.log', error 13 (Permission denied).
2019-01-03 23:57:52 INFO OGG-00963 Command received from SERVER on host [::1]:28552 (REPORT 51266 9902).
2019-01-03 23:57:52 INFO OGG-00960 Access granted (rule #1).
2019-01-03 23:57:52 INFO OGG-00974 Manager started collector process (Port 9902).