ogg OGG-01834 IPV6問題

shilei1發表於2013-10-01
A    liunx 6.3
B端solaris 10

開始的時候是單向的,solaris 10向 liunx 6.3同步複製,沒有問題,但是配置成雙向複製就要有問題了, liunx 6.3無法向solaris 10 同步,問題如下:

GGSCI (jildmcedm02) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING
EXTRACT     RUNNING     EORA_1      00:00:00      00:00:03
EXTRACT     ABENDED     PORA_1      00:00:00      51:36:36
REPLICAT    RUNNING     RORA_1      00:00:00      00:00:01

>riew report proa
2013-10-01 14:11:58  WARNING OGG-01834  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Failed setting IPv6 socket to dual stack mode (error: 99, Option not supported by protocol).
2013-10-01 14:11:58  WARNING OGG-01834  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Failed setting IPv6 socket to dual stack mode (error: 99, Option not supported by protocol).
2013-10-01 14:11:58  WARNING OGG-01834  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Failed setting IPv6 socket to dual stack mode (error: 99, Option not supported by protocol).
2013-10-01 14:11:58  WARNING OGG-01834  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Failed sett
ing IPv6 socket to dual stack mode (error: 99, Option not supported by protocol).
2013-10-01 14:11:58  INFO    OGG-03035  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Operating system character set identified as US-ASCII. Locale: en_US_POSIX, LC_ALL:.
2013-10-01 14:11:58  INFO    OGG-01815  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Virtual Mem
ory Facilities for: COM
    anon alloc: mmap(MAP_ANON)  anon free: munmap
    file alloc: mmap(MAP_SHARED)  file free: munmap
    target directories:
    /DMCDBS01/oracle/ogg/dirtmp.
2013-10-01 14:12:03  WARNING OGG-01842  Oracle GoldenGate Capture for Oracle, pora_1.prm:  CACHESIZE P
ER DYNAMIC DETERMINATION (28.82G) LESS THAN RECOMMENDED: 64G (64bit system)
vm found: 36.82G
Check swap space. Recommended swap/extract: 128G (64bit system).
2013-10-01 14:12:03  INFO    OGG-00993  Oracle GoldenGate Capture for Oracle, pora_1.prm:  EXTRACT POR
A_1 started.
2013-10-01 14:12:09  INFO    OGG-01226  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Socket buff
er size set to 27985 (flush size 27985).
2013-10-01 14:12:19  ERROR   OGG-01031  Oracle GoldenGate Capture for Oracle, pora_1.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 "./dirdat/pa00000
1" (error 11, Resource temporarily unavailable)).
2013-10-01 14:12:19  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle, pora_1.prm:  PROCESS ABE
NDING.


問題處理:透過錯誤判斷
WARNING OGG-01834  Oracle GoldenGate Capture for Oracle, pora_1.prm:  Failed setting IPv6 socket to dual stack mode (error: 99, Option not supported by protocol).
檢查liunx 6.3啟用了IPv6,solairs無法實現與linux的通訊。
1.使用ifconfig檢視自己的IP地址是否含有IPv6地址。
inet6 addr: fe80::213:d4ff:fe05:b2ed/64 Scope:Link
2.檢視服務監聽的IP中是否有IPv6格式的地址。(netstat -tuln)
tcp 0 0 :::8080 :::* LISTEN 
tcp 0 0 :::22 :::* LISTEN 
tcp 0 0 :::443 :::* LISTEN 
3.使用lsmod檢視ipv6的模組是否被載入。
ipv6 234881 14 

*****上面的黑體字部分為需要注意的地方*****
當確定IPv6已經開啟後就可以按照下面的方法將其關閉
1.使用vi編輯器,開啟/etc/modprobe.conf 
2.在文件中加入如下的兩條:
alias net-pf-10 off
alias ipv6 off 

儲存退出,並且重新啟動系統。
重啟之後可以使用上面的三種方法去驗證IPv6支援是否已經被關閉。

IPv6是預設支援的,所以當你要重新開起IPv6支援時,將/etc/modprobe.conf中的兩條指令註釋掉就可以了。

關閉了IPV6在solaris端啟動pump程式:
start EXTRACT PORA_1

進行同步測試正常。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/196700/viewspace-773677/,如需轉載,請註明出處,否則將追究法律責任。

相關文章