急!!!求助!!ogg问题! 源端和目标端 7809端口建立不上

qq1333 2014-12-29 10:36:30
源端和目标段进程都能启动正常
源端配置:
抽取进程
EXTRACT lcam_ext
setenv(NSL_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8)
setenv(ORACLE_HOME="/opt/oracle/product/10.2.0.4/db_1")
USERID ogg@mpac , password ogg21101
setenv(ORACLE_SID=mpac)
discardfile /home/oracle/ogg/dirrpt/lcam/lcam_ext.dsc, append, megabytes 1024
exttrail /home/oracle/ogg/dirdat/lcam/ja
传输进程
extract lcam_moc
passthru
rmthost 10.160.235.174, mgrport 8219, compress
rmttrail ./dirdat/mds/ja
table XX
目标端

复制进程
replicat rep_ln1
SETENV(NLS_LANG=SIMPLIFIED CHINESE_CHINA.AL32UTF8)
userid mpac,password mpac
setenv(oracle_sid=pmcpdp2)
sourcedefs ./dirdef/defgen3.def
reperror default,discard
REPORT AT 01:59
REPORTCOUNT EVERY 1 MINUTES, RATE
REPORTROLLOVER AT 02:00
REPERROR DEFAULT, ABEND
numfiles 5000
MAXTRANSOPS 50000
GROUPTRANSOPS 10000
CHECKPOINTSECS 40
--HANDLECOLLISIONS
assumetargetdefs
ALLOWNOOPUPDATES
DISCARDFILE ./dirrpt/rep_ln1.dsc, APPEND, MEGABYTES 1000
DISCARDROLLOVER AT 02:00
DYNAMICRESOLUTION
map xx ,target xx
问题如下:
源端传输进程有异常
2014-12-25 14:51:43 WARNING OGG-01223 Oracle GoldenGate Capture for Oracle, lcam_moc.prm: TCP/IP error 79 (Connection refused).
目标端 mgr异常
Dec 25 15:51:35 localhost Oracle GoldenGate Collector for Oracle[1888]: 2014-12-25 15:51:35 ERROR OGG-01224 Oracle GoldenGate Collector for Oracle: opening port to MGR from SERVER failed with 2:Could not establish host TCP/IP address.
Dec 25 15:51:35 localhost Oracle GoldenGate Collector for Oracle[1888]: 2014-12-25 15:51:35 ERROR OGG-01668 Oracle GoldenGate Collector for Oracle: PROCESS ABENDING.
抓去端口报文
17:48:47.713862 IP 10.160.235.175.47422 > 10.160.235.174.7809: S 3752226852:3752226852(0) win 5840 <mss 1460,sackOK,timestamp 955515468 0,nop,wscale 7>
0x0000: 4510 003c 7268 4000 4006 dba5 0aa0 ebaf E..<rh@.@.......
0x0010: 0aa0 ebae b93e 1e81 dfa6 7024 0000 0000 .....>....p$....
0x0020: a002 16d0 e1c6 0000 0204 05b4 0402 080a ................
0x0030: 38f4 024c 0000 0000 0103 0307 8..L........
17:48:47.714081 IP 10.160.235.174.7809 > 10.160.235.175.47422: S 2228209990:2228209990(0) ack 3752226853 win 5792 <mss 1460,sackOK,timestamp 1388512493 955515468,nop,wscale 7>
0x0000: 4500 003c 0000 4000 4006 4e1e 0aa0 ebae E..<..@.@.N.....
0x0010: 0aa0 ebaf 1e81 b93e 84cf c946 dfa6 7025 .......>...F..p%
0x0020: a012 16a0 3c1f 0000 0204 05b4 0402 080a ....<...........
0x0030: 52c3 04ed 38f4 024c 0103 0307 R...8..L....
17:48:47.714110 IP 10.160.235.175.47422 > 10.160.235.174.7809: . ack 1 win 46 <nop,nop,timestamp 955515469 1388512493>
0x0000: 4510 0034 7269 4000 4006 dbac 0aa0 ebaf E..4ri@.@.......
0x0010: 0aa0 ebae b93e 1e81 dfa6 7025 84cf c947 .....>....p%...G
0x0020: 8010 002e 815c 0000 0101 080a 38f4 024d .....\......8..M
0x0030: 52c3 04ed R...
17:48:49.714781 IP 10.160.235.174.7809 > 10.160.235.175.47422: F 1:1(0) ack 1 win 46 <nop,nop,timestamp 1388514494 955515469>
0x0000: 4500 0034 cda9 4000 4006 807c 0aa0 ebae E..4..@.@..|....
0x0010: 0aa0 ebaf 1e81 b93e 84cf c947 dfa6 7025 .......>...G..p%
0x0020: 8011 002e 798a 0000 0101 080a 52c3 0cbe ....y.......R...
0x0030: 38f4 024d 8..M
17:48:49.714973 IP 10.160.235.175.47422 > 10.160.235.174.7809: F 1:1(0) ack 2 win 46 <nop,nop,timestamp 955517470 1388514494>
0x0000: 4510 0034 726a 4000 4006 dbab 0aa0 ebaf E..4rj@.@.......
0x0010: 0aa0 ebae b93e 1e81 dfa6 7025 84cf c948 .....>....p%...H
0x0020: 8011 002e 71b8 0000 0101 080a 38f4 0a1e ....q.......8...
0x0030: 52c3 0cbe R...
17:48:49.715190 IP 10.160.235.174.7809 > 10.160.235.175.47422: . ack 2 win 46 <nop,nop,timestamp 1388514494 955517470>
0x0000: 4500 0034 cdaa 4000 4006 807b 0aa0 ebae E..4..@.@..{....
0x0010: 0aa0 ebaf 1e81 b93e 84cf c948 dfa6 7026 .......>...H..p&
0x0020: 8010 002e 71b8 0000 0101 080a 52c3 0cbe ....q.......R...
0x0030: 38f4 0a1e 8...


netstat -plan|grep 7809 出现挺多连接 close_wait状态。。。

PS:目标端和源端的 iptables ,selinux 都已经关闭
...全文
843 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
netstat -ano|grep 8219查看本地是否启动了该端口监听?
  • 打赏
  • 举报
回复
你的端口不是写着8219吗? telnet ip 8219是否通? 不通的话,要么mgr没起,要么防火墙堵着了。 就这两个原因。
小灰狼W 2014-12-30
  • 打赏
  • 举报
回复
目标端mgr进程没起来 检查下目标端的/etc/hosts里的ip地址是否配置正常,以及端口是否被占用

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧